| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "base/environment.h" | 5 #include "base/environment.h" |
| 6 #include "base/file_util.h" | 6 #include "base/file_util.h" |
| 7 #include "base/path_service.h" | 7 #include "base/path_service.h" |
| 8 #include "base/stringprintf.h" | 8 #include "base/stringprintf.h" |
| 9 #include "base/string_number_conversions.h" | 9 #include "base/string_number_conversions.h" |
| 10 #include "base/string_split.h" | 10 #include "base/string_split.h" |
| (...skipping 348 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 359 SetUpWithExtensionsProfile("content_scripts50"); | 359 SetUpWithExtensionsProfile("content_scripts50"); |
| 360 RunStartupTest("warm", "extension_content_scripts50", WARM, NOT_IMPORTANT, | 360 RunStartupTest("warm", "extension_content_scripts50", WARM, NOT_IMPORTANT, |
| 361 ProxyLauncher::DEFAULT_THEME, 1, 0); | 361 ProxyLauncher::DEFAULT_THEME, 1, 0); |
| 362 } | 362 } |
| 363 | 363 |
| 364 TEST_F(StartupTest, PerfComplexTheme) { | 364 TEST_F(StartupTest, PerfComplexTheme) { |
| 365 RunStartupTest("warm", "t-theme", WARM, NOT_IMPORTANT, | 365 RunStartupTest("warm", "t-theme", WARM, NOT_IMPORTANT, |
| 366 ProxyLauncher::COMPLEX_THEME, 0, 0); | 366 ProxyLauncher::COMPLEX_THEME, 0, 0); |
| 367 } | 367 } |
| 368 | 368 |
| 369 #if defined(OS_LINUX) | 369 #if defined(TOOLKIT_USES_GTK) |
| 370 TEST_F(StartupTest, PerfGtkTheme) { | 370 TEST_F(StartupTest, PerfGtkTheme) { |
| 371 RunStartupTest("warm", "gtk-theme", WARM, NOT_IMPORTANT, | 371 RunStartupTest("warm", "gtk-theme", WARM, NOT_IMPORTANT, |
| 372 ProxyLauncher::NATIVE_THEME, 0, 0); | 372 ProxyLauncher::NATIVE_THEME, 0, 0); |
| 373 } | 373 } |
| 374 | 374 |
| 375 TEST_F(StartupTest, PrefNativeFrame) { | 375 TEST_F(StartupTest, PrefNativeFrame) { |
| 376 RunStartupTest("warm", "custom-frame", WARM, NOT_IMPORTANT, | 376 RunStartupTest("warm", "custom-frame", WARM, NOT_IMPORTANT, |
| 377 ProxyLauncher::CUSTOM_FRAME, 0, 0); | 377 ProxyLauncher::CUSTOM_FRAME, 0, 0); |
| 378 } | 378 } |
| 379 | 379 |
| 380 TEST_F(StartupTest, PerfNativeFrameGtkTheme) { | 380 TEST_F(StartupTest, PerfNativeFrameGtkTheme) { |
| 381 RunStartupTest("warm", "custom-frame-gtk-theme", WARM, NOT_IMPORTANT, | 381 RunStartupTest("warm", "custom-frame-gtk-theme", WARM, NOT_IMPORTANT, |
| 382 ProxyLauncher::CUSTOM_FRAME_NATIVE_THEME, 0, 0); | 382 ProxyLauncher::CUSTOM_FRAME_NATIVE_THEME, 0, 0); |
| 383 } | 383 } |
| 384 #endif | 384 #endif |
| 385 | 385 |
| 386 } // namespace | 386 } // namespace |
| OLD | NEW |