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

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

Issue 2946523002: VR: Support security chip text on URL bar. (Closed)
Patch Set: Address comments. 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_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 21 matching lines...) Expand all
32 bool web_vr_autopresented); 32 bool web_vr_autopresented);
33 ~UiSceneManager(); 33 ~UiSceneManager();
34 34
35 base::WeakPtr<UiSceneManager> GetWeakPtr(); 35 base::WeakPtr<UiSceneManager> GetWeakPtr();
36 36
37 void SetFullscreen(bool fullscreen); 37 void SetFullscreen(bool fullscreen);
38 void SetIncognito(bool incognito); 38 void SetIncognito(bool incognito);
39 void SetURL(const GURL& gurl); 39 void SetURL(const GURL& gurl);
40 void SetWebVrSecureOrigin(bool secure); 40 void SetWebVrSecureOrigin(bool secure);
41 void SetWebVrMode(bool web_vr, bool auto_presented); 41 void SetWebVrMode(bool web_vr, bool auto_presented);
42 void SetSecurityLevel(security_state::SecurityLevel level); 42 void SetSecurityInfo(security_state::SecurityLevel level, bool malware);
43 void SetLoading(bool loading); 43 void SetLoading(bool loading);
44 void SetLoadProgress(float progress); 44 void SetLoadProgress(float progress);
45 void SetIsExiting(); 45 void SetIsExiting();
46 void SetVideoCapturingIndicator(bool enabled); 46 void SetVideoCapturingIndicator(bool enabled);
47 void SetScreenCapturingIndicator(bool enabled); 47 void SetScreenCapturingIndicator(bool enabled);
48 void SetAudioCapturingIndicator(bool enabled); 48 void SetAudioCapturingIndicator(bool enabled);
49 49
50 // These methods are currently stubbed. 50 // These methods are currently stubbed.
51 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward); 51 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward);
52 52
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 base::OneShotTimer transient_url_bar_timer_; 126 base::OneShotTimer transient_url_bar_timer_;
127 127
128 base::WeakPtrFactory<UiSceneManager> weak_ptr_factory_; 128 base::WeakPtrFactory<UiSceneManager> weak_ptr_factory_;
129 129
130 DISALLOW_COPY_AND_ASSIGN(UiSceneManager); 130 DISALLOW_COPY_AND_ASSIGN(UiSceneManager);
131 }; 131 };
132 132
133 } // namespace vr_shell 133 } // namespace vr_shell
134 134
135 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_ 135 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_UI_SCENE_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698