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

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

Issue 2960903002: VR: Use ToolbarModel to drive VR URL bar state. (Closed)
Patch Set: Update toolbar build file to include vector icons for Android. Created 3 years, 5 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_SCENE_MANAGER_H_ 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_ 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_
7 7
8 #include "base/gtest_prod_util.h" 8 #include "base/gtest_prod_util.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/weak_ptr.h" 10 #include "base/memory/weak_ptr.h"
(...skipping 20 matching lines...) Expand all
31 UiScene* scene, 31 UiScene* scene,
32 bool in_cct, 32 bool in_cct,
33 bool in_web_vr, 33 bool in_web_vr,
34 bool web_vr_autopresentation_expected); 34 bool web_vr_autopresentation_expected);
35 ~UiSceneManager(); 35 ~UiSceneManager();
36 36
37 base::WeakPtr<UiSceneManager> GetWeakPtr(); 37 base::WeakPtr<UiSceneManager> GetWeakPtr();
38 38
39 void SetFullscreen(bool fullscreen); 39 void SetFullscreen(bool fullscreen);
40 void SetIncognito(bool incognito); 40 void SetIncognito(bool incognito);
41 void SetURL(const GURL& gurl); 41 void SetToolbarState(const ToolbarState& state);
42 void SetWebVrSecureOrigin(bool secure); 42 void SetWebVrSecureOrigin(bool secure);
43 void SetWebVrMode(bool web_vr, bool show_toast); 43 void SetWebVrMode(bool web_vr, bool show_toast);
44 void SetSecurityInfo(security_state::SecurityLevel level, bool malware);
45 void SetLoading(bool loading); 44 void SetLoading(bool loading);
46 void SetLoadProgress(float progress); 45 void SetLoadProgress(float progress);
47 void SetIsExiting(); 46 void SetIsExiting();
48 void SetVideoCapturingIndicator(bool enabled); 47 void SetVideoCapturingIndicator(bool enabled);
49 void SetScreenCapturingIndicator(bool enabled); 48 void SetScreenCapturingIndicator(bool enabled);
50 void SetAudioCapturingIndicator(bool enabled); 49 void SetAudioCapturingIndicator(bool enabled);
51 void SetLocationAccessIndicator(bool enabled); 50 void SetLocationAccessIndicator(bool enabled);
52 void SetSplashScreenIcon(const SkBitmap& bitmap); 51 void SetSplashScreenIcon(const SkBitmap& bitmap);
53 void SetBluetoothConnectedIndicator(bool enabled); 52 void SetBluetoothConnectedIndicator(bool enabled);
54 53
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 base::OneShotTimer exclusive_screen_toast_timer_; 152 base::OneShotTimer exclusive_screen_toast_timer_;
154 153
155 base::WeakPtrFactory<UiSceneManager> weak_ptr_factory_; 154 base::WeakPtrFactory<UiSceneManager> weak_ptr_factory_;
156 155
157 DISALLOW_COPY_AND_ASSIGN(UiSceneManager); 156 DISALLOW_COPY_AND_ASSIGN(UiSceneManager);
158 }; 157 };
159 158
160 } // namespace vr_shell 159 } // namespace vr_shell
161 160
162 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_ 161 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/ui_interface.h ('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