OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 UI_COMPOSITOR_COMPOSITOR_H_ | 5 #ifndef UI_COMPOSITOR_COMPOSITOR_H_ |
6 #define UI_COMPOSITOR_COMPOSITOR_H_ | 6 #define UI_COMPOSITOR_COMPOSITOR_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/hash_tables.h" | 9 #include "base/hash_tables.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.h" |
11 #include "base/observer_list.h" | 11 #include "base/observer_list.h" |
12 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" | 12 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayer.h" |
13 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h" | 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeView.h" |
14 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeViewCli
ent.h" | 14 #include "third_party/WebKit/Source/Platform/chromium/public/WebLayerTreeViewCli
ent.h" |
15 #include "ui/compositor/compositor_export.h" | 15 #include "ui/compositor/compositor_export.h" |
16 #include "ui/gfx/gl/gl_share_group.h" | |
17 #include "ui/gfx/native_widget_types.h" | 16 #include "ui/gfx/native_widget_types.h" |
18 #include "ui/gfx/size.h" | 17 #include "ui/gfx/size.h" |
19 #include "ui/gfx/transform.h" | 18 #include "ui/gfx/transform.h" |
| 19 #include "ui/gl/gl_share_group.h" |
20 | 20 |
21 class SkBitmap; | 21 class SkBitmap; |
22 | 22 |
23 namespace gfx { | 23 namespace gfx { |
24 class GLContext; | 24 class GLContext; |
25 class GLSurface; | 25 class GLSurface; |
26 class GLShareGroup; | 26 class GLShareGroup; |
27 class Point; | 27 class Point; |
28 class Rect; | 28 class Rect; |
29 } | 29 } |
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 bool swap_posted_; | 242 bool swap_posted_; |
243 | 243 |
244 // The device scale factor of the monitor that this compositor is compositing | 244 // The device scale factor of the monitor that this compositor is compositing |
245 // layers on. | 245 // layers on. |
246 float device_scale_factor_; | 246 float device_scale_factor_; |
247 }; | 247 }; |
248 | 248 |
249 } // namespace ui | 249 } // namespace ui |
250 | 250 |
251 #endif // UI_COMPOSITOR_COMPOSITOR_H_ | 251 #endif // UI_COMPOSITOR_COMPOSITOR_H_ |
OLD | NEW |