OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_MOCK_RENDERER_SCHEDULE
R_H_ | 5 #ifndef THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_MOCK_RENDERER_SCHEDULE
R_H_ |
6 #define THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_MOCK_RENDERER_SCHEDULE
R_H_ | 6 #define THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_MOCK_RENDERER_SCHEDULE
R_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/message_loop/message_loop.h" | 9 #include "base/message_loop/message_loop.h" |
| 10 #include "base/single_thread_task_runner.h" |
10 #include "cc/output/begin_frame_args.h" | 11 #include "cc/output/begin_frame_args.h" |
11 #include "public/platform/WebThread.h" | 12 #include "public/platform/WebThread.h" |
12 #include "public/platform/scheduler/renderer/renderer_scheduler.h" | 13 #include "public/platform/scheduler/renderer/renderer_scheduler.h" |
13 #include "testing/gmock/include/gmock/gmock.h" | 14 #include "testing/gmock/include/gmock/gmock.h" |
14 | 15 |
15 namespace blink { | 16 namespace blink { |
16 namespace scheduler { | 17 namespace scheduler { |
17 | 18 |
18 class MockRendererScheduler : public RendererScheduler { | 19 class MockRendererScheduler : public RendererScheduler { |
19 public: | 20 public: |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 MOCK_METHOD1(MainThreadSeemsUnresponsive, bool(base::TimeDelta)); | 63 MOCK_METHOD1(MainThreadSeemsUnresponsive, bool(base::TimeDelta)); |
63 | 64 |
64 private: | 65 private: |
65 DISALLOW_COPY_AND_ASSIGN(MockRendererScheduler); | 66 DISALLOW_COPY_AND_ASSIGN(MockRendererScheduler); |
66 }; | 67 }; |
67 | 68 |
68 } // namespace scheduler | 69 } // namespace scheduler |
69 } // namespace blink | 70 } // namespace blink |
70 | 71 |
71 #endif // THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_MOCK_RENDERER_SCHED
ULER_H_ | 72 #endif // THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_MOCK_RENDERER_SCHED
ULER_H_ |
OLD | NEW |