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

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

Issue 2905013002: [vr] Introduce ColorScheme (Closed)
Patch Set: rebase 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 cf2ae941d42dc9c93de0a9808811bddd41b82564..6a0cec9b7de630ae59e97a81ad783042f03ff609 100644
--- a/chrome/browser/android/vr_shell/ui_scene_manager.h
+++ b/chrome/browser/android/vr_shell/ui_scene_manager.h
@@ -22,6 +22,8 @@ class UiScene;
class UrlBar;
class VrBrowserInterface;
+struct ColorScheme;
+
class UiSceneManager {
public:
UiSceneManager(VrBrowserInterface* browser,
@@ -40,12 +42,13 @@ class UiSceneManager {
void SetLoading(bool loading);
void SetLoadProgress(float progress);
void SetIsExiting();
- // These methods are currently stubbed.
- void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward);
void SetVideoCapturingIndicator(bool enabled);
void SetScreenCapturingIndicator(bool enabled);
void SetAudioCapturingIndicator(bool enabled);
+ // These methods are currently stubbed.
+ void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward);
+
void OnAppButtonClicked();
void OnAppButtonGesturePerformed(UiInterface::Direction direction);
@@ -60,13 +63,13 @@ class UiSceneManager {
void CreateExitWarning();
void ConfigureScene();
- void ConfigureBackgroundColor(vr::Colorf center_color,
- vr::Colorf horizon_color);
void ConfigureSecurityWarnings();
+ void UpdateBackgroundColor();
void OnSecurityWarningTimer();
void OnBackButtonClicked();
void OnCloseButtonClicked();
int AllocateId();
+ const ColorScheme& color_scheme() const;
VrBrowserInterface* browser_;
UiScene* scene_;
« no previous file with comments | « chrome/browser/android/vr_shell/color_scheme.cc ('k') | chrome/browser/android/vr_shell/ui_scene_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698