OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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/file_util.h" | 5 #include "base/file_util.h" |
6 #include "base/path_service.h" | 6 #include "base/path_service.h" |
7 #include "base/perftimer.h" | 7 #include "base/perftimer.h" |
8 #include "base/stringprintf.h" | 8 #include "base/stringprintf.h" |
9 #include "base/time.h" | 9 #include "base/time.h" |
10 #include "chrome/app/chrome_command_ids.h" | 10 #include "chrome/app/chrome_command_ids.h" |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 RunStartupTest("tab_complex_theme_cold", false /* cold */, | 191 RunStartupTest("tab_complex_theme_cold", false /* cold */, |
192 false /* not important */, | 192 false /* not important */, |
193 ProxyLauncher::COMPLEX_THEME); | 193 ProxyLauncher::COMPLEX_THEME); |
194 } | 194 } |
195 | 195 |
196 // FLAKY: http://crbug.com/69940 | 196 // FLAKY: http://crbug.com/69940 |
197 TEST_F(NewTabUIStartupTest, FLAKY_NewTabTimingTestsCold) { | 197 TEST_F(NewTabUIStartupTest, FLAKY_NewTabTimingTestsCold) { |
198 RunNewTabTimingTest(); | 198 RunNewTabTimingTest(); |
199 } | 199 } |
200 | 200 |
201 #if defined(OS_LINUX) | 201 #if defined(TOOLKIT_USES_GTK) |
202 TEST_F(NewTabUIStartupTest, GtkThemeCold) { | 202 TEST_F(NewTabUIStartupTest, GtkThemeCold) { |
203 RunStartupTest("tab_gtk_theme_cold", false /* cold */, | 203 RunStartupTest("tab_gtk_theme_cold", false /* cold */, |
204 false /* not important */, | 204 false /* not important */, |
205 ProxyLauncher::NATIVE_THEME); | 205 ProxyLauncher::NATIVE_THEME); |
206 } | 206 } |
207 | 207 |
208 TEST_F(NewTabUIStartupTest, NativeFrameCold) { | 208 TEST_F(NewTabUIStartupTest, NativeFrameCold) { |
209 RunStartupTest("tab_custom_frame_cold", false /* cold */, | 209 RunStartupTest("tab_custom_frame_cold", false /* cold */, |
210 false /* not important */, | 210 false /* not important */, |
211 ProxyLauncher::CUSTOM_FRAME); | 211 ProxyLauncher::CUSTOM_FRAME); |
212 } | 212 } |
213 | 213 |
214 TEST_F(NewTabUIStartupTest, NativeFrameGtkThemeCold) { | 214 TEST_F(NewTabUIStartupTest, NativeFrameGtkThemeCold) { |
215 RunStartupTest("tab_custom_frame_gtk_theme_cold", false /* cold */, | 215 RunStartupTest("tab_custom_frame_gtk_theme_cold", false /* cold */, |
216 false /* not important */, | 216 false /* not important */, |
217 ProxyLauncher::CUSTOM_FRAME_NATIVE_THEME); | 217 ProxyLauncher::CUSTOM_FRAME_NATIVE_THEME); |
218 } | 218 } |
219 #endif | 219 #endif |
220 | 220 |
221 } // namespace | 221 } // namespace |
OLD | NEW |