OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ |
6 #define CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ | 6 #define CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ |
7 | 7 |
8 #include "base/id_map.h" | 8 #include "base/id_map.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "base/memory/weak_ptr.h" | 10 #include "base/memory/weak_ptr.h" |
11 #include "base/synchronization/lock.h" | 11 #include "base/synchronization/lock.h" |
12 #include "content/browser/compositor/image_transport_factory.h" | 12 #include "content/browser/compositor/image_transport_factory.h" |
13 #include "gpu/command_buffer/common/mailbox_holder.h" | 13 #include "gpu/command_buffer/common/mailbox_holder.h" |
14 #include "ui/compositor/reflector.h" | 14 #include "ui/compositor/reflector.h" |
15 #include "ui/gfx/size.h" | 15 #include "ui/gfx/geometry/size.h" |
16 | 16 |
17 namespace base { class MessageLoopProxy; } | 17 namespace base { class MessageLoopProxy; } |
18 | 18 |
19 namespace gfx { class Rect; } | 19 namespace gfx { class Rect; } |
20 | 20 |
21 namespace ui { | 21 namespace ui { |
22 class Compositor; | 22 class Compositor; |
23 class Layer; | 23 class Layer; |
24 } | 24 } |
25 | 25 |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 | 131 |
132 // Can be accessed on both. | 132 // Can be accessed on both. |
133 scoped_refptr<base::MessageLoopProxy> impl_message_loop_; | 133 scoped_refptr<base::MessageLoopProxy> impl_message_loop_; |
134 scoped_refptr<base::MessageLoopProxy> main_message_loop_; | 134 scoped_refptr<base::MessageLoopProxy> main_message_loop_; |
135 int surface_id_; | 135 int surface_id_; |
136 }; | 136 }; |
137 | 137 |
138 } // namespace content | 138 } // namespace content |
139 | 139 |
140 #endif // CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ | 140 #endif // CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ |
OLD | NEW |