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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 void postNonNestableIdleTask(const WebTraceLocation&, | 84 void postNonNestableIdleTask(const WebTraceLocation&, |
85 WebThread::IdleTask*) override {} | 85 WebThread::IdleTask*) override {} |
86 std::unique_ptr<WebViewScheduler> createWebViewScheduler( | 86 std::unique_ptr<WebViewScheduler> createWebViewScheduler( |
87 InterventionReporter*) override { | 87 InterventionReporter*) override { |
88 return nullptr; | 88 return nullptr; |
89 } | 89 } |
90 void suspendTimerQueue() override {} | 90 void suspendTimerQueue() override {} |
91 void resumeTimerQueue() override {} | 91 void resumeTimerQueue() override {} |
92 void addPendingNavigation(WebScheduler::NavigatingFrameType) override {} | 92 void addPendingNavigation(WebScheduler::NavigatingFrameType) override {} |
93 void removePendingNavigation(WebScheduler::NavigatingFrameType) override {} | 93 void removePendingNavigation(WebScheduler::NavigatingFrameType) override {} |
94 void onNavigationStarted() override {} | |
95 | 94 |
96 private: | 95 private: |
97 WTF::Deque<std::unique_ptr<WebTaskRunner::Task>> m_tasks; | 96 WTF::Deque<std::unique_ptr<WebTaskRunner::Task>> m_tasks; |
98 std::unique_ptr<TestingPlatformMockWebTaskRunner> m_mockWebTaskRunner; | 97 std::unique_ptr<TestingPlatformMockWebTaskRunner> m_mockWebTaskRunner; |
99 }; | 98 }; |
100 | 99 |
101 class TestingPlatformSupport : public Platform { | 100 class TestingPlatformSupport : public Platform { |
102 WTF_MAKE_NONCOPYABLE(TestingPlatformSupport); | 101 WTF_MAKE_NONCOPYABLE(TestingPlatformSupport); |
103 | 102 |
104 public: | 103 public: |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 m_discardableMemoryAllocator; | 188 m_discardableMemoryAllocator; |
190 std::unique_ptr<DummyPlatform> m_platform; | 189 std::unique_ptr<DummyPlatform> m_platform; |
191 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; | 190 std::unique_ptr<cc_blink::WebCompositorSupportImpl> m_compositorSupport; |
192 TestingPlatformSupport::Config m_testingPlatformConfig; | 191 TestingPlatformSupport::Config m_testingPlatformConfig; |
193 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; | 192 std::unique_ptr<TestingPlatformSupport> m_testingPlatformSupport; |
194 }; | 193 }; |
195 | 194 |
196 } // namespace blink | 195 } // namespace blink |
197 | 196 |
198 #endif // TestingPlatformSupport_h | 197 #endif // TestingPlatformSupport_h |
OLD | NEW |