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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/url_bar.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_elements/url_bar.h
diff --git a/chrome/browser/android/vr_shell/ui_elements/url_bar.h b/chrome/browser/android/vr_shell/ui_elements/url_bar.h
index 4c83ca1c159cd220cbcb410809bc479e39fe8a8d..b37b6b86ee8a577f406f864bc0f93e27c43f85ad 100644
--- a/chrome/browser/android/vr_shell/ui_elements/url_bar.h
+++ b/chrome/browser/android/vr_shell/ui_elements/url_bar.h
@@ -11,6 +11,7 @@
#include "base/macros.h"
#include "base/time/time.h"
#include "chrome/browser/android/vr_shell/ui_elements/textured_element.h"
+#include "components/security_state/core/security_state.h"
#include "url/gurl.h"
namespace vr_shell {
@@ -33,7 +34,7 @@ class UrlBar : public TexturedElement {
void SetEnabled(bool enabled) override;
void SetURL(const GURL& gurl);
- void SetSecurityLevel(int level);
+ void SetSecurityLevel(security_state::SecurityLevel level);
void SetBackButtonCallback(const base::Callback<void()>& callback);
private:

Powered by Google App Engine
This is Rietveld 408576698