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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/transient_url_bar.cc

Issue 2946523002: VR: Support security chip text on URL bar. (Closed)
Patch Set: Address comments. Created 3 years, 6 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/android/vr_shell/ui_elements/transient_url_bar.cc
diff --git a/chrome/browser/android/vr_shell/ui_elements/transient_url_bar.cc b/chrome/browser/android/vr_shell/ui_elements/transient_url_bar.cc
index 6d378bf17a48ddba46078af81e008eb5e2e01e67..6c960ca66d35f7a7f3797d765aeb26179d5554c4 100644
--- a/chrome/browser/android/vr_shell/ui_elements/transient_url_bar.cc
+++ b/chrome/browser/android/vr_shell/ui_elements/transient_url_bar.cc
@@ -26,8 +26,9 @@ void TransientUrlBar::SetURL(const GURL& gurl) {
UpdateTexture();
}
-void TransientUrlBar::SetSecurityLevel(security_state::SecurityLevel level) {
- texture_->SetSecurityLevel(level);
+void TransientUrlBar::SetSecurityInfo(security_state::SecurityLevel level,
+ bool malware) {
+ texture_->SetSecurityInfo(level, malware);
UpdateTexture();
}

Powered by Google App Engine
This is Rietveld 408576698