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

Side by Side Diff: cc/test/scheduler_test_common.h

Issue 11145033: cc: Get rid of CC*.h temporary header files. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased - fixed the conflicts hopefuly Created 8 years, 2 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
« no previous file with comments | « cc/test/animation_test_common.h ('k') | cc/test/tiled_layer_test_common.h » ('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 #ifndef CCSchedulerTestCommon_h 5 #ifndef CCSchedulerTestCommon_h
6 #define CCSchedulerTestCommon_h 6 #define CCSchedulerTestCommon_h
7 7
8 #include "CCDelayBasedTimeSource.h" 8 #include "CCDelayBasedTimeSource.h"
9 #include "CCFrameRateController.h" 9 #include "CCFrameRateController.h"
10 #include "CCThread.h" 10 #include "cc/thread.h"
11 #include "base/threading/platform_thread.h" 11 #include "base/threading/platform_thread.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 #include <wtf/OwnPtr.h> 13 #include <wtf/OwnPtr.h>
14 14
15 namespace WebKitTests { 15 namespace WebKitTests {
16 16
17 class FakeCCTimeSourceClient : public cc::CCTimeSourceClient { 17 class FakeCCTimeSourceClient : public cc::CCTimeSourceClient {
18 public: 18 public:
19 FakeCCTimeSourceClient() { reset(); } 19 FakeCCTimeSourceClient() { reset(); }
20 void reset() { m_tickCalled = false; } 20 void reset() { m_tickCalled = false; }
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 class FakeCCFrameRateController : public cc::CCFrameRateController { 122 class FakeCCFrameRateController : public cc::CCFrameRateController {
123 public: 123 public:
124 FakeCCFrameRateController(PassRefPtr<cc::CCTimeSource> timer) : cc::CCFrameR ateController(timer) { } 124 FakeCCFrameRateController(PassRefPtr<cc::CCTimeSource> timer) : cc::CCFrameR ateController(timer) { }
125 125
126 int numFramesPending() const { return m_numFramesPending; } 126 int numFramesPending() const { return m_numFramesPending; }
127 }; 127 };
128 128
129 } 129 }
130 130
131 #endif // CCSchedulerTestCommon_h 131 #endif // CCSchedulerTestCommon_h
OLDNEW
« no previous file with comments | « cc/test/animation_test_common.h ('k') | cc/test/tiled_layer_test_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698