| 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   bool CheckFontList(int size, base::string16 text); | 
| 81   static gfx::FontList GetFontList(int size, base::string16 text); | 82   static gfx::FontList GetFontList(int size, base::string16 text); | 
| 82 | 83 | 
| 83  private: | 84  private: | 
| 84   bool dirty_ = true; | 85   bool dirty_ = true; | 
| 85 | 86 | 
| 86   DISALLOW_COPY_AND_ASSIGN(UiTexture); | 87   DISALLOW_COPY_AND_ASSIGN(UiTexture); | 
| 87 }; | 88 }; | 
| 88 | 89 | 
| 89 }  // namespace vr_shell | 90 }  // namespace vr_shell | 
| 90 | 91 | 
| 91 #endif  // CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_UI_TEXTURE_H_ | 92 #endif  // CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_UI_TEXTURE_H_ | 
| OLD | NEW | 
|---|