summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/layout_test_controller.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/layout_test_controller.h')
-rw-r--r--webkit/tools/test_shell/layout_test_controller.h25
1 files changed, 7 insertions, 18 deletions
diff --git a/webkit/tools/test_shell/layout_test_controller.h b/webkit/tools/test_shell/layout_test_controller.h
index 384be54..251524b72 100644
--- a/webkit/tools/test_shell/layout_test_controller.h
+++ b/webkit/tools/test_shell/layout_test_controller.h
@@ -3,7 +3,7 @@
// found in the LICENSE file.
/*
- LayoutTestController class:
+ LayoutTestController class:
Bound to a JavaScript window.layoutTestController object using the
CppBoundClass::BindToJavascript(), this allows layout tests that are run in
the test_shell (or, in principle, any web page loaded into a client app built
@@ -36,7 +36,7 @@ class LayoutTestController : public CppBoundClass {
// descriptive test for each editing command. It takes no arguments, and
// ignores any that may be present.
void dumpEditingCallbacks(const CppArgumentList& args, CppVariant* result);
-
+
// This function sets a flag that tells the test_shell to print a line of
// descriptive test for each frame load callback. It takes no arguments, and
// ignores any that may be present.
@@ -55,11 +55,6 @@ class LayoutTestController : public CppBoundClass {
// It takes no arguments, and ignores any that may be present.
void dumpChildFramesAsText(const CppArgumentList& args, CppVariant* result);
- // This function sets a flag that tells the test_shell to dump all calls
- // to window.status().
- // It takes no arguments, and ignores any that may be present.
- void dumpWindowStatusChanges(const CppArgumentList& args, CppVariant* result);
-
// When called with a boolean argument, this sets a flag that controls
// whether content-editable elements accept editing focus when an editing
// attempt is made. It ignores any additional arguments.
@@ -104,11 +99,11 @@ class LayoutTestController : public CppBoundClass {
// never be used by Chrome, but some layout tests depend on its presence.
void setUseDashboardCompatibilityMode(const CppArgumentList& args, CppVariant* result);
- // Causes navigation actions just printout the intended navigation instead
+ // Causes navigation actions just printout the intended navigation instead
// of taking you to the page. This is used for cases like mailto, where you
// don't actually want to open the mail program.
void setCustomPolicyDelegate(const CppArgumentList& args, CppVariant* result);
-
+
// Converts a URL starting with file:///tmp/ to the local mapping.
void pathToLocalResource(const CppArgumentList& args, CppVariant* result);
@@ -167,7 +162,7 @@ class LayoutTestController : public CppBoundClass {
void setPrivateBrowsingEnabled(const CppArgumentList& args, CppVariant* result);
// The fallback method is called when a nonexistent method is called on
- // the layout test controller object.
+ // the layout test controller object.
// It is usefull to catch typos in the JavaScript code (a few layout tests
// do have typos in them) and it allows the script to continue running in
// that case (as the Mac does).
@@ -186,9 +181,6 @@ class LayoutTestController : public CppBoundClass {
bool ShouldDumpResourceLoadCallbacks() {
return dump_resource_load_callbacks_;
}
- bool ShouldDumpStatusCallbacks() {
- return dump_window_status_changes_;
- }
bool ShouldDumpBackForwardList() { return dump_back_forward_list_; }
bool ShouldDumpTitleChanges() { return dump_title_changes_; }
bool ShouldDumpChildFrameScrollPositions() {
@@ -213,7 +205,7 @@ class LayoutTestController : public CppBoundClass {
// A single item in the work queue.
class WorkItem {
public:
- virtual ~WorkItem() {}
+ virtual ~WorkItem() {};
virtual void Run(TestShell* shell) = 0;
};
@@ -249,7 +241,7 @@ class LayoutTestController : public CppBoundClass {
// Non-owning pointer. The LayoutTestController is owned by the host.
static TestShell* shell_;
- // If true, the test_shell will produce a plain text dump rather than a
+ // If true, the test_shell will produce a plain text dump rather than a
// text representation of the renderer.
static bool dump_as_text_;
@@ -277,9 +269,6 @@ class LayoutTestController : public CppBoundClass {
// dump all frames as plain text.
static bool dump_child_frames_as_text_;
- // If true, the test_shell will dump all changes to window.status.
- static bool dump_window_status_changes_;
-
// If true, output a message when the page title is changed.
static bool dump_title_changes_;