Changeset 61278 in webkit
- Timestamp:
- Jun 16, 2010 1:28:58 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKit/chromium/ChangeLog
r61217 r61278 1 2010-06-16 Drew Wilson <atwilson@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 Added plumbing to Chromium WebKit API to allow setting/getting the name 6 of top level frames. 7 8 https://bugs.webkit.org/show_bug.cgi?id=40430 9 * public/WebFrame.h: 10 Added setName() API. 11 * public/WebViewClient.h: 12 (WebKit::WebViewClient::createView): 13 Now takes a "name" parameter. 14 * src/ChromeClientImpl.cpp: 15 (WebKit::ChromeClientImpl::createWindow): 16 Passes a name parameter. 17 * src/WebFrameImpl.cpp: 18 (WebKit::WebFrameImpl::setName): 19 Allows setting the frame name by calling through to the WebCore API. 20 * src/WebFrameImpl.h: 21 1 22 2010-06-15 Darin Adler <darin@apple.com> 2 23 -
trunk/WebKit/chromium/public/WebFrame.h
r59029 r61278 104 104 virtual WebString name() const = 0; 105 105 virtual void clearName() = 0; 106 virtual void setName(const WebString&) = 0; 106 107 107 108 // The url of the document loaded in this frame. This is equivalent to -
trunk/WebKit/chromium/public/WebViewClient.h
r60985 r61278 74 74 // WebStorage specification. 75 75 virtual WebView* createView(WebFrame* creator, 76 const WebWindowFeatures& features) { return 0; } 76 const WebWindowFeatures& features, 77 const WebString& name) { return 0; } 77 78 78 79 // Create a new WebPopupMenu. In the second form, the client is -
trunk/WebKit/chromium/src/ChromeClientImpl.cpp
r61097 r61278 232 232 233 233 WebViewImpl* newView = static_cast<WebViewImpl*>( 234 m_webView->client()->createView(WebFrameImpl::fromFrame(frame), features ));234 m_webView->client()->createView(WebFrameImpl::fromFrame(frame), features, r.frameName())); 235 235 if (!newView) 236 236 return 0; -
trunk/WebKit/chromium/src/WebFrameImpl.cpp
r60463 r61278 478 478 } 479 479 480 void WebFrameImpl::setName(const WebString& name) 481 { 482 m_frame->tree()->setName(name); 483 } 484 480 485 WebURL WebFrameImpl::url() const 481 486 { -
trunk/WebKit/chromium/src/WebFrameImpl.h
r59524 r61278 66 66 virtual WebString name() const; 67 67 virtual void clearName(); 68 virtual void setName(const WebString&); 68 69 virtual WebURL url() const; 69 70 virtual WebURL favIconURL() const; -
trunk/WebKitTools/ChangeLog
r61276 r61278 1 2010-06-16 Drew Wilson <atwilson@chromium.org> 2 3 Reviewed by Kent Tamura. 4 5 [Chromium] Plumbing for top-level frame names 6 https://bugs.webkit.org/show_bug.cgi?id=40430 7 8 * DumpRenderTree/chromium/WebViewHost.cpp: 9 (WebViewHost::createView): 10 Migrate to new createView() API. 11 * DumpRenderTree/chromium/WebViewHost.h: 12 Remove obsolete createView() methods, add new createView() API that takes a frameName parameter. 13 1 14 2010-06-16 Diego Gonzalez <diegohcg@webkit.org> 2 15 -
trunk/WebKitTools/DumpRenderTree/chromium/WebViewHost.cpp
r60218 r61278 254 254 // WebViewClient ------------------------------------------------------------- 255 255 256 WebView* WebViewHost::createView(WebFrame* creator) 257 { 258 return createView(creator, WebWindowFeatures()); 259 } 260 261 WebView* WebViewHost::createView(WebFrame*, const WebWindowFeatures&) 256 WebView* WebViewHost::createView(WebFrame*, const WebWindowFeatures&, const WebString&) 262 257 { 263 258 if (!layoutTestController()->canOpenWindows()) -
trunk/WebKitTools/DumpRenderTree/chromium/WebViewHost.h
r60032 r61278 91 91 92 92 // WebKit::WebViewClient 93 virtual WebKit::WebView* createView(WebKit::WebFrame*); 94 virtual WebKit::WebView* createView(WebKit::WebFrame*, const WebKit::WebWindowFeatures&); 93 virtual WebKit::WebView* createView(WebKit::WebFrame*, const WebKit::WebWindowFeatures&, const WebKit::WebString&); 95 94 virtual WebKit::WebWidget* createPopupMenu(WebKit::WebPopupType); 96 95 virtual WebKit::WebWidget* createPopupMenu(const WebKit::WebPopupMenuInfo&);
Note: See TracChangeset
for help on using the changeset viewer.