| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include <string> | 5 #include <string> |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
| 9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
| 10 #include "base/path_service.h" | 10 #include "base/path_service.h" |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 EXPECT_TRUE(webkit_prefs.uses_universal_detector); | 397 EXPECT_TRUE(webkit_prefs.uses_universal_detector); |
| 398 | 398 |
| 399 // These should still be the default values. | 399 // These should still be the default values. |
| 400 #if defined(OS_MACOSX) | 400 #if defined(OS_MACOSX) |
| 401 const char kDefaultFont[] = "Times"; | 401 const char kDefaultFont[] = "Times"; |
| 402 #elif defined(OS_CHROMEOS) | 402 #elif defined(OS_CHROMEOS) |
| 403 const char kDefaultFont[] = "Tinos"; | 403 const char kDefaultFont[] = "Tinos"; |
| 404 #else | 404 #else |
| 405 const char kDefaultFont[] = "Times New Roman"; | 405 const char kDefaultFont[] = "Times New Roman"; |
| 406 #endif | 406 #endif |
| 407 EXPECT_EQ(ASCIIToUTF16(kDefaultFont), webkit_prefs.standard_font_family); | 407 EXPECT_EQ(ASCIIToUTF16(kDefaultFont), |
| 408 webkit_prefs.standard_font_family_map[prefs::kWebKitCommonScript]); |
| 408 EXPECT_TRUE(webkit_prefs.javascript_enabled); | 409 EXPECT_TRUE(webkit_prefs.javascript_enabled); |
| 409 } | 410 } |
| OLD | NEW |