diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 21:49:14 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-16 21:49:14 +0000 |
commit | 7699d05e38e2e4e26add3357151e0fd793080353 (patch) | |
tree | b0dad38807b641c80089efc9e45af76974068037 /webkit/tools/test_shell/test_shell.h | |
parent | 4c2464b49571049ad7128343bfafa9abb3be7e0c (diff) | |
download | chromium_src-7699d05e38e2e4e26add3357151e0fd793080353.zip chromium_src-7699d05e38e2e4e26add3357151e0fd793080353.tar.gz chromium_src-7699d05e38e2e4e26add3357151e0fd793080353.tar.bz2 |
Fix test_shell so that eventSender works for opened windows. I've also made focus go to the webview, just like what happens in Chrome.
This is needed for https://bugs.webkit.org/show_bug.cgi?id=36147 and also fixes plugins/keyboard-events.html on Windows.
Review URL: http://codereview.chromium.org/1011005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41769 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/test_shell.h')
-rw-r--r-- | webkit/tools/test_shell/test_shell.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/test_shell.h b/webkit/tools/test_shell/test_shell.h index 10f6371..9595a47 100644 --- a/webkit/tools/test_shell/test_shell.h +++ b/webkit/tools/test_shell/test_shell.h @@ -156,6 +156,9 @@ public: TestNavigationController* navigation_controller() { return navigation_controller_.get(); } + EventSendingController* event_sending_controller() { + return event_sending_controller_.get(); + } // Resets the LayoutTestController and EventSendingController. Should be // called before loading a page, since some end-editing event notifications |