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

Side by Side Diff: chrome/browser/android/vr_shell/textures/ui_texture.h

Issue 2884453002: VR: audio and video capture indicators. (Closed)
Patch Set: rebase 2 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 unified diff | Download patch
OLDNEW
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
11 #include "base/macros.h"
11 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
12 #include "third_party/skia/include/core/SkColor.h" 13 #include "third_party/skia/include/core/SkColor.h"
13 #include "ui/gfx/geometry/rect.h" 14 #include "ui/gfx/geometry/rect.h"
14 #include "ui/gfx/geometry/size.h" 15 #include "ui/gfx/geometry/size.h"
15 #include "ui/gfx/geometry/size_f.h" 16 #include "ui/gfx/geometry/size_f.h"
16 17
17 class SkCanvas; 18 class SkCanvas;
18 19
19 namespace gfx { 20 namespace gfx {
20 21
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 65
65 void set_dirty() { dirty_ = true; } 66 void set_dirty() { dirty_ = true; }
66 67
67 static bool IsRTL(); 68 static bool IsRTL();
68 static gfx::FontList GetDefaultFontList(int size); 69 static gfx::FontList GetDefaultFontList(int size);
69 static gfx::FontList GetFontList(int size, base::string16 text); 70 static gfx::FontList GetFontList(int size, base::string16 text);
70 71
71 private: 72 private:
72 int draw_flags_ = 0; 73 int draw_flags_ = 0;
73 bool dirty_ = false; 74 bool dirty_ = false;
75
76 DISALLOW_COPY_AND_ASSIGN(UiTexture);
74 }; 77 };
75 78
76 } // namespace vr_shell 79 } // namespace vr_shell
77 80
78 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_UI_TEXTURE_H_ 81 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_TEXTURES_UI_TEXTURE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698