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 "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 450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
461 UITestBase::COMPLEX_THEME, 0, 0); | 461 UITestBase::COMPLEX_THEME, 0, 0); |
462 } | 462 } |
463 | 463 |
464 TEST_F(StartupTest, ProfilingScript1) { | 464 TEST_F(StartupTest, ProfilingScript1) { |
465 SetUpWithFileURL(); | 465 SetUpWithFileURL(); |
466 SetUpWithProfiling(); | 466 SetUpWithProfiling(); |
467 RunStartupTest("warm", "profiling_scripts1", WARM, NOT_IMPORTANT, | 467 RunStartupTest("warm", "profiling_scripts1", WARM, NOT_IMPORTANT, |
468 UITestBase::DEFAULT_THEME, 1, 0); | 468 UITestBase::DEFAULT_THEME, 1, 0); |
469 } | 469 } |
470 | 470 |
471 #if defined(TOOLKIT_GTK) | |
472 TEST_F(StartupTest, PerfGtkTheme) { | |
473 RunStartupTest("warm", "gtk-theme", WARM, NOT_IMPORTANT, | |
474 UITestBase::NATIVE_THEME, 0, 0); | |
475 } | |
476 | |
477 TEST_F(StartupTest, PrefNativeFrame) { | |
478 RunStartupTest("warm", "custom-frame", WARM, NOT_IMPORTANT, | |
479 UITestBase::CUSTOM_FRAME, 0, 0); | |
480 } | |
481 | |
482 TEST_F(StartupTest, PerfNativeFrameGtkTheme) { | |
483 RunStartupTest("warm", "custom-frame-gtk-theme", WARM, NOT_IMPORTANT, | |
484 UITestBase::CUSTOM_FRAME_NATIVE_THEME, 0, 0); | |
485 } | |
486 #endif | |
487 | |
488 } // namespace | 471 } // namespace |
OLD | NEW |