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

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

Issue 2877333004: UMA for measuring how often 2 or more tabs script the same background contents.
Patch Set: No PostDelayedTask and checking if opener is a hosted app Created 3 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') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/browser/web_contents_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index 92b3f530c11d0dce6476314557cf1053c3cd770a..925d5426a4a32e426523273059d5e6959e86288e 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -423,6 +423,9 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
// Notification that |contents| has gained focus.
virtual void OnWebContentsFocused() {}
+ // Notification that opener has changed.
+ virtual void DidChangeOpener() {}
+
// Notifes that a CompositorFrame was received from the renderer.
virtual void DidReceiveCompositorFrame() {}
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698