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

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

Issue 224733018: Changes to content/ to facilitate new zoom extension API (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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: content/public/browser/notification_types.h
diff --git a/content/public/browser/notification_types.h b/content/public/browser/notification_types.h
index a2849893f5e4c1957968f6e2205f86c050759599..81b18b4391176c4102ff2f04124469db14270b7d 100644
--- a/content/public/browser/notification_types.h
+++ b/content/public/browser/notification_types.h
@@ -128,6 +128,11 @@ enum NotificationType {
// WebContentsObserver::WebContentsDestroyed()
NOTIFICATION_WEB_CONTENTS_DISCONNECTED,
+ // This notification is sent when a WebContents no longer needs a temporary
+ // zoom level maintained for it. This happens when the Webcontents
+ // returns to the default zoom mode.
+ NOTIFICATION_WEB_CONTENTS_NO_TEMPORARY_ZOOM_LEVEL,
+
// This notification is sent after WebContents' title is updated. The source
// is a Source<WebContents> with a pointer to the WebContents. The details
// is a std::pair<NavigationEntry*, bool> that contains more information.
@@ -141,6 +146,9 @@ enum NotificationType {
// DEPRECATED: Use WebContentsObserver::WebContentsDestroyed()
NOTIFICATION_WEB_CONTENTS_DESTROYED,
+ // This notification is sent when a WebContents's zoom level is being changed.
+ NOTIFICATION_WEB_CONTENTS_ZOOM_CHANGE,
Fady Samuel 2014/04/07 21:27:24 I think we can get rid of this notification if we
paulmeyer 2014/04/08 21:13:20 No, this is the one that needs to be replaced usin
+
// A RenderViewHost was created for a WebContents. The source is the
// associated WebContents, and the details is the RenderViewHost
// pointer.

Powered by Google App Engine
This is Rietveld 408576698