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

Side by Side Diff: chrome/browser/android/vr_shell/vr_gl_thread.h

Issue 2911943002: [vr] Add incognito coloring (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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 const base::Callback<void(device::mojom::VRDisplayInfoPtr)>& callback, 58 const base::Callback<void(device::mojom::VRDisplayInfoPtr)>& callback,
59 device::mojom::VRDisplayInfoPtr* info) override; 59 device::mojom::VRDisplayInfoPtr* info) override;
60 void OnContentPaused(bool enabled) override; 60 void OnContentPaused(bool enabled) override;
61 void NavigateBack() override; 61 void NavigateBack() override;
62 void ExitCct() override; 62 void ExitCct() override;
63 void ToggleCardboardGamepad(bool enabled) override; 63 void ToggleCardboardGamepad(bool enabled) override;
64 void OnUnsupportedMode(UiUnsupportedMode mode) override; 64 void OnUnsupportedMode(UiUnsupportedMode mode) override;
65 65
66 // UiInterface implementation (VrShell calling to the UI). 66 // UiInterface implementation (VrShell calling to the UI).
67 void SetFullscreen(bool enabled) override; 67 void SetFullscreen(bool enabled) override;
68 void SetIncognito(bool incognito) override;
68 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward) override; 69 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward) override;
69 void SetLoadProgress(float progress) override; 70 void SetLoadProgress(float progress) override;
70 void SetLoading(bool loading) override; 71 void SetLoading(bool loading) override;
71 void SetSecurityLevel(security_state::SecurityLevel level) override; 72 void SetSecurityLevel(security_state::SecurityLevel level) override;
72 void SetURL(const GURL& gurl) override; 73 void SetURL(const GURL& gurl) override;
73 void SetWebVrMode(bool enabled) override; 74 void SetWebVrMode(bool enabled) override;
74 void SetWebVrSecureOrigin(bool secure) override; 75 void SetWebVrSecureOrigin(bool secure) override;
75 void SetVideoCapturingIndicator(bool enabled) override; 76 void SetVideoCapturingIndicator(bool enabled) override;
76 void SetScreenCapturingIndicator(bool enabled) override; 77 void SetScreenCapturingIndicator(bool enabled) override;
77 void SetAudioCapturingIndicator(bool enabled) override; 78 void SetAudioCapturingIndicator(bool enabled) override;
(...skipping 19 matching lines...) Expand all
97 bool in_cct_; 98 bool in_cct_;
98 bool reprojected_rendering_; 99 bool reprojected_rendering_;
99 bool daydream_support_; 100 bool daydream_support_;
100 101
101 DISALLOW_COPY_AND_ASSIGN(VrGLThread); 102 DISALLOW_COPY_AND_ASSIGN(VrGLThread);
102 }; 103 };
103 104
104 } // namespace vr_shell 105 } // namespace vr_shell
105 106
106 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ 107 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/ui_scene_manager_unittest.cc ('k') | chrome/browser/android/vr_shell/vr_gl_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698