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

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

Issue 2866853002: VR: Wire VrShell UI-related state to the scene manager. (Closed)
Patch Set: Created 3 years, 7 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_scene_manager.h
diff --git a/chrome/browser/android/vr_shell/ui_scene_manager.h b/chrome/browser/android/vr_shell/ui_scene_manager.h
index 88dc52e140c042c89d40fbec391122378e0d9beb..38e15ded9c7ce1cbc767f0022d9a2d156e9b2df8 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager.h
+++ b/chrome/browser/android/vr_shell/ui_scene_manager.h
@@ -9,7 +9,9 @@
#include "base/memory/weak_ptr.h"
#include "base/timer/timer.h"
#include "base/values.h"
-#include "url/gurl.h"
+#include "chrome/browser/android/vr_shell/ui_interface.h"
+
+class GURL;
namespace vr_shell {
@@ -27,9 +29,15 @@ class UiSceneManager {
void SetWebVRSecureOrigin(bool secure);
void SetWebVRMode(bool web_vr);
+ void SetURL(const GURL& gurl);
+ void SetFullscreen(bool enabled);
ymalik 2017/05/08 14:05:00 nit: add a comment here or somewhere mentioning th
cjgrant 2017/05/08 14:14:37 Sure, but that future will be in the next 2 days.
cjgrant 2017/05/08 19:17:22 Done.
+ void SetSecurityLevel(int level);
+ void SetLoading(bool loading);
+ void SetLoadProgress(double progress);
+ void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward);
void OnAppButtonClicked();
- void OnUrlChange(const GURL& gurl);
+ void OnAppButtonGesturePerformed(UiInterface::Direction direction);
private:
void CreateSecurityWarnings();

Powered by Google App Engine
This is Rietveld 408576698