diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-10 18:10:33 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-10 18:10:33 +0000 |
commit | 35b9aa07e104d4a228778cbffc9577087ba80b07 (patch) | |
tree | aae602e493c4a903bbda6ceb42851675a39d9cfe /chrome/renderer/print_web_view_helper_linux.cc | |
parent | e6771600ddcb67a80854ff8c268d599b267236f3 (diff) | |
download | chromium_src-35b9aa07e104d4a228778cbffc9577087ba80b07.zip chromium_src-35b9aa07e104d4a228778cbffc9577087ba80b07.tar.gz chromium_src-35b9aa07e104d4a228778cbffc9577087ba80b07.tar.bz2 |
Unfork most of the PrintWebViewHelper code between Mac and Windows.
I had originally planned to wait until Linux moved to the same printing workflow to unfork everything at once, but there has started to be some unnecessary divergence between the Mac and Windows code so I'm doing those two platforms now, and hopefully Linux can adopt the methods later.
BUG=24809
TEST=Printing still works on Mac and Windows.
Review URL: http://codereview.chromium.org/1748013
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46830 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/print_web_view_helper_linux.cc')
-rw-r--r-- | chrome/renderer/print_web_view_helper_linux.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/renderer/print_web_view_helper_linux.cc b/chrome/renderer/print_web_view_helper_linux.cc index ed977c3..2a0e333 100644 --- a/chrome/renderer/print_web_view_helper_linux.cc +++ b/chrome/renderer/print_web_view_helper_linux.cc @@ -18,7 +18,8 @@ void PrintWebViewHelper::Print(WebFrame* frame, bool script_initiated) { if (IsPrinting()) return; - // TODO(myhuang): Get printing parameters via IPC. + // TODO(myhuang): Get printing parameters via IPC + // using the print_web_view_helper.cc version of Print. // For testing purpose, we hard-coded printing parameters here. // The paper size is US Letter (8.5 in. by 11 in.). |