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

Unified Diff: Source/web/WebLocalFrameImpl.h

Issue 638003004: Introduce WebFrameWidget to Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebased, cleaned up some Created 6 years 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
Index: Source/web/WebLocalFrameImpl.h
diff --git a/Source/web/WebLocalFrameImpl.h b/Source/web/WebLocalFrameImpl.h
index 07abc774de53cb9174cc471422c5dee15be888e4..113ca6afec9c391f5eb644d4ec5ae7bb746716b3 100644
--- a/Source/web/WebLocalFrameImpl.h
+++ b/Source/web/WebLocalFrameImpl.h
@@ -55,6 +55,7 @@ class TextFinder;
class WebAutofillClient;
class WebDataSourceImpl;
class WebFrameClient;
+class WebFrameWidgetImpl;
class WebPerformance;
class WebPlugin;
class WebPluginContainerImpl;
@@ -317,6 +318,9 @@ public:
// Returns a hit-tested VisiblePosition for the given point
VisiblePosition visiblePositionForWindowPoint(const WebPoint&);
+ void setFrameWidget(WebFrameWidgetImpl*);
+ WebFrameWidgetImpl* frameWidget();
+
#if ENABLE(OILPAN)
void trace(Visitor*);
#endif
@@ -340,6 +344,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;

Powered by Google App Engine
This is Rietveld 408576698