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

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

Issue 3348004: Add suspend/resumeAnimations to the test_shell LayoutTestController... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 3 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/layout_test_controller.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 // 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 /* 5 /*
6 LayoutTestController class: 6 LayoutTestController class:
7 Bound to a JavaScript window.layoutTestController object using the 7 Bound to a JavaScript window.layoutTestController object using the
8 CppBoundClass::BindToJavascript(), this allows layout tests that are run in 8 CppBoundClass::BindToJavascript(), this allows layout tests that are run in
9 the test_shell (or, in principle, any web page loaded into a client app built 9 the test_shell (or, in principle, any web page loaded into a client app built
10 with this class) to control various aspects of how the tests are run and what 10 with this class) to control various aspects of how the tests are run and what
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 CppVariant* result); 173 CppVariant* result);
174 174
175 // Enable or disable trailing whitespace selection on double click. 175 // Enable or disable trailing whitespace selection on double click.
176 void setSelectTrailingWhitespaceEnabled(const CppArgumentList& args, 176 void setSelectTrailingWhitespaceEnabled(const CppArgumentList& args,
177 CppVariant* result); 177 CppVariant* result);
178 178
179 void pauseAnimationAtTimeOnElementWithId(const CppArgumentList& args, 179 void pauseAnimationAtTimeOnElementWithId(const CppArgumentList& args,
180 CppVariant* result); 180 CppVariant* result);
181 void pauseTransitionAtTimeOnElementWithId(const CppArgumentList& args, 181 void pauseTransitionAtTimeOnElementWithId(const CppArgumentList& args,
182 CppVariant* result); 182 CppVariant* result);
183 void suspendAnimations(const CppArgumentList& args, CppVariant* result);
184 void resumeAnimations(const CppArgumentList& args, CppVariant* result);
183 void elementDoesAutoCompleteForElementWithId(const CppArgumentList& args, 185 void elementDoesAutoCompleteForElementWithId(const CppArgumentList& args,
184 CppVariant* result); 186 CppVariant* result);
185 void numberOfActiveAnimations(const CppArgumentList& args, 187 void numberOfActiveAnimations(const CppArgumentList& args,
186 CppVariant* result); 188 CppVariant* result);
187 189
188 void disableImageLoading(const CppArgumentList& args, 190 void disableImageLoading(const CppArgumentList& args,
189 CppVariant* result); 191 CppVariant* result);
190 192
191 void setIconDatabaseEnabled(const CppArgumentList& args, 193 void setIconDatabaseEnabled(const CppArgumentList& args,
192 CppVariant* result); 194 CppVariant* result);
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
464 466
465 static WorkQueue work_queue_; 467 static WorkQueue work_queue_;
466 468
467 static CppVariant globalFlag_; 469 static CppVariant globalFlag_;
468 470
469 // Bound variable counting the number of top URLs visited. 471 // Bound variable counting the number of top URLs visited.
470 static CppVariant webHistoryItemCount_; 472 static CppVariant webHistoryItemCount_;
471 }; 473 };
472 474
473 #endif // WEBKIT_TOOLS_TEST_SHELL_LAYOUT_TEST_CONTROLLER_H_ 475 #endif // WEBKIT_TOOLS_TEST_SHELL_LAYOUT_TEST_CONTROLLER_H_
OLDNEW
« no previous file with comments | « no previous file | webkit/tools/test_shell/layout_test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698