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

Issue 149181: Move Emf class to the printing library. Also creates a platform agnostic Nat... (Closed)

Created:
11 years, 5 months ago by Sverrir
Modified:
9 years, 7 months ago
Reviewers:
brettw, M-A Ruel
CC:
chromium-reviews_googlegroups.com, darin (slow to review), Ben Goodger (Google), Mohamed Mansour
Visibility:
Public.

Description

Move Emf class to the printing library. Also creates a platform agnostic NativeMetafile definition to ease platform porting. BUG=none TEST=none (No functional change) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=19943

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 2

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+148 lines, -716 lines) Patch
M chrome/browser/printing/print_job_manager.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/printing/print_job_worker.cc View 1 2 3 4 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/printing/print_view_manager.cc View 1 2 3 4 5 4 chunks +10 lines, -8 lines 0 comments Download
M chrome/browser/printing/printed_document.h View 1 2 3 4 3 chunks +4 lines, -4 lines 0 comments Download
M chrome/browser/printing/printed_document.cc View 1 2 3 4 6 chunks +8 lines, -7 lines 0 comments Download
M chrome/browser/printing/printed_page.h View 1 2 3 4 3 chunks +4 lines, -7 lines 0 comments Download
M chrome/browser/printing/printed_page.cc View 1 2 3 4 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/browser/printing/printing_layout_uitest.cc View 3 4 5 5 chunks +8 lines, -8 lines 0 comments Download
M chrome/chrome.gyp View 1 2 3 4 5 chunks +1 line, -5 lines 0 comments Download
D chrome/common/gfx/emf.h View 1 2 3 4 1 chunk +0 lines, -179 lines 0 comments Download
D chrome/common/gfx/emf.cc View 1 2 3 4 1 chunk +0 lines, -317 lines 0 comments Download
D chrome/common/gfx/emf_unittest.cc View 1 2 3 4 1 chunk +0 lines, -114 lines 0 comments Download
M chrome/common/render_messages.h View 1 2 3 4 2 chunks +4 lines, -4 lines 0 comments Download
M chrome/plugin/webplugin_delegate_stub.cc View 3 4 2 chunks +7 lines, -10 lines 0 comments Download
MM chrome/renderer/mock_printer.cc View 1 chunk +1 line, -1 line 0 comments Download
M chrome/renderer/mock_printer_driver_win.cc View 1 2 3 4 3 chunks +3 lines, -3 lines 0 comments Download
M chrome/renderer/print_web_view_helper.cc View 1 2 3 4 6 chunks +19 lines, -19 lines 0 comments Download
M chrome/renderer/webplugin_delegate_proxy.cc View 1 2 3 4 3 chunks +4 lines, -7 lines 0 comments Download
A + printing/emf_win.h View 3 chunks +7 lines, -5 lines 0 comments Download
A + printing/emf_win.cc View 2 chunks +3 lines, -3 lines 0 comments Download
A + printing/emf_win_unittest.cc View 1 2 3 4 5 6 7 chunks +10 lines, -7 lines 0 comments Download
A printing/native_metafile.h View 3 1 chunk +36 lines, -0 lines 0 comments Download
M printing/printing.gyp View 1 2 3 4 2 chunks +15 lines, -0 lines 0 comments Download

Messages

Total messages: 7 (0 generated)
Sverrir
This is not perfect but still step in the right direction. I can't forward declare ...
11 years, 5 months ago (2009-07-03 18:54:34 UTC) #1
Sverrir
Added missing files...
11 years, 5 months ago (2009-07-03 18:57:49 UTC) #2
M-A Ruel
The code lgtm but you need to fix check_deps and compilation on windows first. http://codereview.chromium.org/149181/diff/1055/1069 ...
11 years, 5 months ago (2009-07-03 19:52:50 UTC) #3
Sverrir
Missed one file that I just added. Will submit on green bots... http://codereview.chromium.org/149181/diff/1055/1069 File chrome/browser/printing/print_view_manager.cc ...
11 years, 5 months ago (2009-07-03 22:03:09 UTC) #4
brettw
> Missed one file that I just added. Will submit on green bots... You haven'd ...
11 years, 5 months ago (2009-07-04 05:36:25 UTC) #5
M-A Ruel
On 2009/07/04 05:36:25, brettw wrote: > > Why is there a toplevel printing directory? Is ...
11 years, 5 months ago (2009-07-04 12:29:59 UTC) #6
Sverrir
11 years, 5 months ago (2009-07-06 14:13:06 UTC) #7
On 2009/07/04 12:29:59, Marc-Antoine Ruel wrote:
> On 2009/07/04 05:36:25, brettw wrote:
> > 
> > Why is there a toplevel printing directory? Is it supposed to be usable
> outside
> > of Chrome? By whom? If this is true, you can't include chrome code, as
> checkdeps
> > is pointing out.
> 
> No it can't include chrome/ code, I overlooked that. It's mainly for testing
> directly in test shell.

I forgot to remove that last include - done now.  It was used by the test I
disabled.

I'm trying to prepare for cross platform porting and trying to draw out more
reusable components and simplify dependencies.  There are no external usages
planned that I know of but this has been requested (in  bug comments).

Powered by Google App Engine
This is Rietveld 408576698