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

Side by Side Diff: cc/scheduler.cc

Issue 11410021: Remove WTF and WebCore from cc/ and webkit/compositor_bindings/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix content_browsertests Created 8 years, 1 month 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
« no previous file with comments | « cc/resource_update_queue.cc ('k') | cc/scheduler_state_machine.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "config.h"
6
7 #include "cc/scheduler.h" 5 #include "cc/scheduler.h"
8 6
9 #include "base/auto_reset.h" 7 #include "base/auto_reset.h"
10 #include "base/debug/trace_event.h" 8 #include "base/debug/trace_event.h"
11 #include "base/logging.h" 9 #include "base/logging.h"
12 10
13 namespace cc { 11 namespace cc {
14 12
15 Scheduler::Scheduler(SchedulerClient* client, scoped_ptr<FrameRateController> fr ameRateController) 13 Scheduler::Scheduler(SchedulerClient* client, scoped_ptr<FrameRateController> fr ameRateController)
16 : m_client(client) 14 : m_client(client)
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 } 182 }
185 action = m_stateMachine.nextAction(); 183 action = m_stateMachine.nextAction();
186 } 184 }
187 185
188 // Activate or deactivate the frame rate controller. 186 // Activate or deactivate the frame rate controller.
189 m_frameRateController->setActive(m_stateMachine.vsyncCallbackNeeded()); 187 m_frameRateController->setActive(m_stateMachine.vsyncCallbackNeeded());
190 m_client->didAnticipatedDrawTimeChange(m_frameRateController->nextTickTime() ); 188 m_client->didAnticipatedDrawTimeChange(m_frameRateController->nextTickTime() );
191 } 189 }
192 190
193 } // namespace cc 191 } // namespace cc
OLDNEW
« no previous file with comments | « cc/resource_update_queue.cc ('k') | cc/scheduler_state_machine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698