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

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

Issue 10411033: Browser Plugin: WebContents should notify when it's restored (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed a test DCHECK Created 8 years, 7 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 0b7eb70fa3add3e39c1bba88690656feb849286f..9d2a2cde8c0b0d06c42935c4d0197609c9e3e585 100644
--- a/content/public/browser/notification_types.h
+++ b/content/public/browser/notification_types.h
@@ -212,9 +212,10 @@ enum NotificationType {
// is a std::pair<NavigationEntry*, bool> that contains more information.
NOTIFICATION_WEB_CONTENTS_TITLE_UPDATED,
- // This notification is sent when a WebContents is being hidden, e.g. due
- // to switching away from this tab. The source is a Source<WebContents>.
- NOTIFICATION_WEB_CONTENTS_HIDDEN,
+ // Indicates a WebContents has been hidden or restored. The source is
+ // a Source<WebContnets> The details is a bool set to true if the new
jam 2012/05/18 23:40:51 nit: WebCOntents. Also period after.
Fady Samuel 2012/05/19 15:59:02 Done.
+ // state is visible.
+ NOTIFICATION_WEB_CONTENTS_VISIBILITY_CHANGED,
// This notification is sent when a WebContents is being destroyed. Any
// object holding a reference to a WebContents can listen to that

Powered by Google App Engine
This is Rietveld 408576698