Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Side by Side Diff: content/test/test_webkit_platform_support.h

Issue 317163002: Moving compositor_bindings from webkit to content (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changing dependencies due to failing ios bots Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/test/layouttest_support.cc ('k') | content/test/test_webkit_platform_support.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_WEBKIT_PLATFORM_SUPPORT_H_ 5 #ifndef CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_
6 #define CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 6 #define CONTENT_TEST_TEST_WEBKIT_PLATFORM_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 "content/child/blink_platform_impl.h" 10 #include "content/child/blink_platform_impl.h"
11 #include "content/child/simple_webmimeregistry_impl.h" 11 #include "content/child/simple_webmimeregistry_impl.h"
12 #include "content/child/webfileutilities_impl.h" 12 #include "content/child/webfileutilities_impl.h"
13 #include "content/renderer/compositor_bindings/web_compositor_support_impl.h"
13 #include "content/test/mock_webclipboard_impl.h" 14 #include "content/test/mock_webclipboard_impl.h"
14 #include "content/test/weburl_loader_mock_factory.h" 15 #include "content/test/weburl_loader_mock_factory.h"
15 #include "third_party/WebKit/public/platform/WebUnitTestSupport.h" 16 #include "third_party/WebKit/public/platform/WebUnitTestSupport.h"
16 #include "webkit/renderer/compositor_bindings/web_compositor_support_impl.h"
17 17
18 namespace blink { 18 namespace blink {
19 class WebLayerTreeView; 19 class WebLayerTreeView;
20 } 20 }
21 21
22 namespace content { 22 namespace content {
23 23
24 // An implementation of WebKitPlatformSupport for tests. 24 // An implementation of WebKitPlatformSupport for tests.
25 class TestWebKitPlatformSupport 25 class TestWebKitPlatformSupport
26 : public blink::WebUnitTestSupport, 26 : public blink::WebUnitTestSupport,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 virtual blink::WebString webKitRootDir(); 83 virtual blink::WebString webKitRootDir();
84 virtual blink::WebLayerTreeView* createLayerTreeViewForTesting(); 84 virtual blink::WebLayerTreeView* createLayerTreeViewForTesting();
85 virtual blink::WebData readFromFile(const blink::WebString& path); 85 virtual blink::WebData readFromFile(const blink::WebString& path);
86 86
87 private: 87 private:
88 SimpleWebMimeRegistryImpl mime_registry_; 88 SimpleWebMimeRegistryImpl mime_registry_;
89 scoped_ptr<MockWebClipboardImpl> mock_clipboard_; 89 scoped_ptr<MockWebClipboardImpl> mock_clipboard_;
90 WebFileUtilitiesImpl file_utilities_; 90 WebFileUtilitiesImpl file_utilities_;
91 base::ScopedTempDir file_system_root_; 91 base::ScopedTempDir file_system_root_;
92 scoped_ptr<WebURLLoaderMockFactory> url_loader_factory_; 92 scoped_ptr<WebURLLoaderMockFactory> url_loader_factory_;
93 webkit::WebCompositorSupportImpl compositor_support_; 93 WebCompositorSupportImpl compositor_support_;
94 94
95 #if defined(OS_WIN) || defined(OS_MACOSX) 95 #if defined(OS_WIN) || defined(OS_MACOSX)
96 blink::WebThemeEngine* active_theme_engine_; 96 blink::WebThemeEngine* active_theme_engine_;
97 #endif 97 #endif
98 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport); 98 DISALLOW_COPY_AND_ASSIGN(TestWebKitPlatformSupport);
99 }; 99 };
100 100
101 } // namespace content 101 } // namespace content
102 102
103 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_ 103 #endif // CONTENT_TEST_TEST_WEBKIT_PLATFORM_SUPPORT_H_
OLDNEW
« no previous file with comments | « content/test/layouttest_support.cc ('k') | content/test/test_webkit_platform_support.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698