| 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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 94 // WebScheduler implementation: | 94 // WebScheduler implementation: |
| 95 WebTaskRunner* loadingTaskRunner() override; | 95 WebTaskRunner* loadingTaskRunner() override; |
| 96 WebTaskRunner* timerTaskRunner() override; | 96 WebTaskRunner* timerTaskRunner() override; |
| 97 void shutdown() override {} | 97 void shutdown() override {} |
| 98 bool shouldYieldForHighPriorityWork() override { return false; } | 98 bool shouldYieldForHighPriorityWork() override { return false; } |
| 99 bool canExceedIdleDeadlineIfRequired() override { return false; } | 99 bool canExceedIdleDeadlineIfRequired() override { return false; } |
| 100 void postIdleTask(const WebTraceLocation&, WebThread::IdleTask*) override {} | 100 void postIdleTask(const WebTraceLocation&, WebThread::IdleTask*) override {} |
| 101 void postNonNestableIdleTask(const WebTraceLocation&, | 101 void postNonNestableIdleTask(const WebTraceLocation&, |
| 102 WebThread::IdleTask*) override {} | 102 WebThread::IdleTask*) override {} |
| 103 std::unique_ptr<WebViewScheduler> createWebViewScheduler( | 103 std::unique_ptr<WebViewScheduler> createWebViewScheduler( |
| 104 InterventionReporter*) override { | 104 InterventionReporter*, |
| 105 WebViewScheduler::WebViewSchedulerSettings*) override { |
| 105 return nullptr; | 106 return nullptr; |
| 106 } | 107 } |
| 107 void suspendTimerQueue() override {} | 108 void suspendTimerQueue() override {} |
| 108 void resumeTimerQueue() override {} | 109 void resumeTimerQueue() override {} |
| 109 void addPendingNavigation(WebScheduler::NavigatingFrameType) override {} | 110 void addPendingNavigation(WebScheduler::NavigatingFrameType) override {} |
| 110 void removePendingNavigation(WebScheduler::NavigatingFrameType) override {} | 111 void removePendingNavigation(WebScheduler::NavigatingFrameType) override {} |
| 111 void onNavigationStarted() override {} | 112 void onNavigationStarted() override {} |
| 112 | 113 |
| 113 private: | 114 private: |
| 114 WTF::Deque<std::unique_ptr<WebTaskRunner::Task>> m_tasks; | 115 WTF::Deque<std::unique_ptr<WebTaskRunner::Task>> m_tasks; |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 m_discardableMemoryAllocator; | 210 m_discardableMemoryAllocator; |
| 210 std::unique_ptr<DummyPlatform> m_platform; | 211 std::unique_ptr<DummyPlatform> m_platform; |
| 211 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; | 212 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; |
| 212 TestingPlatformSupport::Config m_testingPlatformConfig; | 213 TestingPlatformSupport::Config m_testingPlatformConfig; |
| 213 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; | 214 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; |
| 214 }; | 215 }; |
| 215 | 216 |
| 216 } // namespace blink | 217 } // namespace blink |
| 217 | 218 |
| 218 #endif // TestingPlatformSupport_h | 219 #endif // TestingPlatformSupport_h |
| OLD | NEW |