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

Unified Diff: chrome/browser/android/vr_shell/ui_scene_manager.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_scene_manager.cc
diff --git a/chrome/browser/android/vr_shell/ui_scene_manager.cc b/chrome/browser/android/vr_shell/ui_scene_manager.cc
index 9862655f877bd96e377c2def0c4d198b188f6e7a..efaa59bc86a1573283d203908e169ad44d91c5aa 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager.cc
+++ b/chrome/browser/android/vr_shell/ui_scene_manager.cc
@@ -615,9 +615,10 @@ void UiSceneManager::SetURL(const GURL& gurl) {
transient_url_bar_->SetURL(gurl);
}
-void UiSceneManager::SetSecurityLevel(security_state::SecurityLevel level) {
- url_bar_->SetSecurityLevel(level);
- transient_url_bar_->SetSecurityLevel(level);
+void UiSceneManager::SetSecurityInfo(security_state::SecurityLevel level,
+ bool malware) {
+ url_bar_->SetSecurityInfo(level, malware);
+ transient_url_bar_->SetSecurityInfo(level, malware);
}
void UiSceneManager::SetLoading(bool loading) {

Powered by Google App Engine
This is Rietveld 408576698