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

Unified Diff: Source/web/WebLocalFrameImpl.cpp

Issue 638003004: Introduce WebFrameWidget to Blink (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: More review updates 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.cpp
diff --git a/Source/web/WebLocalFrameImpl.cpp b/Source/web/WebLocalFrameImpl.cpp
index b2dae77b5077f2e0d307ab164dbc75592ca34cdf..526c1a02eaec695da5658ea34a3484ab94c894c7 100644
--- a/Source/web/WebLocalFrameImpl.cpp
+++ b/Source/web/WebLocalFrameImpl.cpp
@@ -1552,6 +1552,7 @@ WebLocalFrameImpl* WebLocalFrameImpl::create(WebFrameClient* client)
WebLocalFrameImpl::WebLocalFrameImpl(WebFrameClient* client)
: m_frameLoaderClientImpl(this)
+ , m_frameWidget(0)
, m_client(client)
, m_autofillClient(0)
, m_permissionClient(0)
@@ -2001,4 +2002,14 @@ void WebLocalFrameImpl::invalidateAll() const
invalidateScrollbar();
}
+void WebLocalFrameImpl::setFrameWidget(WebFrameWidgetImpl* frameWidget)
dcheng 2014/12/16 20:13:06 Similar to my previous comment, I feel this should
kenrb 2014/12/16 22:04:12 I think this makes RenderWidget too complicated, w
dcheng 2014/12/16 23:20:20 Do you have a Chromium patch that I could look at?
+{
+ m_frameWidget = frameWidget;
+}
+
+WebFrameWidgetImpl* WebLocalFrameImpl::frameWidget()
+{
+ return m_frameWidget;
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698