diff options
author | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 09:01:06 +0000 |
---|---|---|
committer | jochen@chromium.org <jochen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-06 09:01:06 +0000 |
commit | c272c5b50cd0e1441edb66dce7d8e0e52e693400 (patch) | |
tree | 86d77197049bd1216e097ee112b797b6fcd0e363 /content/shell/shell_browser_main.cc | |
parent | f7ee881d918bceec4bb6a23e54b052b6b3ac4409 (diff) | |
download | chromium_src-c272c5b50cd0e1441edb66dce7d8e0e52e693400.zip chromium_src-c272c5b50cd0e1441edb66dce7d8e0e52e693400.tar.gz chromium_src-c272c5b50cd0e1441edb66dce7d8e0e52e693400.tar.bz2 |
Add support to content_shell for printing and render tree dumps
Also hook up console.log and alert/prompt/confirm and onunload handlers
BUG=111316
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/10537005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@140725 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell_browser_main.cc')
-rw-r--r-- | content/shell/shell_browser_main.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/content/shell/shell_browser_main.cc b/content/shell/shell_browser_main.cc index 908f8e6..01c68e3 100644 --- a/content/shell/shell_browser_main.cc +++ b/content/shell/shell_browser_main.cc @@ -90,6 +90,9 @@ int ShellBrowserMain(const content::MainFunctionParams& parameters) { if (test_string[0] == '\0') continue; + // Test header. + std::cout << "Content-Type: text/plain\n"; + content::Shell::CreateNewWindow(browser_context, GetURLForLayoutTest(test_string), NULL, |