summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/layout_test_controller.h
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-10 21:51:19 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-10 21:51:19 +0000
commit893f1c4cbefe27f54770f5f71f8014cbe13e6011 (patch)
treeae5f2b37a6370030ca5acc50e9e50ab5f5a3e305 /webkit/tools/test_shell/layout_test_controller.h
parent8c9510d637c87ab81937b8f1eb8ee9821c5be94a (diff)
downloadchromium_src-893f1c4cbefe27f54770f5f71f8014cbe13e6011.zip
chromium_src-893f1c4cbefe27f54770f5f71f8014cbe13e6011.tar.gz
chromium_src-893f1c4cbefe27f54770f5f71f8014cbe13e6011.tar.bz2
Implement layoutTestController.setPopupBlockingEnabled. This
gives us one more passing test. Review URL: http://codereview.chromium.org/7241 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3251 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/layout_test_controller.h')
-rw-r--r--webkit/tools/test_shell/layout_test_controller.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/webkit/tools/test_shell/layout_test_controller.h b/webkit/tools/test_shell/layout_test_controller.h
index 109346b..53f3995 100644
--- a/webkit/tools/test_shell/layout_test_controller.h
+++ b/webkit/tools/test_shell/layout_test_controller.h
@@ -111,7 +111,10 @@ class LayoutTestController : public CppBoundClass {
void addFileToPasteboardOnDrag(const CppArgumentList& args, CppVariant* result);
// Executes an internal command (superset of document.execCommand() commands)
- void execCommand(const CppArgumentList& args, CppVariant* result);;
+ void execCommand(const CppArgumentList& args, CppVariant* result);
+
+ // Set the WebPreference that controls webkit's popup blocking.
+ void setPopupBlockingEnabled(const CppArgumentList& args, CppVariant* result);
// The following are only stubs. TODO(pamg): Implement any of these that
// are needed to pass the layout tests.