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

Side by Side Diff: chrome/browser/android/vr_shell/vr_gl_thread.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_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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 void NavigateBack() override; 67 void NavigateBack() override;
68 void ExitCct() override; 68 void ExitCct() override;
69 void OnUnsupportedMode(UiUnsupportedMode mode) override; 69 void OnUnsupportedMode(UiUnsupportedMode mode) override;
70 70
71 // UiInterface implementation (VrShell and GL calling to the UI). 71 // UiInterface implementation (VrShell and GL calling to the UI).
72 void SetFullscreen(bool enabled) override; 72 void SetFullscreen(bool enabled) override;
73 void SetIncognito(bool incognito) override; 73 void SetIncognito(bool incognito) override;
74 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward) override; 74 void SetHistoryButtonsEnabled(bool can_go_back, bool can_go_forward) override;
75 void SetLoadProgress(float progress) override; 75 void SetLoadProgress(float progress) override;
76 void SetLoading(bool loading) override; 76 void SetLoading(bool loading) override;
77 void SetSecurityLevel(security_state::SecurityLevel level) override; 77 void SetSecurityInfo(security_state::SecurityLevel level,
78 bool malware) override;
78 void SetURL(const GURL& gurl) override; 79 void SetURL(const GURL& gurl) override;
79 void SetWebVrMode(bool enabled, bool auto_presented) override; 80 void SetWebVrMode(bool enabled, bool auto_presented) override;
80 void SetWebVrSecureOrigin(bool secure) override; 81 void SetWebVrSecureOrigin(bool secure) override;
81 void SetVideoCapturingIndicator(bool enabled) override; 82 void SetVideoCapturingIndicator(bool enabled) override;
82 void SetScreenCapturingIndicator(bool enabled) override; 83 void SetScreenCapturingIndicator(bool enabled) override;
83 void SetAudioCapturingIndicator(bool enabled) override; 84 void SetAudioCapturingIndicator(bool enabled) override;
84 void SetIsExiting() override; 85 void SetIsExiting() override;
85 86
86 protected: 87 protected:
87 void Init() override; 88 void Init() override;
(...skipping 16 matching lines...) Expand all
104 bool in_cct_; 105 bool in_cct_;
105 bool reprojected_rendering_; 106 bool reprojected_rendering_;
106 bool daydream_support_; 107 bool daydream_support_;
107 108
108 DISALLOW_COPY_AND_ASSIGN(VrGLThread); 109 DISALLOW_COPY_AND_ASSIGN(VrGLThread);
109 }; 110 };
110 111
111 } // namespace vr_shell 112 } // namespace vr_shell
112 113
113 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_ 114 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_GL_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698