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

Side by Side Diff: cc/thread_proxy.cc

Issue 12912006: Part 4 of cc/ directory shuffles: output (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/thread_proxy.h" 5 #include "cc/thread_proxy.h"
6 6
7 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/debug/trace_event.h" 9 #include "base/debug/trace_event.h"
10 #include "cc/base/thread.h" 10 #include "cc/base/thread.h"
11 #include "cc/context_provider.h"
12 #include "cc/delay_based_time_source.h" 11 #include "cc/delay_based_time_source.h"
13 #include "cc/draw_quad.h" 12 #include "cc/draw_quad.h"
14 #include "cc/frame_rate_controller.h" 13 #include "cc/frame_rate_controller.h"
15 #include "cc/input_handler.h" 14 #include "cc/input_handler.h"
16 #include "cc/layer_tree_host.h" 15 #include "cc/layer_tree_host.h"
17 #include "cc/layer_tree_impl.h" 16 #include "cc/layer_tree_impl.h"
18 #include "cc/output_surface.h" 17 #include "cc/output/context_provider.h"
18 #include "cc/output/output_surface.h"
19 #include "cc/prioritized_resource_manager.h" 19 #include "cc/prioritized_resource_manager.h"
20 #include "cc/scheduler.h" 20 #include "cc/scheduler.h"
21 21
22 namespace { 22 namespace {
23 23
24 // Measured in seconds. 24 // Measured in seconds.
25 const double kContextRecreationTickRate = 0.03; 25 const double kContextRecreationTickRate = 0.03;
26 26
27 // Measured in seconds. 27 // Measured in seconds.
28 const double kSmoothnessTakesPriorityExpirationDelay = 0.25; 28 const double kSmoothnessTakesPriorityExpirationDelay = 0.25;
(...skipping 1303 matching lines...) Expand 10 before | Expand all | Expand 10 after
1332 base::Bind(&ThreadProxy::StartScrollbarAnimationOnImplThread, 1332 base::Bind(&ThreadProxy::StartScrollbarAnimationOnImplThread,
1333 impl_thread_weak_ptr_), 1333 impl_thread_weak_ptr_),
1334 delay); 1334 delay);
1335 } 1335 }
1336 1336
1337 void ThreadProxy::StartScrollbarAnimationOnImplThread() { 1337 void ThreadProxy::StartScrollbarAnimationOnImplThread() {
1338 layer_tree_host_impl_->StartScrollbarAnimation(base::TimeTicks::Now()); 1338 layer_tree_host_impl_->StartScrollbarAnimation(base::TimeTicks::Now());
1339 } 1339 }
1340 1340
1341 } // namespace cc 1341 } // namespace cc
OLDNEW
« no previous file with comments | « cc/texture_layer_impl.cc ('k') | cc/video_layer_impl.cc » ('j') | content/common/view_messages.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698