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

Unified Diff: third_party/WebKit/Source/core/exported/WebViewBase.h

Issue 2854783003: Remove the last references from production code to WebViewImpl. (Closed)
Patch Set: Created 3 years, 8 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
Index: third_party/WebKit/Source/core/exported/WebViewBase.h
diff --git a/third_party/WebKit/Source/core/exported/WebViewBase.h b/third_party/WebKit/Source/core/exported/WebViewBase.h
index 197d2680a2ade3fe3b16649b09db32c9dae55b9f..cd286264a72e252b662319d5ed1bfc7cfa7c9cc9 100644
--- a/third_party/WebKit/Source/core/exported/WebViewBase.h
+++ b/third_party/WebKit/Source/core/exported/WebViewBase.h
@@ -62,7 +62,9 @@ class WebViewBase : public WebView, public RefCounted<WebViewBase> {
virtual Page* GetPage() const = 0;
virtual Frame* FocusedCoreFrame() const = 0;
+
static WebViewBase* FromPage(Page*);
+ static HashSet<WebViewBase*>& AllInstances();
// Returns the main frame associated with this view. This may be null when
// the page is shutting down, but will be valid at all other times.
@@ -120,6 +122,7 @@ class WebViewBase : public WebView, public RefCounted<WebViewBase> {
virtual WebSettingsImpl* SettingsImpl() = 0;
+ using WebWidget::GetPagePopup;
virtual PagePopup* OpenPagePopup(PagePopupClient*) = 0;
virtual void ClosePagePopup(PagePopup*) = 0;
virtual void CleanupPagePopup() = 0;

Powered by Google App Engine
This is Rietveld 408576698