Chromium Code Reviews| 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. |