| OLD | NEW |
| 1 // Copyright 2011 The Chromium Authors. All rights reserved. | 1 // Copyright 2011 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 #include "cc/trees/single_thread_proxy.h" | 5 #include "cc/trees/single_thread_proxy.h" |
| 6 | 6 |
| 7 #include "base/auto_reset.h" | 7 #include "base/auto_reset.h" |
| 8 #include "base/debug/trace_event.h" | 8 #include "base/debug/trace_event.h" |
| 9 #include "cc/base/thread.h" | 9 #include "cc/base/thread.h" |
| 10 #include "cc/output/context_provider.h" | 10 #include "cc/output/context_provider.h" |
| 11 #include "cc/output/output_surface.h" | 11 #include "cc/output/output_surface.h" |
| 12 #include "cc/prioritized_resource_manager.h" | |
| 13 #include "cc/quads/draw_quad.h" | 12 #include "cc/quads/draw_quad.h" |
| 14 #include "cc/resource_update_controller.h" | 13 #include "cc/resources/prioritized_resource_manager.h" |
| 14 #include "cc/resources/resource_update_controller.h" |
| 15 #include "cc/trees/layer_tree_host.h" | 15 #include "cc/trees/layer_tree_host.h" |
| 16 #include "cc/trees/layer_tree_impl.h" | 16 #include "cc/trees/layer_tree_impl.h" |
| 17 | 17 |
| 18 namespace cc { | 18 namespace cc { |
| 19 | 19 |
| 20 scoped_ptr<Proxy> SingleThreadProxy::Create(LayerTreeHost* layer_tree_host) { | 20 scoped_ptr<Proxy> SingleThreadProxy::Create(LayerTreeHost* layer_tree_host) { |
| 21 return make_scoped_ptr( | 21 return make_scoped_ptr( |
| 22 new SingleThreadProxy(layer_tree_host)).PassAs<Proxy>(); | 22 new SingleThreadProxy(layer_tree_host)).PassAs<Proxy>(); |
| 23 } | 23 } |
| 24 | 24 |
| (...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 450 | 450 |
| 451 bool SingleThreadProxy::CommitPendingForTesting() { return false; } | 451 bool SingleThreadProxy::CommitPendingForTesting() { return false; } |
| 452 | 452 |
| 453 skia::RefPtr<SkPicture> SingleThreadProxy::CapturePicture() { | 453 skia::RefPtr<SkPicture> SingleThreadProxy::CapturePicture() { |
| 454 // Impl-side painting only. | 454 // Impl-side painting only. |
| 455 NOTREACHED(); | 455 NOTREACHED(); |
| 456 return skia::RefPtr<SkPicture>(); | 456 return skia::RefPtr<SkPicture>(); |
| 457 } | 457 } |
| 458 | 458 |
| 459 } // namespace cc | 459 } // namespace cc |
| OLD | NEW |