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

Unified Diff: content/shell/app/webkit_test_platform_support_android.cc

Issue 642813006: content: Rename webkit_test_platform_support* to blink_test_platform_support* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix GN Created 6 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
Index: content/shell/app/webkit_test_platform_support_android.cc
diff --git a/content/shell/app/webkit_test_platform_support_android.cc b/content/shell/app/webkit_test_platform_support_android.cc
deleted file mode 100644
index e4c8d3c2923a9813daf36dda718db1c8534dbde4..0000000000000000000000000000000000000000
--- a/content/shell/app/webkit_test_platform_support_android.cc
+++ /dev/null
@@ -1,42 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include "content/shell/app/webkit_test_platform_support.h"
-
-#include "third_party/skia/include/ports/SkTypeface_android.h"
-
-namespace {
-
-// The root directory on the device to which resources will be pushed. This
-// value needs to be equal to that set in chromium_android.py.
-#define DEVICE_SOURCE_ROOT_DIR "/data/local/tmp/content_shell/"
-
-// Primary font configuration file on the device for Skia.
-const char kPrimaryFontConfig[] =
- DEVICE_SOURCE_ROOT_DIR "android_main_fonts.xml";
-
-// The file on the device containing the fallback font configuration for Skia.
-const char kFallbackFontConfig[] =
- DEVICE_SOURCE_ROOT_DIR "android_fallback_fonts.xml";
-
-// The directory in which fonts will be stored on the Android device.
-const char kFontDirectory[] = DEVICE_SOURCE_ROOT_DIR "fonts/";
-
-} // namespace
-
-namespace content {
-
-bool CheckLayoutSystemDeps() {
- return true;
-}
-
-bool WebKitTestPlatformInitialize() {
- // Initialize Skia with the font configuration files crafted for layout tests.
- SkUseTestFontConfigFile(
- kPrimaryFontConfig, kFallbackFontConfig, kFontDirectory);
-
- return true;
-}
-
-} // namespace content
« no previous file with comments | « content/shell/app/webkit_test_platform_support.h ('k') | content/shell/app/webkit_test_platform_support_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698