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

Unified Diff: chrome/browser/android/vr_shell/ui_interface.h

Issue 2902783002: VR: Add URL bar security-related coloring and emphasis. (Closed)
Patch Set: Another test case for HTTPS + not secure. Created 3 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/android/vr_shell/ui_interface.h
diff --git a/chrome/browser/android/vr_shell/ui_interface.h b/chrome/browser/android/vr_shell/ui_interface.h
index cad76a38d0d27109813246e382e00d3071c97d42..f8542d99ca91595c46c3336f16b43aff1f20414f 100644
--- a/chrome/browser/android/vr_shell/ui_interface.h
+++ b/chrome/browser/android/vr_shell/ui_interface.h
@@ -5,6 +5,8 @@
#ifndef CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_
#define CHROME_BROWSER_ANDROID_VR_SHELL_UI_INTERFACE_H_
+#include "components/security_state/core/security_state.h"
+
class GURL;
namespace vr_shell {
@@ -26,7 +28,7 @@ class UiInterface {
virtual void SetWebVrMode(bool enabled) = 0;
virtual void SetURL(const GURL& url) = 0;
virtual void SetFullscreen(bool enabled) = 0;
- virtual void SetSecurityLevel(int level) = 0;
+ virtual void SetSecurityLevel(security_state::SecurityLevel level) = 0;
virtual void SetWebVrSecureOrigin(bool secure) = 0;
virtual void SetLoading(bool loading) = 0;
virtual void SetLoadProgress(float progress) = 0;

Powered by Google App Engine
This is Rietveld 408576698