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 COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ | 5 #ifndef COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ |
6 #define COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ | 6 #define COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "base/single_thread_task_runner.h" | 12 #include "base/single_thread_task_runner.h" |
13 #include "cc/trees/layer_tree_host_client.h" | 13 #include "cc/trees/layer_tree_host_client.h" |
14 #include "components/gpu/public/interfaces/gpu.mojom.h" | 14 #include "components/view_manager/public/interfaces/gpu.mojom.h" |
15 #include "components/surfaces/public/interfaces/surfaces.mojom.h" | 15 #include "components/view_manager/public/interfaces/surfaces.mojom.h" |
16 #include "mojo/cc/output_surface_mojo.h" | 16 #include "mojo/cc/output_surface_mojo.h" |
17 #include "third_party/WebKit/public/platform/WebLayerTreeView.h" | 17 #include "third_party/WebKit/public/platform/WebLayerTreeView.h" |
18 | 18 |
19 namespace base { | 19 namespace base { |
20 class MessageLoopProxy; | 20 class MessageLoopProxy; |
21 } | 21 } |
22 | 22 |
23 namespace blink { | 23 namespace blink { |
24 class WebWidget; | 24 class WebWidget; |
25 } | 25 } |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 main_thread_compositor_task_runner_; | 126 main_thread_compositor_task_runner_; |
127 base::WeakPtr<WebLayerTreeViewImpl> main_thread_bound_weak_ptr_; | 127 base::WeakPtr<WebLayerTreeViewImpl> main_thread_bound_weak_ptr_; |
128 | 128 |
129 base::WeakPtrFactory<WebLayerTreeViewImpl> weak_factory_; | 129 base::WeakPtrFactory<WebLayerTreeViewImpl> weak_factory_; |
130 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImpl); | 130 DISALLOW_COPY_AND_ASSIGN(WebLayerTreeViewImpl); |
131 }; | 131 }; |
132 | 132 |
133 } // namespace html_viewer | 133 } // namespace html_viewer |
134 | 134 |
135 #endif // COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ | 135 #endif // COMPONENTS_HTML_VIEWER_WEB_LAYER_TREE_VIEW_IMPL_H_ |
OLD | NEW |