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

Unified Diff: chrome/browser/android/vr_shell/textures/url_bar_texture.h

Issue 2872773002: VR: Render the current URL and security level on the URL bar. (Closed)
Patch Set: Revert the inclusion of the lock icon; will re-add when moved to UI. 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
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/textures/url_bar_texture.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/android/vr_shell/textures/url_bar_texture.h
diff --git a/chrome/browser/android/vr_shell/textures/url_bar_texture.h b/chrome/browser/android/vr_shell/textures/url_bar_texture.h
index 96e7d44551a2bb03b977fc2b14b33927c212d00b..81630ead6d5444734938978feec9465871978240 100644
--- a/chrome/browser/android/vr_shell/textures/url_bar_texture.h
+++ b/chrome/browser/android/vr_shell/textures/url_bar_texture.h
@@ -20,6 +20,7 @@ class UrlBarTexture : public UiTexture {
void SetHover(bool hover);
void SetURL(const GURL& gurl);
+ void SetSecurityLevel(int level);
private:
void Draw(SkCanvas* canvas, const gfx::Size& texture_size) override;
@@ -27,6 +28,7 @@ class UrlBarTexture : public UiTexture {
gfx::SizeF size_;
bool hover_ = false;
+ int security_level_;
GURL gurl_;
};
« no previous file with comments | « no previous file | chrome/browser/android/vr_shell/textures/url_bar_texture.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698