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

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: Merged with ToT 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6d9c08038e24e959aeba412ed037f7a4f1e183bf 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<WebContents>. The details is a bool set to true if the new
+ // 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/web_contents.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698