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

Unified Diff: chrome/browser/android/vr_shell/ui_scene_manager.cc

Issue 2960903002: VR: Use ToolbarModel to drive VR URL bar state. (Closed)
Patch Set: Update toolbar build file to include vector icons for Android. 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
« no previous file with comments | « chrome/browser/android/vr_shell/ui_scene_manager.h ('k') | chrome/browser/android/vr_shell/vr_gl_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f751a7efacd2fd85f9f6d94319f766dc114f9856..389f1011eaa0c6c339f6b6d1fb4404f1572d35b5 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager.cc
+++ b/chrome/browser/android/vr_shell/ui_scene_manager.cc
@@ -743,15 +743,9 @@ void UiSceneManager::OnExitPromptSecondaryButtonClicked() {
OnUnsupportedMode(UiUnsupportedMode::kUnhandledPageInfo);
}
-void UiSceneManager::SetURL(const GURL& gurl) {
- url_bar_->SetURL(gurl);
- transient_url_bar_->SetURL(gurl);
-}
-
-void UiSceneManager::SetSecurityInfo(security_state::SecurityLevel level,
- bool malware) {
- url_bar_->SetSecurityInfo(level, malware);
- transient_url_bar_->SetSecurityInfo(level, malware);
+void UiSceneManager::SetToolbarState(const ToolbarState& state) {
+ url_bar_->SetToolbarState(state);
+ transient_url_bar_->SetToolbarState(state);
}
void UiSceneManager::SetLoading(bool loading) {
« no previous file with comments | « chrome/browser/android/vr_shell/ui_scene_manager.h ('k') | chrome/browser/android/vr_shell/vr_gl_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698