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

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

Issue 2817663003: Rendering text on insecure-site warnings for WebVR (Closed)
Patch Set: build workaround Created 3 years, 8 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 2b404294d4352f5b32730fab0aa0ca742711e50f..ea96cb83140a33885eaa354faad9694969d12734 100644
--- a/chrome/browser/android/vr_shell/textures/ui_texture.h
+++ b/chrome/browser/android/vr_shell/textures/ui_texture.h
@@ -7,11 +7,13 @@
#include <memory>
+#include "base/strings/string16.h"
#include "third_party/skia/include/core/SkSurface.h"
#include "ui/gfx/geometry/size.h"
namespace gfx {
class Canvas;
+class FontList;
} // namespace gfx
namespace vr_shell {
@@ -28,6 +30,8 @@ class UITexture {
protected:
virtual void Draw(gfx::Canvas* canvas) = 0;
virtual void SetSize() = 0;
+ static bool IsRTL();
+ static gfx::FontList GetFontList(int size, base::string16 text);
int texture_handle_;
int texture_size_;

Powered by Google App Engine
This is Rietveld 408576698