OLD | NEW |
1 // Copyright (c) 2013 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_AURA_REFLECTOR_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ |
6 #define CONTENT_BROWSER_AURA_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 "content/browser/aura/image_transport_factory.h" | 11 #include "content/browser/compositor/image_transport_factory.h" |
12 #include "ui/compositor/reflector.h" | 12 #include "ui/compositor/reflector.h" |
13 #include "ui/gfx/size.h" | 13 #include "ui/gfx/size.h" |
14 | 14 |
15 namespace base { class MessageLoopProxy; } | 15 namespace base { class MessageLoopProxy; } |
16 | 16 |
17 namespace gfx { class Rect; } | 17 namespace gfx { class Rect; } |
18 | 18 |
19 namespace ui { | 19 namespace ui { |
20 class Compositor; | 20 class Compositor; |
21 class Layer; | 21 class Layer; |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 ui::Compositor* mirroring_compositor_; | 115 ui::Compositor* mirroring_compositor_; |
116 ui::Layer* mirroring_layer_; | 116 ui::Layer* mirroring_layer_; |
117 scoped_refptr<ui::Texture> shared_texture_; | 117 scoped_refptr<ui::Texture> shared_texture_; |
118 scoped_refptr<base::MessageLoopProxy> impl_message_loop_; | 118 scoped_refptr<base::MessageLoopProxy> impl_message_loop_; |
119 scoped_refptr<base::MessageLoopProxy> main_message_loop_; | 119 scoped_refptr<base::MessageLoopProxy> main_message_loop_; |
120 int surface_id_; | 120 int surface_id_; |
121 }; | 121 }; |
122 | 122 |
123 } // namespace content | 123 } // namespace content |
124 | 124 |
125 #endif // CONTENT_BROWSER_AURA_REFLECTOR_IMPL_H_ | 125 #endif // CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ |
OLD | NEW |