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

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: 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/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 024d65186067443a630e710856a0e1995c59bf61..cdec1eb96ff39bc027b81700a8a05bef9535e9c8 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -200,6 +200,10 @@ class WebContents : public PageNavigator {
// NOTE: If you override this, call the superclass version too!
virtual void WasHidden() = 0;
+ // Invoked when the WebContents is restored.
+ // NOTE: If you override this, call the superclass version too!
jam 2012/05/18 23:40:51 nit: this comment isn't valid. also remove the one
Fady Samuel 2012/05/19 15:59:02 Done.
+ virtual void WasRestored() = 0;
+
// TODO(brettw) document these.
virtual void ShowContents() = 0;
virtual void HideContents() = 0;
« content/public/browser/notification_types.h ('K') | « content/public/browser/notification_types.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698