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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/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/url_bar.h
diff --git a/chrome/browser/android/vr_shell/ui_elements/url_bar.h b/chrome/browser/android/vr_shell/ui_elements/url_bar.h
index 730c2b189b492e2f6ad2cd39ee99ffa458b8589b..f5e116dae4d39723fa69ad03499659b6eb712e43 100644
--- a/chrome/browser/android/vr_shell/ui_elements/url_bar.h
+++ b/chrome/browser/android/vr_shell/ui_elements/url_bar.h
@@ -18,6 +18,7 @@
namespace vr_shell {
class UrlBarTexture;
+struct ToolbarState;
class UrlBar : public TexturedElement {
public:
@@ -38,8 +39,7 @@ class UrlBar : public TexturedElement {
void SetEnabled(bool enabled) override;
void SetHistoryButtonsEnabled(bool can_go_back);
- void SetURL(const GURL& gurl);
- void SetSecurityInfo(security_state::SecurityLevel level, bool malware);
+ void SetToolbarState(const ToolbarState& state);
private:
void UpdateTexture() override;

Powered by Google App Engine
This is Rietveld 408576698