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

Unified Diff: content/public/browser/web_contents.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/public/browser/notification_types.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 024d65186067443a630e710856a0e1995c59bf61..277bf03885726bfce66d0813c271b0761e3bdd1c 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -197,9 +197,11 @@ class WebContents : public PageNavigator {
virtual base::TimeTicks GetLastSelectedTime() const = 0;
// Invoked when the WebContents becomes hidden.
- // NOTE: If you override this, call the superclass version too!
virtual void WasHidden() = 0;
+ // Invoked when the WebContents is restored.
+ virtual void WasRestored() = 0;
+
// TODO(brettw) document these.
virtual void ShowContents() = 0;
virtual void HideContents() = 0;
« no previous file with comments | « content/public/browser/notification_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698