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

Side by Side Diff: chrome/browser/android/vr_shell/vr_shell_gl.h

Issue 2856023003: Make UiElement a class (Closed)
Patch Set: rebase 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_VR_SHELL_GL_H_ 5 #ifndef CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_GL_H_
6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_GL_H_ 6 #define CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_GL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 #include <utility> 10 #include <utility>
(...skipping 24 matching lines...) Expand all
35 } 35 }
36 36
37 namespace gpu { 37 namespace gpu {
38 struct MailboxHolder; 38 struct MailboxHolder;
39 } 39 }
40 40
41 namespace vr_shell { 41 namespace vr_shell {
42 42
43 class FPSMeter; 43 class FPSMeter;
44 class MailboxToSurfaceBridge; 44 class MailboxToSurfaceBridge;
45 class UiElement;
45 class UiScene; 46 class UiScene;
46 class VrBrowserInterface; 47 class VrBrowserInterface;
47 class VrController; 48 class VrController;
48 class VrShell; 49 class VrShell;
49 class VrShellRenderer; 50 class VrShellRenderer;
50 struct UiElement;
51 51
52 struct WebVrBounds { 52 struct WebVrBounds {
53 WebVrBounds(const gfx::RectF& left, 53 WebVrBounds(const gfx::RectF& left,
54 const gfx::RectF& right, 54 const gfx::RectF& right,
55 const gfx::Size& size) 55 const gfx::Size& size)
56 : left_bounds(left), right_bounds(right), source_size(size) {} 56 : left_bounds(left), right_bounds(right), source_size(size) {}
57 gfx::RectF left_bounds; 57 gfx::RectF left_bounds;
58 gfx::RectF right_bounds; 58 gfx::RectF right_bounds;
59 gfx::Size source_size; 59 gfx::Size source_size;
60 }; 60 };
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 gfx::Point3F pointer_start_; 245 gfx::Point3F pointer_start_;
246 246
247 base::WeakPtrFactory<VrShellGl> weak_ptr_factory_; 247 base::WeakPtrFactory<VrShellGl> weak_ptr_factory_;
248 248
249 DISALLOW_COPY_AND_ASSIGN(VrShellGl); 249 DISALLOW_COPY_AND_ASSIGN(VrShellGl);
250 }; 250 };
251 251
252 } // namespace vr_shell 252 } // namespace vr_shell
253 253
254 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_GL_H_ 254 #endif // CHROME_BROWSER_ANDROID_VR_SHELL_VR_SHELL_GL_H_
OLDNEW
« no previous file with comments | « chrome/browser/android/vr_shell/ui_scene_unittest.cc ('k') | chrome/browser/android/vr_shell/vr_shell_gl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698