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

Unified Diff: chrome/browser/android/vr_shell/ui_interface.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_interface.h
diff --git a/chrome/browser/android/vr_shell/ui_interface.h b/chrome/browser/android/vr_shell/ui_interface.h
index f8904642059f4a82823176e80469a7d07ffa6aec..4fbd49a5de59eb003904c3269bbd4224ab725664 100644
--- a/chrome/browser/android/vr_shell/ui_interface.h
+++ b/chrome/browser/android/vr_shell/ui_interface.h
@@ -7,11 +7,12 @@
#include "components/security_state/core/security_state.h"
-class GURL;
class SkBitmap;
namespace vr_shell {
+struct ToolbarState;
+
// This class manages the communication of browser state from VR shell to the
// HTML UI. State information is asynchronous and unidirectional.
class UiInterface {
@@ -27,10 +28,8 @@ class UiInterface {
virtual ~UiInterface() {}
virtual void SetWebVrMode(bool enabled, bool show_toast) = 0;
- virtual void SetURL(const GURL& url) = 0;
virtual void SetFullscreen(bool enabled) = 0;
- virtual void SetSecurityInfo(security_state::SecurityLevel level,
- bool fails_malware_check) = 0;
+ virtual void SetToolbarState(const ToolbarState& state) = 0;
virtual void SetIncognito(bool enabled) = 0;
virtual void SetWebVrSecureOrigin(bool secure) = 0;
virtual void SetLoading(bool loading) = 0;
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements/url_bar.cc ('k') | chrome/browser/android/vr_shell/ui_scene_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698