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

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

Issue 2878543002: Refactor VR Shell Input. Locks input to click/scroll targets. (Closed)
Patch Set: Address comments 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/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 81630ead6d5444734938978feec9465871978240..3231f46ec02c52cb483fd9d5754cbf2fda1f0015 100644
--- a/chrome/browser/android/vr_shell/textures/url_bar_texture.h
+++ b/chrome/browser/android/vr_shell/textures/url_bar_texture.h
@@ -13,12 +13,15 @@ namespace vr_shell {
class UrlBarTexture : public UiTexture {
public:
+ enum DrawFlags {
+ FLAG_HOVER = 1 << 0,
+ };
+
UrlBarTexture();
~UrlBarTexture() override;
gfx::Size GetPreferredTextureSize(int width) const override;
gfx::SizeF GetDrawnSize() const override;
- void SetHover(bool hover);
void SetURL(const GURL& gurl);
void SetSecurityLevel(int level);
@@ -27,7 +30,6 @@ class UrlBarTexture : public UiTexture {
float ToPixels(float meters) const;
gfx::SizeF size_;
- bool hover_ = false;
int security_level_;
GURL gurl_;
};
« no previous file with comments | « chrome/browser/android/vr_shell/textures/ui_texture.cc ('k') | 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