diff options
author | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 16:51:42 +0000 |
---|---|---|
committer | maruel@chromium.org <maruel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-13 16:51:42 +0000 |
commit | f43834da3a02fbf0aadd2371a713cf7c67f3e6b6 (patch) | |
tree | b3653addfa779c0730f3bc3a2dc1a0e3f149c2d5 | |
parent | 386f10102b36328294a6707b455275e6bebfa125 (diff) | |
download | chromium_src-f43834da3a02fbf0aadd2371a713cf7c67f3e6b6.zip chromium_src-f43834da3a02fbf0aadd2371a713cf7c67f3e6b6.tar.gz chromium_src-f43834da3a02fbf0aadd2371a713cf7c67f3e6b6.tar.bz2 |
Disable print selection for M4.
TEST=selection checkbox is not available when even when text is selected.
BUG=22937
Review URL: http://codereview.chromium.org/384122
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31908 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/renderer/print_web_view_helper_win.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/renderer/print_web_view_helper_win.cc b/chrome/renderer/print_web_view_helper_win.cc index b3b64ea..1d9d595 100644 --- a/chrome/renderer/print_web_view_helper_win.cc +++ b/chrome/renderer/print_web_view_helper_win.cc @@ -96,7 +96,10 @@ void PrintWebViewHelper::Print(WebFrame* frame, bool script_initiated) { // of this message has to deal with this. params.host_window_id = render_view_->host_window(); params.cookie = default_settings.document_cookie; - params.has_selection = frame->hasSelection(); + // TODO(maruel): Reenable once http://crbug.com/22937 is fixed. + // Print selection is broken because DidStopLoading is never called. + //params.has_selection = frame->hasSelection(); + params.has_selection = false; params.expected_pages_count = expected_pages_count; msg = new ViewHostMsg_ScriptedPrint(params, &print_settings); |