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 "cc/output/begin_frame_args.h" | 10 #include "cc/output/begin_frame_args.h" |
10 #include "public/platform/WebThread.h" | 11 #include "public/platform/WebThread.h" |
11 #include "public/platform/scheduler/renderer/renderer_scheduler.h" | 12 #include "public/platform/scheduler/renderer/renderer_scheduler.h" |
12 #include "testing/gmock/include/gmock/gmock.h" | 13 #include "testing/gmock/include/gmock/gmock.h" |
13 | 14 |
14 namespace blink { | 15 namespace blink { |
15 namespace scheduler { | 16 namespace scheduler { |
16 | 17 |
17 class MockRendererScheduler : public RendererScheduler { | 18 class MockRendererScheduler : public RendererScheduler { |
18 public: | 19 public: |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 MOCK_METHOD1(MainThreadSeemsUnresponsive, bool(base::TimeDelta)); | 62 MOCK_METHOD1(MainThreadSeemsUnresponsive, bool(base::TimeDelta)); |
62 | 63 |
63 private: | 64 private: |
64 DISALLOW_COPY_AND_ASSIGN(MockRendererScheduler); | 65 DISALLOW_COPY_AND_ASSIGN(MockRendererScheduler); |
65 }; | 66 }; |
66 | 67 |
67 } // namespace scheduler | 68 } // namespace scheduler |
68 } // namespace blink | 69 } // namespace blink |
69 | 70 |
70 #endif // THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_MOCK_RENDERER_SCHED
ULER_H_ | 71 #endif // THIRD_PARTY_WEBKIT_PUBLIC_PLATFORM_SCHEDULER_TEST_MOCK_RENDERER_SCHED
ULER_H_ |
OLD | NEW |