diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-07 19:11:07 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-07 19:11:07 +0000 |
commit | 97096b165dccb3dbbbdb388a99b93c04a17ad98d (patch) | |
tree | 3154d4cd1ae648c66229b524b14d4dbfbee1b5e7 /webkit/glue/webkit_glue.cc | |
parent | a349f6844cb7069d64cbb2883160f5ff035d9c59 (diff) | |
download | chromium_src-97096b165dccb3dbbbdb388a99b93c04a17ad98d.zip chromium_src-97096b165dccb3dbbbdb388a99b93c04a17ad98d.tar.gz chromium_src-97096b165dccb3dbbbdb388a99b93c04a17ad98d.tar.bz2 |
Remove some more DRT features from test_shell.
Specifically, remove the ability to run tests from the
command line and remove a bunch of methods that dump state.
Review URL: http://codereview.chromium.org/6334096
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@74012 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkit_glue.cc')
-rw-r--r-- | webkit/glue/webkit_glue.cc | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/webkit/glue/webkit_glue.cc b/webkit/glue/webkit_glue.cc index 1138e86..6d76c71 100644 --- a/webkit/glue/webkit_glue.cc +++ b/webkit/glue/webkit_glue.cc @@ -240,21 +240,6 @@ string16 DumpHistoryState(const std::string& history_state, int indent, is_current)); } -void ResetBeforeTestRun(WebView* view) { - WebFrame* web_frame = view->mainFrame(); - - // Reset the main frame name since tests always expect it to be empty. It - // is normally not reset between page loads (even in IE and FF). - if (web_frame) - web_frame->setName(WebString()); - -#if defined(OS_WIN) - // Reset the last click information so the clicks generated from previous - // test aren't inherited (otherwise can mistake single/double/triple clicks) - WebKit::WebInputEventFactory::resetLastClickState(); -#endif -} - #ifndef NDEBUG // The log macro was having problems due to collisions with WTF, so we just // code here what that would have inlined. |