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

Side by Side Diff: chrome/browser/android/vr_shell/ui_interface.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_UI_INTERFACE_H_ 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_ 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_
7 7
8 #include "components/security_state/core/security_state.h" 8 #include "components/security_state/core/security_state.h"
9 9
10 class GURL; 10 class GURL;
(...skipping 11 matching lines...) Expand all
22 UP, 22 UP,
23 DOWN, 23 DOWN,
24 }; 24 };
25 25
26 virtual ~UiInterface() {} 26 virtual ~UiInterface() {}
27 27
28 virtual void SetWebVrMode(bool enabled) = 0; 28 virtual void SetWebVrMode(bool enabled) = 0;
29 virtual void SetURL(const GURL& url) = 0; 29 virtual void SetURL(const GURL& url) = 0;
30 virtual void SetFullscreen(bool enabled) = 0; 30 virtual void SetFullscreen(bool enabled) = 0;
31 virtual void SetSecurityLevel(security_state::SecurityLevel level) = 0; 31 virtual void SetSecurityLevel(security_state::SecurityLevel level) = 0;
32 virtual void SetIncognito(bool enabled) = 0;
32 virtual void SetWebVrSecureOrigin(bool secure) = 0; 33 virtual void SetWebVrSecureOrigin(bool secure) = 0;
33 virtual void SetLoading(bool loading) = 0; 34 virtual void SetLoading(bool loading) = 0;
34 virtual void SetLoadProgress(float progress) = 0; 35 virtual void SetLoadProgress(float progress) = 0;
35 virtual void SetIsExiting() = 0; 36 virtual void SetIsExiting() = 0;
36 virtual void SetHistoryButtonsEnabled(bool can_go_back, 37 virtual void SetHistoryButtonsEnabled(bool can_go_back,
37 bool can_go_forward) = 0; 38 bool can_go_forward) = 0;
38 virtual void SetVideoCapturingIndicator(bool enabled) = 0; 39 virtual void SetVideoCapturingIndicator(bool enabled) = 0;
39 virtual void SetScreenCapturingIndicator(bool enabled) = 0; 40 virtual void SetScreenCapturingIndicator(bool enabled) = 0;
40 virtual void SetAudioCapturingIndicator(bool enabled) = 0; 41 virtual void SetAudioCapturingIndicator(bool enabled) = 0;
41 42
42 // Tab handling. 43 // Tab handling.
43 virtual void InitTabList() {} 44 virtual void InitTabList() {}
44 virtual void AppendToTabList(bool incognito, 45 virtual void AppendToTabList(bool incognito,
45 int id, 46 int id,
46 const base::string16& title) {} 47 const base::string16& title) {}
47 virtual void FlushTabList() {} 48 virtual void FlushTabList() {}
48 virtual void UpdateTab(bool incognito, int id, const std::string& title) {} 49 virtual void UpdateTab(bool incognito, int id, const std::string& title) {}
49 virtual void RemoveTab(bool incognito, int id) {} 50 virtual void RemoveTab(bool incognito, int id) {}
50 }; 51 };
51 52
52 } // namespace vr_shell 53 } // namespace vr_shell
53 54
54 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_ 55 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/ui_elements/ui_element.cc ('k') | chrome/browser/android/vr_shell/ui_scene.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698