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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/transient_url_bar.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
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 6c960ca66d35f7a7f3797d765aeb26179d5554c4..b6a88190297b1b4646147beedc43616867f3d55b 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
@@ -21,15 +21,8 @@ UiTexture* TransientUrlBar::GetTexture() const {
return texture_.get();
}
-void TransientUrlBar::SetURL(const GURL& gurl) {
- texture_->SetURL(gurl);
- UpdateTexture();
-}
-
-void TransientUrlBar::SetSecurityInfo(security_state::SecurityLevel level,
- bool malware) {
- texture_->SetSecurityInfo(level, malware);
- UpdateTexture();
+void TransientUrlBar::SetToolbarState(const ToolbarState& state) {
+ texture_->SetToolbarState(state);
}
} // namespace vr_shell
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements/transient_url_bar.h ('k') | chrome/browser/android/vr_shell/ui_elements/url_bar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698