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 ANDROID_WEBVIEW_BROWSER_RENDER_THREAD_MANAGER_H_ | 5 #ifndef ANDROID_WEBVIEW_BROWSER_RENDER_THREAD_MANAGER_H_ |
6 #define ANDROID_WEBVIEW_BROWSER_RENDER_THREAD_MANAGER_H_ | 6 #define ANDROID_WEBVIEW_BROWSER_RENDER_THREAD_MANAGER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 #include "android_webview/browser/compositor_frame_consumer.h" | 10 #include "android_webview/browser/compositor_frame_consumer.h" |
11 #include "android_webview/browser/gl_view_renderer_manager.h" | 11 #include "android_webview/browser/gl_view_renderer_manager.h" |
12 #include "android_webview/browser/parent_compositor_draw_constraints.h" | 12 #include "android_webview/browser/parent_compositor_draw_constraints.h" |
13 #include "base/cancelable_callback.h" | 13 #include "base/cancelable_callback.h" |
14 #include "base/macros.h" | 14 #include "base/macros.h" |
15 #include "base/memory/weak_ptr.h" | 15 #include "base/memory/weak_ptr.h" |
16 #include "base/single_thread_task_runner.h" | 16 #include "base/single_thread_task_runner.h" |
17 #include "base/synchronization/lock.h" | 17 #include "base/synchronization/lock.h" |
18 #include "cc/output/compositor_frame_ack.h" | |
19 #include "ui/gfx/geometry/rect.h" | 18 #include "ui/gfx/geometry/rect.h" |
20 #include "ui/gfx/geometry/vector2d.h" | 19 #include "ui/gfx/geometry/vector2d.h" |
21 | 20 |
22 struct AwDrawGLInfo; | 21 struct AwDrawGLInfo; |
23 namespace android_webview { | 22 namespace android_webview { |
24 | 23 |
25 namespace internal { | 24 namespace internal { |
26 class RequestInvokeGLTracker; | 25 class RequestInvokeGLTracker; |
27 } | 26 } |
28 | 27 |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 base::Closure request_draw_gl_closure_; | 114 base::Closure request_draw_gl_closure_; |
116 | 115 |
117 base::WeakPtrFactory<RenderThreadManager> weak_factory_on_ui_thread_; | 116 base::WeakPtrFactory<RenderThreadManager> weak_factory_on_ui_thread_; |
118 | 117 |
119 DISALLOW_COPY_AND_ASSIGN(RenderThreadManager); | 118 DISALLOW_COPY_AND_ASSIGN(RenderThreadManager); |
120 }; | 119 }; |
121 | 120 |
122 } // namespace android_webview | 121 } // namespace android_webview |
123 | 122 |
124 #endif // ANDROID_WEBVIEW_BROWSER_RENDER_THREAD_MANAGER_H_ | 123 #endif // ANDROID_WEBVIEW_BROWSER_RENDER_THREAD_MANAGER_H_ |
OLD | NEW |