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

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

Issue 2562503002: Generalize WebContentsObserver::SecurityStyleChanged (Closed)
Patch Set: Created 4 years 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') | 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_observer.h
diff --git a/content/public/browser/web_contents_observer.h b/content/public/browser/web_contents_observer.h
index 5db620927adf80a521d2bf4ab737bfda6e779248..0031b3445baad2ab25d2c16fa137cef019a21046 100644
--- a/content/public/browser/web_contents_observer.h
+++ b/content/public/browser/web_contents_observer.h
@@ -307,6 +307,9 @@ class CONTENT_EXPORT WebContentsObserver : public IPC::Listener,
blink::WebSecurityStyle security_style,
const SecurityStyleExplanations& security_style_explanations) {}
+ // This method is invoked when the visible security state of the page changes.
+ virtual void DidChangeVisibleSecurityState() {}
boliu 2016/12/07 18:58:03 I don't understand why this is needed when Securit
cjgrant 2016/12/07 19:15:53 See my initial comments on the CL. "Security styl
boliu 2016/12/07 19:53:19 I prefer the just one callback. Having two very cl
+
// This method is invoked when content was loaded from an in-memory cache.
virtual void DidLoadResourceFromMemoryCache(
const GURL& url,
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698