| OLD | NEW | 
|   1 // Copyright 2017 The Chromium Authors. All rights reserved. |   1 // Copyright 2017 The Chromium Authors. All rights reserved. | 
|   2 // Use of this source code is governed by a BSD-style license that can be |   2 // Use of this source code is governed by a BSD-style license that can be | 
|   3 // found in the LICENSE file. |   3 // found in the LICENSE file. | 
|   4  |   4  | 
|   5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_UI_TEXTURE_H_ |   5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_UI_TEXTURE_H_ | 
|   6 #define CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_UI_TEXTURE_H_ |   6 #define CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_UI_TEXTURE_H_ | 
|   7  |   7  | 
|   8 #include <memory> |   8 #include <memory> | 
|   9 #include <vector> |   9 #include <vector> | 
|  10  |  10  | 
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  71   static std::unique_ptr<gfx::RenderText> CreateRenderText( |  71   static std::unique_ptr<gfx::RenderText> CreateRenderText( | 
|  72       const base::string16& text, |  72       const base::string16& text, | 
|  73       const gfx::FontList& font_list, |  73       const gfx::FontList& font_list, | 
|  74       SkColor color, |  74       SkColor color, | 
|  75       TextAlignment text_alignment); |  75       TextAlignment text_alignment); | 
|  76  |  76  | 
|  77   void set_dirty() { dirty_ = true; } |  77   void set_dirty() { dirty_ = true; } | 
|  78  |  78  | 
|  79   static bool IsRTL(); |  79   static bool IsRTL(); | 
|  80   static gfx::FontList GetDefaultFontList(int size); |  80   static gfx::FontList GetDefaultFontList(int size); | 
|  81   static gfx::FontList GetFontList(int size, base::string16 text); |  81   static bool GetFontList(int size, | 
 |  82                           base::string16 text, | 
 |  83                           gfx::FontList* font_list); | 
 |  84   static void SetForceFontFallbackFailureForTesting(bool force); | 
|  82  |  85  | 
|  83  private: |  86  private: | 
|  84   bool dirty_ = true; |  87   bool dirty_ = true; | 
|  85  |  88  | 
|  86   DISALLOW_COPY_AND_ASSIGN(UiTexture); |  89   DISALLOW_COPY_AND_ASSIGN(UiTexture); | 
|  87 }; |  90 }; | 
|  88  |  91  | 
|  89 }  // namespace vr_shell |  92 }  // namespace vr_shell | 
|  90  |  93  | 
|  91 #endif  // CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_UI_TEXTURE_H_ |  94 #endif  // CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_UI_TEXTURE_H_ | 
| OLD | NEW |