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/callback.h" | 8 #include "base/callback.h" |
9 #include "base/id_map.h" | 9 #include "base/id_map.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/scoped_vector.h" | 11 #include "base/memory/scoped_vector.h" |
12 #include "base/memory/weak_ptr.h" | 12 #include "base/memory/weak_ptr.h" |
13 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
14 #include "content/browser/compositor/image_transport_factory.h" | 14 #include "content/browser/compositor/image_transport_factory.h" |
15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
16 #include "gpu/command_buffer/common/mailbox_holder.h" | 16 #include "gpu/command_buffer/common/mailbox_holder.h" |
17 #include "ui/compositor/compositor_observer.h" | 17 #include "ui/compositor/compositor_observer.h" |
18 #include "ui/compositor/reflector.h" | 18 #include "ui/compositor/reflector.h" |
19 #include "ui/gfx/geometry/size.h" | 19 #include "ui/gfx/geometry/size.h" |
20 | 20 |
21 namespace base { class MessageLoopProxy; } | |
22 | |
23 namespace gfx { class Rect; } | 21 namespace gfx { class Rect; } |
24 | 22 |
25 namespace ui { | 23 namespace ui { |
26 class Compositor; | 24 class Compositor; |
27 class Layer; | 25 class Layer; |
28 } | 26 } |
29 | 27 |
30 namespace content { | 28 namespace content { |
31 | 29 |
32 class OwnedMailbox; | 30 class OwnedMailbox; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 scoped_refptr<OwnedMailbox> mailbox_; | 91 scoped_refptr<OwnedMailbox> mailbox_; |
94 bool flip_texture_; | 92 bool flip_texture_; |
95 int composition_count_; | 93 int composition_count_; |
96 BrowserCompositorOutputSurface* output_surface_; | 94 BrowserCompositorOutputSurface* output_surface_; |
97 base::Closure composition_started_callback_; | 95 base::Closure composition_started_callback_; |
98 }; | 96 }; |
99 | 97 |
100 } // namespace content | 98 } // namespace content |
101 | 99 |
102 #endif // CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ | 100 #endif // CONTENT_BROWSER_COMPOSITOR_REFLECTOR_IMPL_H_ |
OLD | NEW |