| 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 "cc/output/begin_frame_args.h" |
| 9 #include "public/platform/scheduler/renderer/renderer_scheduler.h" | 10 #include "public/platform/scheduler/renderer/renderer_scheduler.h" |
| 10 #include "testing/gmock/include/gmock/gmock.h" | 11 #include "testing/gmock/include/gmock/gmock.h" |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 namespace scheduler { | 14 namespace scheduler { |
| 14 | 15 |
| 15 class MockRendererScheduler : public RendererScheduler { | 16 class MockRendererScheduler : public RendererScheduler { |
| 16 public: | 17 public: |
| 17 MockRendererScheduler() = default; | 18 MockRendererScheduler() = default; |
| 18 ~MockRendererScheduler() override = default; | 19 ~MockRendererScheduler() override = default; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 62 MOCK_METHOD0(MainThreadSeemsUnresponsive, bool()); | 63 MOCK_METHOD0(MainThreadSeemsUnresponsive, bool()); |
| 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 |