Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Issue 200138: GTK: Add a dialog for printing. (Closed)

Created:
11 years, 3 months ago by Evan Stade
Modified:
9 years, 6 months ago
Reviewers:
tony, M-A Ruel, myhuang
CC:
chromium-reviews_googlegroups.com, darin (slow to review), brettw, jam, Ben Goodger (Google)
Visibility:
Public.

Description

GTK: Add a dialog for printing. Add an infobar directing users to tell us if they have problems with printing. Hide printing behind --enable-printing flag on linux/gtk. BUG=9847 TEST=none Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=26400

Patch Set 1 #

Total comments: 11

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 6

Patch Set 4 : nits #

Patch Set 5 : notimpl #

Total comments: 1

Patch Set 6 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+277 lines, -13 lines) Patch
M build/linux/system.gyp View 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/browser/browser.cc View 1 chunk +10 lines, -0 lines 0 comments Download
A chrome/browser/printing/print_dialog_gtk.h View 1 1 chunk +55 lines, -0 lines 0 comments Download
A chrome/browser/printing/print_dialog_gtk.cc View 1 2 3 4 5 1 chunk +138 lines, -0 lines 0 comments Download
M chrome/browser/renderer_host/resource_message_filter_gtk.cc View 1 2 3 4 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/resources/linux-splash.html View 3 2 chunks +16 lines, -6 lines 0 comments Download
M chrome/browser/resources/linux-splash-chrome.html View 3 2 chunks +16 lines, -6 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 3 chunks +9 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 28 (0 generated)
Evan Stade
this works for me with the one printer I tested, but I've decided it has ...
11 years, 3 months ago (2009-09-16 01:29:36 UTC) #1
Evan Stade
+maruel
11 years, 3 months ago (2009-09-16 01:30:51 UTC) #2
M-A Ruel
lgtm http://codereview.chromium.org/200138/diff/1/2 File chrome/browser/printing/print_dialog_gtk.cc (right): http://codereview.chromium.org/200138/diff/1/2#newcode34 Line 34: // FIXME: window title TODO(estade)
11 years, 3 months ago (2009-09-16 01:47:23 UTC) #3
Evan Stade
did you have any opinion about the problems I pointed out in my first message?
11 years, 3 months ago (2009-09-16 02:18:31 UTC) #4
M-A Ruel
On 2009/09/16 02:18:31, Evan Stade wrote: > did you have any opinion about the problems ...
11 years, 3 months ago (2009-09-16 11:28:55 UTC) #5
M-A Ruel
And please sync and try again, the patch failed to apply on all platforms.
11 years, 3 months ago (2009-09-16 11:29:26 UTC) #6
tony
2) There were problems with PS. The problem was that the cairo PS backend uses ...
11 years, 3 months ago (2009-09-16 17:32:38 UTC) #7
Evan Stade
On 2009/09/16 11:28:55, Marc-Antoine Ruel wrote: > On 2009/09/16 02:18:31, Evan Stade wrote: > > ...
11 years, 3 months ago (2009-09-16 17:34:23 UTC) #8
tony
http://codereview.chromium.org/200138/diff/1/2 File chrome/browser/printing/print_dialog_gtk.cc (right): http://codereview.chromium.org/200138/diff/1/2#newcode7 Line 7: #include <gtk-unix-print-2.0/gtk/gtkprinter.h> Out of curiosity, is this provided ...
11 years, 3 months ago (2009-09-16 17:39:07 UTC) #9
M-A Ruel
On 2009/09/16 17:34:23, Evan Stade wrote: > On 2009/09/16 11:28:55, Marc-Antoine Ruel wrote: > > ...
11 years, 3 months ago (2009-09-16 17:42:11 UTC) #10
M-A Ruel
Oh, and you still need to sync to see if you patch pass on try ...
11 years, 3 months ago (2009-09-16 17:42:42 UTC) #11
Evan Stade
I honestly don't see the point of writing TEST=none or TEST=print something.
11 years, 3 months ago (2009-09-16 17:51:43 UTC) #12
Evan Stade
http://codereview.chromium.org/200138/diff/1/2 File chrome/browser/printing/print_dialog_gtk.cc (right): http://codereview.chromium.org/200138/diff/1/2#newcode7 Line 7: #include <gtk-unix-print-2.0/gtk/gtkprinter.h> On 2009/09/16 17:39:07, tony wrote: > ...
11 years, 3 months ago (2009-09-16 18:11:40 UTC) #13
tony
http://codereview.chromium.org/200138/diff/1/2 File chrome/browser/printing/print_dialog_gtk.cc (right): http://codereview.chromium.org/200138/diff/1/2#newcode53 Line 53: LOG(ERROR) << "Selected printer doesn't accept pdf."; On ...
11 years, 3 months ago (2009-09-16 18:19:43 UTC) #14
Evan Stade
updated.
11 years, 3 months ago (2009-09-16 20:08:37 UTC) #15
M-A Ruel
On 2009/09/16 20:08:37, Evan Stade wrote: > updated. Still compile failure on mac. Also do ...
11 years, 3 months ago (2009-09-16 20:20:52 UTC) #16
Evan Stade
On Wed, Sep 16, 2009 at 1:20 PM, <maruel@chromium.org> wrote: > On 2009/09/16 20:08:37, Evan ...
11 years, 3 months ago (2009-09-16 20:24:05 UTC) #17
tony
Overall, LGTM, just some small nits. http://codereview.chromium.org/200138/diff/9001/3011 File chrome/browser/browser.cc (right): http://codereview.chromium.org/200138/diff/9001/3011#newcode2262 Line 2262: #if defined(TOOLKIT_GTK) ...
11 years, 3 months ago (2009-09-16 20:31:04 UTC) #18
Evan Stade
http://codereview.chromium.org/200138/diff/9001/3011 File chrome/browser/browser.cc (right): http://codereview.chromium.org/200138/diff/9001/3011#newcode2262 Line 2262: #if defined(TOOLKIT_GTK) On 2009/09/16 20:31:04, tony wrote: > ...
11 years, 3 months ago (2009-09-16 20:42:09 UTC) #19
Evan Stade
11 years, 3 months ago (2009-09-16 20:43:48 UTC) #20
tony
I would just enable this on TOOLKIT_VIEWS. I think for now using this code is ...
11 years, 3 months ago (2009-09-16 20:49:22 UTC) #21
M-A Ruel
please run a try run before committing (especially linux_view) http://codereview.chromium.org/200138/diff/5008/5015 File chrome/browser/browser.cc (right): http://codereview.chromium.org/200138/diff/5008/5015#newcode2265 Line ...
11 years, 3 months ago (2009-09-16 20:55:38 UTC) #22
Evan Stade
4 platforms report try success
11 years, 3 months ago (2009-09-16 21:39:15 UTC) #23
myhuang
On 2009/09/16 01:29:36, Evan Stade wrote: > this works for me with the one printer ...
11 years, 3 months ago (2009-09-16 22:33:08 UTC) #24
myhuang
I forgot to mention that we might need to disable some tabs and/or some component ...
11 years, 3 months ago (2009-09-16 22:38:22 UTC) #25
Evan Stade
Min: I landed this patch, so if you want, you could announce to chromium-dev that ...
11 years, 3 months ago (2009-09-16 22:38:22 UTC) #26
myhuang
On 2009/09/16 22:38:22, Evan Stade wrote: > Min: I landed this patch, so if you ...
11 years, 3 months ago (2009-09-16 22:44:08 UTC) #27
Evan Stade
11 years, 3 months ago (2009-09-16 22:54:39 UTC) #28
anyone can post to chromium-dev.

-- Evan Stade



On Wed, Sep 16, 2009 at 3:44 PM,  <minyu.huang@gmail.com> wrote:
> On 2009/09/16 22:38:22, Evan Stade wrote:
>>
>> Min: I landed this patch, so if you want, you could announce to
>> chromium-dev that basic printing now works in linux (to a certain
>> extent)
>
>> -- Evan Stade
>
> Hi Even,
>
> =A0Yes, I notice that you have landed the patch. I appreciate very much f=
or
> you
> help and time. My internship at Google has ended last week (I am sorry th=
at
> I
> could not finish this on time) and I do not have a chromium account. Tony=
,
> could
> you help us announce this? Thank you very much!
>
>
> Min-Yu
>
> http://codereview.chromium.org/200138
>

Powered by Google App Engine
This is Rietveld 408576698