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

Unified Diff: content/test/test_webkit_platform_support.cc

Issue 25705004: content: Move MockWebClipboardImpl into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mv TestWebKitPlatformSupport too Created 7 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/test/test_webkit_platform_support.h ('k') | content/test/webkit_support.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/test/test_webkit_platform_support.cc
diff --git a/content/test/test_webkit_platform_support.cc b/content/test/test_webkit_platform_support.cc
index f8a6e0e5a94361419afaedcbec5bf54543aafb55..bb52f12e2eccb74db0a2e7bb8a0fbe69ff0465c8 100644
--- a/content/test/test_webkit_platform_support.cc
+++ b/content/test/test_webkit_platform_support.cc
@@ -46,6 +46,8 @@
using WebKit::WebScriptController;
using webkit::WebLayerTreeViewImplForTesting;
+namespace content {
+
TestWebKitPlatformSupport::TestWebKitPlatformSupport() {
v8::V8::SetCounterFunction(base::StatsTable::FindLocation);
@@ -178,7 +180,8 @@ WebKit::WebString TestWebKitPlatformSupport::queryLocalizedString(
}
WebKit::WebString TestWebKitPlatformSupport::queryLocalizedString(
- WebKit::WebLocalizedString::Name name, const WebKit::WebString& value) {
+ WebKit::WebLocalizedString::Name name,
+ const WebKit::WebString& value) {
if (name == WebKit::WebLocalizedString::ValidationRangeUnderflow)
return ASCIIToUTF16("range underflow");
if (name == WebKit::WebLocalizedString::ValidationRangeOverflow)
@@ -212,8 +215,7 @@ WebKit::WebThemeEngine* TestWebKitPlatformSupport::themeEngine() {
}
#endif
-WebKit::WebCompositorSupport*
-TestWebKitPlatformSupport::compositorSupport() {
+WebKit::WebCompositorSupport* TestWebKitPlatformSupport::compositorSupport() {
return &compositor_support_;
}
@@ -291,9 +293,8 @@ WebKit::WebString TestWebKitPlatformSupport::webKitRootDir() {
return WebKit::WebString::fromUTF8(path_ascii.c_str());
}
-
WebKit::WebLayerTreeView*
- TestWebKitPlatformSupport::createLayerTreeViewForTesting() {
+TestWebKitPlatformSupport::createLayerTreeViewForTesting() {
scoped_ptr<WebLayerTreeViewImplForTesting> view(
new WebLayerTreeViewImplForTesting());
@@ -303,8 +304,7 @@ WebKit::WebLayerTreeView*
}
WebKit::WebLayerTreeView*
- TestWebKitPlatformSupport::createLayerTreeViewForTesting(
- TestViewType type) {
+TestWebKitPlatformSupport::createLayerTreeViewForTesting(TestViewType type) {
DCHECK_EQ(TestViewTypeUnitTest, type);
return createLayerTreeViewForTesting();
}
@@ -318,3 +318,5 @@ WebKit::WebData TestWebKitPlatformSupport::readFromFile(
return WebKit::WebData(buffer.data(), buffer.size());
}
+
+} // namespace content
« no previous file with comments | « content/test/test_webkit_platform_support.h ('k') | content/test/webkit_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698