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

Unified Diff: public/web/WebFrameWidget.h

Issue 1310063002: Snapshot a pointer to the main frame when creating WebViewFrameWidget. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Futureproof Created 5 years, 4 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/WebViewFrameWidget.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebFrameWidget.h
diff --git a/public/web/WebFrameWidget.h b/public/web/WebFrameWidget.h
index df4212fc5263f4bae3a65bc197dbdeecb28650b9..474bcf2466fff5b4a822556350e314eb6f117d22 100644
--- a/public/web/WebFrameWidget.h
+++ b/public/web/WebFrameWidget.h
@@ -46,7 +46,8 @@ public:
BLINK_EXPORT static WebFrameWidget* create(WebWidgetClient*, WebLocalFrame*);
// Creates a frame widget for a WebView. Temporary helper to help transition
// away from WebView inheriting WebWidget.
- BLINK_EXPORT static WebFrameWidget* create(WebView*);
+ // TODO(dcheng): Remove once transition is complete.
+ BLINK_EXPORT static WebFrameWidget* create(WebWidgetClient*, WebView*, WebLocalFrame* mainFrame);
// Sets the visibility of the WebFrameWidget.
// We still track page-level visibility, but additionally we need to notify a WebFrameWidget
« no previous file with comments | « Source/web/WebViewFrameWidget.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698