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

Unified Diff: chrome/browser/ui/browser.cc

Issue 1162663004: Introduce browser-side plumbing for sending the lock icon status to DevTools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased onto latest master. Created 5 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: chrome/browser/ui/browser.cc
diff --git a/chrome/browser/ui/browser.cc b/chrome/browser/ui/browser.cc
index 6ccb52cab2b020b29baaca9c8b71cbd22edf7350..8c86fdf3e1973e4503d33ea2db31238446bbae52 100644
--- a/chrome/browser/ui/browser.cc
+++ b/chrome/browser/ui/browser.cc
@@ -1301,6 +1301,11 @@ bool Browser::CanDragEnter(content::WebContents* source,
return true;
}
+content::SecurityStyle Browser::GetSecurityStyle(
+ const WebContents* web_contents) {
+ return ConnectionSecurityHelper::GetSecurityStyleForWebContents(web_contents);
+}
+
bool Browser::IsMouseLocked() const {
return exclusive_access_manager_->mouse_lock_controller()->IsMouseLocked();
}

Powered by Google App Engine
This is Rietveld 408576698