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

Unified Diff: chrome/browser/android/vr_shell/ui_elements/textured_element.h

Issue 2862283002: VR: Add initial URL bar element and texture. (Closed)
Patch Set: Drop anti-aliasing. 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/textured_element.h
diff --git a/chrome/browser/android/vr_shell/ui_elements/textured_element.h b/chrome/browser/android/vr_shell/ui_elements/textured_element.h
index e6cc7f73e7523b01fd20eafe61b8c6bbfac30b6d..d2858f33b2f9363886b2114a7e1d8dea2fed8e77 100644
--- a/chrome/browser/android/vr_shell/ui_elements/textured_element.h
+++ b/chrome/browser/android/vr_shell/ui_elements/textured_element.h
@@ -23,14 +23,15 @@ class TexturedElement : public UiElement {
explicit TexturedElement(int maximum_width);
~TexturedElement() override;
- void Initialize() override;
+ void Initialize() final;
// UiElement interface.
void Render(VrShellRenderer* renderer,
- vr::Mat4f view_proj_matrix) const override;
+ vr::Mat4f view_proj_matrix) const final;
protected:
virtual UiTexture* GetTexture() const = 0;
+ void Update();
private:
void Flush(SkSurface* surface);

Powered by Google App Engine
This is Rietveld 408576698