summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/layout_test_controller.h
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 01:19:46 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 01:19:46 +0000
commit9d72e8a3a4beb44db73b7bbe6b76e0eaef623fec (patch)
treebf0c34ace7cda675da622b7a1ebdb6bee1f7cf89 /webkit/tools/test_shell/layout_test_controller.h
parent9f20a6d0e6153489efe035c860f249c7cbc28890 (diff)
downloadchromium_src-9d72e8a3a4beb44db73b7bbe6b76e0eaef623fec.zip
chromium_src-9d72e8a3a4beb44db73b7bbe6b76e0eaef623fec.tar.gz
chromium_src-9d72e8a3a4beb44db73b7bbe6b76e0eaef623fec.tar.bz2
Plumb whiteListAccessFromOrigin() through Chromium's WebKit API
and enable the related layout tests. BUG=47548,12129 TEST=Covered by layout tests Review URL: http://codereview.chromium.org/174175 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@23931 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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/layout_test_controller.h b/webkit/tools/test_shell/layout_test_controller.h
index c16f185..47cda91 100644
--- a/webkit/tools/test_shell/layout_test_controller.h
+++ b/webkit/tools/test_shell/layout_test_controller.h
@@ -191,6 +191,9 @@ class LayoutTestController : public CppBoundClass {
// that case (as the Mac does).
void fallbackMethod(const CppArgumentList& args, CppVariant* result);
+ // Allows layout tests to call SecurityOrigin::whiteListAccessFromOrigin().
+ void whiteListAccessFromOrigin(const CppArgumentList& args, CppVariant* result);
+
public:
// The following methods are not exposed to JavaScript.
void SetWorkQueueFrozen(bool frozen) { work_queue_.set_frozen(frozen); }