| 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 /* | 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 CppVariant* result); | 126 CppVariant* result); |
| 127 | 127 |
| 128 // Enable or disable smart insert/delete. This is enabled by default. | 128 // Enable or disable smart insert/delete. This is enabled by default. |
| 129 void setSmartInsertDeleteEnabled(const CppArgumentList& args, | 129 void setSmartInsertDeleteEnabled(const CppArgumentList& args, |
| 130 CppVariant* result); | 130 CppVariant* result); |
| 131 | 131 |
| 132 // Enable or disable trailing whitespace selection on double click. | 132 // Enable or disable trailing whitespace selection on double click. |
| 133 void setSelectTrailingWhitespaceEnabled(const CppArgumentList& args, | 133 void setSelectTrailingWhitespaceEnabled(const CppArgumentList& args, |
| 134 CppVariant* result); | 134 CppVariant* result); |
| 135 | 135 |
| 136 void pauseAnimationAtTimeOnElementWithId(const CppArgumentList& args, |
| 137 CppVariant* result); |
| 138 void pauseTransitionAtTimeOnElementWithId(const CppArgumentList& args, |
| 139 CppVariant* result); |
| 140 |
| 136 // The following are only stubs. TODO(pamg): Implement any of these that | 141 // The following are only stubs. TODO(pamg): Implement any of these that |
| 137 // are needed to pass the layout tests. | 142 // are needed to pass the layout tests. |
| 138 void dumpAsWebArchive(const CppArgumentList& args, CppVariant* result); | 143 void dumpAsWebArchive(const CppArgumentList& args, CppVariant* result); |
| 139 void dumpTitleChanges(const CppArgumentList& args, CppVariant* result); | 144 void dumpTitleChanges(const CppArgumentList& args, CppVariant* result); |
| 140 void dumpResourceLoadCallbacks(const CppArgumentList& args, CppVariant* result
); | 145 void dumpResourceLoadCallbacks(const CppArgumentList& args, CppVariant* result
); |
| 141 void setMainFrameIsFirstResponder(const CppArgumentList& args, CppVariant* res
ult); | 146 void setMainFrameIsFirstResponder(const CppArgumentList& args, CppVariant* res
ult); |
| 142 void dumpSelectionRect(const CppArgumentList& args, CppVariant* result); | 147 void dumpSelectionRect(const CppArgumentList& args, CppVariant* result); |
| 143 void display(const CppArgumentList& args, CppVariant* result); | 148 void display(const CppArgumentList& args, CppVariant* result); |
| 144 void testRepaint(const CppArgumentList& args, CppVariant* result); | 149 void testRepaint(const CppArgumentList& args, CppVariant* result); |
| 145 void repaintSweepHorizontally(const CppArgumentList& args, CppVariant* result)
; | 150 void repaintSweepHorizontally(const CppArgumentList& args, CppVariant* result)
; |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 static bool work_queue_frozen_; | 298 static bool work_queue_frozen_; |
| 294 | 299 |
| 295 | 300 |
| 296 static WorkQueue work_queue_; | 301 static WorkQueue work_queue_; |
| 297 | 302 |
| 298 static CppVariant globalFlag_; | 303 static CppVariant globalFlag_; |
| 299 }; | 304 }; |
| 300 | 305 |
| 301 #endif // WEBKIT_TOOLS_TEST_SHELL_LAYOUT_TEST_CONTROLLER_H__ | 306 #endif // WEBKIT_TOOLS_TEST_SHELL_LAYOUT_TEST_CONTROLLER_H__ |
| 302 | 307 |
| OLD | NEW |