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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/url_bar.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 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 77ee9784191365c437c420653afdf59f478f7a26..730c2b189b492e2f6ad2cd39ee99ffa458b8589b 100644
--- a/chrome/browser/android/vr_shell/ui_elements/url_bar.h
+++ b/chrome/browser/android/vr_shell/ui_elements/url_bar.h
@@ -39,7 +39,7 @@ class UrlBar : public TexturedElement {
void SetHistoryButtonsEnabled(bool can_go_back);
void SetURL(const GURL& gurl);
- void SetSecurityLevel(security_state::SecurityLevel level);
+ void SetSecurityInfo(security_state::SecurityLevel level, bool malware);
private:
void UpdateTexture() override;
@@ -52,7 +52,7 @@ class UrlBar : public TexturedElement {
bool enabled_ = false;
bool can_go_back_ = false;
bool down_ = false;
- bool security_icon_down_ = false;
+ bool security_region_down_ = false;
base::TimeTicks last_begin_frame_time_;
base::TimeTicks last_update_time_;

Powered by Google App Engine
This is Rietveld 408576698