| 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 void onNavigationStarted() override {} | |
| 112 | 111 |
| 113 private: | 112 private: |
| 114 WTF::Deque<std::unique_ptr<WebTaskRunner::Task>> m_tasks; | 113 WTF::Deque<std::unique_ptr<WebTaskRunner::Task>> m_tasks; |
| 115 }; | 114 }; |
| 116 | 115 |
| 117 class TestingPlatformSupport : public Platform { | 116 class TestingPlatformSupport : public Platform { |
| 118 WTF_MAKE_NONCOPYABLE(TestingPlatformSupport); | 117 WTF_MAKE_NONCOPYABLE(TestingPlatformSupport); |
| 119 | 118 |
| 120 public: | 119 public: |
| 121 struct Config { | 120 struct Config { |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 m_discardableMemoryAllocator; | 207 m_discardableMemoryAllocator; |
| 209 std::unique_ptr<DummyPlatform> m_platform; | 208 std::unique_ptr<DummyPlatform> m_platform; |
| 210 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; | 209 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; |
| 211 TestingPlatformSupport::Config m_testingPlatformConfig; | 210 TestingPlatformSupport::Config m_testingPlatformConfig; |
| 212 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; | 211 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; |
| 213 }; | 212 }; |
| 214 | 213 |
| 215 } // namespace blink | 214 } // namespace blink |
| 216 | 215 |
| 217 #endif // TestingPlatformSupport_h | 216 #endif // TestingPlatformSupport_h |
| OLD | NEW |