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

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

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.h
diff --git a/chrome/browser/android/vr_shell/ui_elements/transient_url_bar.h b/chrome/browser/android/vr_shell/ui_elements/transient_url_bar.h
index 9978ceab5393d27da2151b9282a94d33b7e4e0c3..da311bfb81a5e0225173af3a23bd50c91277e36d 100644
--- a/chrome/browser/android/vr_shell/ui_elements/transient_url_bar.h
+++ b/chrome/browser/android/vr_shell/ui_elements/transient_url_bar.h
@@ -18,6 +18,7 @@
namespace vr_shell {
class UrlBarTexture;
+struct ToolbarState;
// The non-interactive URL bar that shows for some time when WebVR content is
// autopresented.
@@ -28,8 +29,7 @@ class TransientUrlBar : public TexturedElement {
const base::Callback<void(UiUnsupportedMode)>& failure_callback);
~TransientUrlBar() override;
- void SetURL(const GURL& gurl);
- void SetSecurityInfo(security_state::SecurityLevel level, bool malware);
+ void SetToolbarState(const ToolbarState& state);
private:
UiTexture* GetTexture() const override;
« no previous file with comments | « chrome/browser/android/vr_shell/toolbar_state.cc ('k') | chrome/browser/android/vr_shell/ui_elements/transient_url_bar.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698