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

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

Issue 1408393003: Propagate pageScaleFactor to GuestViews (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index c2fcffbe0f2efb50491184386b27a6aa11d21753..96f90bdc4aa1ab1d55b54926c10b8885c5e34245 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -418,6 +418,8 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
virtual void MediaSessionStateChanged(bool is_controllable,
bool is_suspended) {}
+ virtual void OnPageScaleFactorChanged(float page_scale_factor) {}
wjmaclean 2015/10/19 15:43:28 Add a comment to explain what this function is for
Kevin McNee - google account 2015/10/20 15:13:43 Done.
+
// Invoked if an IPC message is coming from a specific RenderFrameHost.
virtual bool OnMessageReceived(const IPC::Message& message,
RenderFrameHost* render_frame_host);

Powered by Google App Engine
This is Rietveld 408576698