Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2357)

Unified Diff: Source/web/WebLocalFrameImpl.h

Issue 638003004: Introduce WebFrameWidget to Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Style Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/WebFrameWidgetImpl.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebLocalFrameImpl.h
diff --git a/Source/web/WebLocalFrameImpl.h b/Source/web/WebLocalFrameImpl.h
index a05515dd94fbad21628e5f3f54f39d02e93eda9d..44ddbb628dfde22284f4eec229e3eee823a2b686 100644
--- a/Source/web/WebLocalFrameImpl.h
+++ b/Source/web/WebLocalFrameImpl.h
@@ -54,6 +54,7 @@ class TextFinder;
class WebAutofillClient;
class WebDataSourceImpl;
class WebFrameClient;
+class WebFrameWidgetImpl;
class WebPerformance;
class WebPlugin;
class WebPluginContainerImpl;
@@ -316,6 +317,9 @@ public:
// Returns a hit-tested VisiblePosition for the given point
VisiblePosition visiblePositionForWindowPoint(const WebPoint&);
+ void setFrameWidget(WebFrameWidgetImpl*);
+ WebFrameWidgetImpl* frameWidget() const;
+
#if ENABLE(OILPAN)
void trace(Visitor*);
#endif
@@ -339,6 +343,9 @@ private:
// FIXME: These will need to change to WebFrame when we introduce WebFrameProxy.
RefPtrWillBeMember<LocalFrame> m_frame;
+ // This is set if the frame is the root of a local frame tree, and requires a widget for rendering.
+ WebFrameWidgetImpl* m_frameWidget;
+
WebFrameClient* m_client;
WebAutofillClient* m_autofillClient;
WebPermissionClient* m_permissionClient;
« no previous file with comments | « Source/web/WebFrameWidgetImpl.cpp ('k') | Source/web/WebLocalFrameImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698