| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 5 #ifndef CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
| 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 6 #define CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
| 7 | 7 |
| 8 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "base/time/time.h" | 10 #include "base/time/time.h" |
| 11 #include "base/values.h" | 11 #include "base/values.h" |
| 12 #include "cc/base/swap_promise.h" | 12 #include "cc/base/swap_promise.h" |
| 13 #include "cc/base/swap_promise_monitor.h" | 13 #include "cc/base/swap_promise_monitor.h" |
| 14 #include "cc/input/top_controls_state.h" | 14 #include "cc/input/top_controls_state.h" |
| 15 #include "cc/trees/layer_tree_host_client.h" | 15 #include "cc/trees/layer_tree_host_client.h" |
| 16 #include "cc/trees/layer_tree_host_single_thread_client.h" | 16 #include "cc/trees/layer_tree_host_single_thread_client.h" |
| 17 #include "cc/trees/layer_tree_settings.h" | 17 #include "cc/trees/layer_tree_settings.h" |
| 18 #include "content/common/content_export.h" | 18 #include "content/common/content_export.h" |
| 19 #include "content/renderer/gpu/compositor_dependencies.h" | 19 #include "content/renderer/gpu/compositor_dependencies.h" |
| 20 #include "third_party/WebKit/public/platform/WebLayerTreeView.h" | 20 #include "third_party/WebKit/public/platform/WebLayerTreeView.h" |
| 21 #include "third_party/skia/include/core/SkBitmap.h" | 21 #include "third_party/skia/include/core/SkBitmap.h" |
| 22 #include "ui/gfx/rect.h" | 22 #include "ui/gfx/geometry/rect.h" |
| 23 | 23 |
| 24 namespace ui { | 24 namespace ui { |
| 25 struct LatencyInfo; | 25 struct LatencyInfo; |
| 26 } | 26 } |
| 27 | 27 |
| 28 namespace cc { | 28 namespace cc { |
| 29 class CopyOutputRequest; | 29 class CopyOutputRequest; |
| 30 class InputHandler; | 30 class InputHandler; |
| 31 class Layer; | 31 class Layer; |
| 32 class LayerTreeHost; | 32 class LayerTreeHost; |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 base::TimeTicks begin_main_frame_time_; | 184 base::TimeTicks begin_main_frame_time_; |
| 185 // The time interval between BeginMainFrame calls, provided by the scheduler. | 185 // The time interval between BeginMainFrame calls, provided by the scheduler. |
| 186 base::TimeDelta begin_main_frame_interval_; | 186 base::TimeDelta begin_main_frame_interval_; |
| 187 | 187 |
| 188 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; | 188 base::WeakPtrFactory<RenderWidgetCompositor> weak_factory_; |
| 189 }; | 189 }; |
| 190 | 190 |
| 191 } // namespace content | 191 } // namespace content |
| 192 | 192 |
| 193 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ | 193 #endif // CONTENT_RENDERER_GPU_RENDER_WIDGET_COMPOSITOR_H_ |
| OLD | NEW |