| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2014 Google Inc. All rights reserved. | 2 * Copyright (C) 2014 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 WebThread::IdleTask*) override {} | 101 WebThread::IdleTask*) override {} |
| 102 std::unique_ptr<WebViewScheduler> createWebViewScheduler( | 102 std::unique_ptr<WebViewScheduler> createWebViewScheduler( |
| 103 InterventionReporter*, | 103 InterventionReporter*, |
| 104 WebViewScheduler::WebViewSchedulerSettings*) override { | 104 WebViewScheduler::WebViewSchedulerSettings*) override { |
| 105 return nullptr; | 105 return nullptr; |
| 106 } | 106 } |
| 107 void suspendTimerQueue() override {} | 107 void suspendTimerQueue() override {} |
| 108 void resumeTimerQueue() override {} | 108 void resumeTimerQueue() override {} |
| 109 void addPendingNavigation(WebScheduler::NavigatingFrameType) override {} | 109 void addPendingNavigation(WebScheduler::NavigatingFrameType) override {} |
| 110 void removePendingNavigation(WebScheduler::NavigatingFrameType) override {} | 110 void removePendingNavigation(WebScheduler::NavigatingFrameType) override {} |
| 111 | |
| 112 private: | |
| 113 WTF::Deque<std::unique_ptr<WebTaskRunner::Task>> m_tasks; | |
| 114 }; | 111 }; |
| 115 | 112 |
| 116 class TestingPlatformSupport : public Platform { | 113 class TestingPlatformSupport : public Platform { |
| 117 WTF_MAKE_NONCOPYABLE(TestingPlatformSupport); | 114 WTF_MAKE_NONCOPYABLE(TestingPlatformSupport); |
| 118 | 115 |
| 119 public: | 116 public: |
| 120 struct Config { | 117 struct Config { |
| 121 WebCompositorSupport* compositorSupport = nullptr; | 118 WebCompositorSupport* compositorSupport = nullptr; |
| 122 }; | 119 }; |
| 123 | 120 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 m_discardableMemoryAllocator; | 204 m_discardableMemoryAllocator; |
| 208 std::unique_ptr<DummyPlatform> m_platform; | 205 std::unique_ptr<DummyPlatform> m_platform; |
| 209 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; | 206 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; |
| 210 TestingPlatformSupport::Config m_testingPlatformConfig; | 207 TestingPlatformSupport::Config m_testingPlatformConfig; |
| 211 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; | 208 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; |
| 212 }; | 209 }; |
| 213 | 210 |
| 214 } // namespace blink | 211 } // namespace blink |
| 215 | 212 |
| 216 #endif // TestingPlatformSupport_h | 213 #endif // TestingPlatformSupport_h |
| OLD | NEW |