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

Side by Side Diff: webkit/tools/test_shell/test_shell.h

Issue 9829003: Add smooth scrolling command line switch for test_shell. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix copyright date Created 8 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Computer, Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 // Writes the back-forward list data for this test shell into result. 227 // Writes the back-forward list data for this test shell into result.
228 void DumpBackForwardList(string16* result); 228 void DumpBackForwardList(string16* result);
229 229
230 static void ResetWebPreferences(); 230 static void ResetWebPreferences();
231 231
232 static void SetAllowScriptsToCloseWindows(); 232 static void SetAllowScriptsToCloseWindows();
233 233
234 static void SetAccelerated2dCanvasEnabled(bool enabled); 234 static void SetAccelerated2dCanvasEnabled(bool enabled);
235 static void SetAcceleratedCompositingEnabled(bool enabled); 235 static void SetAcceleratedCompositingEnabled(bool enabled);
236 236
237 WebPreferences* GetWebPreferences() { return web_prefs_; } 237 static WebPreferences* GetWebPreferences();
238 238
239 // Some layout tests hardcode a file:///tmp/LayoutTests URL. We get around 239 // Some layout tests hardcode a file:///tmp/LayoutTests URL. We get around
240 // this by substituting "tmp" with the path to the LayoutTests parent dir. 240 // this by substituting "tmp" with the path to the LayoutTests parent dir.
241 static std::string RewriteLocalUrl(const std::string& url); 241 static std::string RewriteLocalUrl(const std::string& url);
242 242
243 // Set the timeout for running a test. 243 // Set the timeout for running a test.
244 static void SetFileTestTimeout(int timeout_ms) { 244 static void SetFileTestTimeout(int timeout_ms) {
245 file_test_timeout_ms_ = timeout_ms; 245 file_test_timeout_ms_ = timeout_ms;
246 } 246 }
247 247
(...skipping 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
430 #if defined(OS_WIN) 430 #if defined(OS_WIN)
431 // Used by the watchdog to know when it's finished. 431 // Used by the watchdog to know when it's finished.
432 HANDLE finished_event_; 432 HANDLE finished_event_;
433 #endif 433 #endif
434 434
435 // Dump the stats table counters on exit. 435 // Dump the stats table counters on exit.
436 bool dump_stats_table_on_exit_; 436 bool dump_stats_table_on_exit_;
437 }; 437 };
438 438
439 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_ 439 #endif // WEBKIT_TOOLS_TEST_SHELL_TEST_SHELL_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698