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

Unified Diff: chrome/browser/android/vr_shell/ui_interface.h

Issue 2960903002: VR: Use ToolbarModel to drive VR URL bar state. (Closed)
Patch Set: 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 1a0f0c69da151f54c34ff98c4305e3a86d4b806e..16fd63aa0a884d9816b42f3e65d0e86c0c169af4 100644
--- a/chrome/browser/android/vr_shell/ui_interface.h
+++ b/chrome/browser/android/vr_shell/ui_interface.h
@@ -7,10 +7,10 @@
#include "components/security_state/core/security_state.h"
-class GURL;
-
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 {
@@ -28,10 +28,8 @@ class UiInterface {
virtual void SetWebVrMode(bool enabled,
bool auto_presented,
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;

Powered by Google App Engine
This is Rietveld 408576698