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

Unified Diff: chrome/browser/android/vr_shell/textures/ui_texture.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/textures/ui_texture.h
diff --git a/chrome/browser/android/vr_shell/textures/ui_texture.h b/chrome/browser/android/vr_shell/textures/ui_texture.h
index e619c430b0c73645fa6791819affe20034f41d4c..f1529b3dd8ccc4de94ff1d78fe2854354c8f5a1e 100644
--- a/chrome/browser/android/vr_shell/textures/ui_texture.h
+++ b/chrome/browser/android/vr_shell/textures/ui_texture.h
@@ -14,7 +14,6 @@
class SkCanvas;
namespace gfx {
-class Canvas;
class FontList;
} // namespace gfx
@@ -30,9 +29,10 @@ class UiTexture {
virtual gfx::SizeF GetDrawnSize() const = 0;
protected:
- virtual void Draw(gfx::Canvas* canvas, const gfx::Size& texture_size) = 0;
+ virtual void Draw(SkCanvas* canvas, const gfx::Size& texture_size) = 0;
static bool IsRTL();
+ static gfx::FontList GetDefaultFontList(int size);
static gfx::FontList GetFontList(int size, base::string16 text);
};

Powered by Google App Engine
This is Rietveld 408576698