| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ | 5 #ifndef CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ |
| 6 #define CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ | 6 #define CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ |
| 7 | 7 |
| 8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
| 9 #include "base/files/scoped_temp_dir.h" | 9 #include "base/files/scoped_temp_dir.h" |
| 10 #include "cc/blink/web_compositor_support_impl.h" | 10 #include "cc/blink/web_compositor_support_impl.h" |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 const blink::WebURLResponse& response, | 76 const blink::WebURLResponse& response, |
| 77 const blink::WebString& filePath) override; | 77 const blink::WebString& filePath) override; |
| 78 void registerMockedErrorURL(const blink::WebURL& url, | 78 void registerMockedErrorURL(const blink::WebURL& url, |
| 79 const blink::WebURLResponse& response, | 79 const blink::WebURLResponse& response, |
| 80 const blink::WebURLError& error) override; | 80 const blink::WebURLError& error) override; |
| 81 void unregisterMockedURL(const blink::WebURL& url) override; | 81 void unregisterMockedURL(const blink::WebURL& url) override; |
| 82 void unregisterAllMockedURLs() override; | 82 void unregisterAllMockedURLs() override; |
| 83 void serveAsynchronousMockedRequests() override; | 83 void serveAsynchronousMockedRequests() override; |
| 84 void setLoaderDelegate(blink::WebURLLoaderTestDelegate* delegate) override; | 84 void setLoaderDelegate(blink::WebURLLoaderTestDelegate* delegate) override; |
| 85 blink::WebString webKitRootDir() override; | 85 blink::WebString webKitRootDir() override; |
| 86 blink::WebLayerTreeView* createLayerTreeViewForTesting() override; | 86 blink::WebLayerTreeView* createLayerTreeViewForTesting( |
| 87 bool use_compositor_animation_timelines) override; |
| 87 blink::WebData readFromFile(const blink::WebString& path) override; | 88 blink::WebData readFromFile(const blink::WebString& path) override; |
| 88 bool getBlobItems( | 89 bool getBlobItems( |
| 89 const blink::WebString& uuid, | 90 const blink::WebString& uuid, |
| 90 blink::WebVector<blink::WebBlobData::Item*>* items) override; | 91 blink::WebVector<blink::WebBlobData::Item*>* items) override; |
| 91 blink::WebThread* currentThread() override; | 92 blink::WebThread* currentThread() override; |
| 92 void enterRunLoop() override; | 93 void enterRunLoop() override; |
| 93 void exitRunLoop() override; | 94 void exitRunLoop() override; |
| 94 | 95 |
| 95 void getPluginList(bool refresh, | 96 void getPluginList(bool refresh, |
| 96 blink::WebPluginListBuilder* builder) override; | 97 blink::WebPluginListBuilder* builder) override; |
| (...skipping 11 matching lines...) Expand all Loading... |
| 108 | 109 |
| 109 #if defined(OS_WIN) || defined(OS_MACOSX) | 110 #if defined(OS_WIN) || defined(OS_MACOSX) |
| 110 blink::WebThemeEngine* active_theme_engine_; | 111 blink::WebThemeEngine* active_theme_engine_; |
| 111 #endif | 112 #endif |
| 112 DISALLOW_COPY_AND_ASSIGN(TestBlinkWebUnitTestSupport); | 113 DISALLOW_COPY_AND_ASSIGN(TestBlinkWebUnitTestSupport); |
| 113 }; | 114 }; |
| 114 | 115 |
| 115 } // namespace content | 116 } // namespace content |
| 116 | 117 |
| 117 #endif // CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ | 118 #endif // CONTENT_TEST_TEST_BLINK_WEB_UNIT_TEST_SUPPORT_H_ |
| OLD | NEW |