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

Unified Diff: content/public/browser/web_contents.h

Issue 2630583002: Add setting to isolate zoom changes by default. (Closed)
Patch Set: Add more tests. Created 3 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
Index: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index a5e25357162ed23c75c10f613567c16cf8d84e25..5f75dc298c64909abc53c0130f019a1ee322db2f 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -277,6 +277,10 @@ class WebContents : public PageNavigator,
// handler.
virtual void ClosePage() = 0;
+ // Notifies the WebContents of its replacement by another WebContents
+ // in a browser tab.
+ virtual void OnReplaced(WebContents* new_contents) = 0;
wjmaclean 2017/01/19 21:09:06 Hmm, content/ isn't supposed to know anything abou
Kevin McNee 2017/01/25 23:42:56 Done. Removed.
+
// Returns the currently active fullscreen widget. If there is none, returns
// nullptr.
virtual RenderWidgetHostView* GetFullscreenRenderWidgetHostView() const = 0;

Powered by Google App Engine
This is Rietveld 408576698