Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(270)

Side by Side Diff: cc/single_thread_proxy.cc

Issue 12472028: Part 1 of cc/ directory shuffles: base (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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/single_thread_proxy.h" 5 #include "cc/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/context_provider.h" 10 #include "cc/context_provider.h"
10 #include "cc/draw_quad.h" 11 #include "cc/draw_quad.h"
11 #include "cc/layer_tree_host.h" 12 #include "cc/layer_tree_host.h"
12 #include "cc/layer_tree_impl.h" 13 #include "cc/layer_tree_impl.h"
13 #include "cc/output_surface.h" 14 #include "cc/output_surface.h"
14 #include "cc/prioritized_resource_manager.h" 15 #include "cc/prioritized_resource_manager.h"
15 #include "cc/resource_update_controller.h" 16 #include "cc/resource_update_controller.h"
16 #include "cc/thread.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
25 SingleThreadProxy::SingleThreadProxy(LayerTreeHost* layer_tree_host) 25 SingleThreadProxy::SingleThreadProxy(LayerTreeHost* layer_tree_host)
26 : Proxy(scoped_ptr<Thread>(NULL)), 26 : Proxy(scoped_ptr<Thread>(NULL)),
(...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
451 451
452 bool SingleThreadProxy::CommitPendingForTesting() { return false; } 452 bool SingleThreadProxy::CommitPendingForTesting() { return false; }
453 453
454 skia::RefPtr<SkPicture> SingleThreadProxy::CapturePicture() { 454 skia::RefPtr<SkPicture> SingleThreadProxy::CapturePicture() {
455 // Impl-side painting only. 455 // Impl-side painting only.
456 NOTREACHED(); 456 NOTREACHED();
457 return skia::RefPtr<SkPicture>(); 457 return skia::RefPtr<SkPicture>();
458 } 458 }
459 459
460 } // namespace cc 460 } // namespace cc
OLDNEW
« cc/cc.gyp ('K') | « cc/shared_quad_state.h ('k') | cc/software_frame_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698