Changeset 141653 in webkit
- Timestamp:
- Feb 1, 2013 3:30:15 PM (11 years ago)
- Location:
- trunk/Source/WebKit/chromium
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/chromium/ChangeLog
r141650 r141653 1 2013-02-01 Fady Samuel <fsamuel@chromium.org> 2 3 [Chromium] Expose WebNode::shadowHost() 4 https://bugs.webkit.org/show_bug.cgi?id=108681 5 6 Reviewed by Dimitri Glazkov. 7 8 BrowserPlugin needs to be able to check the event listeners attached to 9 <webview> and so we expose shadowHost to permit it to poke at the webview 10 node. 11 12 * public/WebNode.h: 13 * src/WebNode.cpp: 14 (WebKit::WebNode::shadowHost): 15 (WebKit): 16 1 17 2013-02-01 Rouslan Solomakhin <rouslan@chromium.org> 2 18 -
trunk/Source/WebKit/chromium/public/WebNode.h
r140621 r141653 124 124 WEBKIT_EXPORT bool hasNonEmptyBoundingBox() const; 125 125 WEBKIT_EXPORT WebPluginContainer* pluginContainer() const; 126 WEBKIT_EXPORT WebElement shadowHost() const; 126 127 127 128 template<typename T> T to() -
trunk/Source/WebKit/chromium/src/WebNode.cpp
r137987 r141653 262 262 } 263 263 264 WebElement WebNode::shadowHost() const 265 { 266 if (isNull()) 267 return WebElement(); 268 const Node* coreNode = constUnwrap<Node>(); 269 return WebElement(coreNode->shadowHost()); 270 } 271 264 272 WebNode::WebNode(const PassRefPtr<Node>& node) 265 273 : m_private(node)
Note: See TracChangeset
for help on using the changeset viewer.