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

Unified Diff: chrome/renderer/mock_printer_driver_win.cc

Issue 149181: Move Emf class to the printing library. Also creates a platform agnostic Nat... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/mock_printer.cc ('k') | chrome/renderer/print_web_view_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/mock_printer_driver_win.cc
===================================================================
--- chrome/renderer/mock_printer_driver_win.cc (revision 19913)
+++ chrome/renderer/mock_printer_driver_win.cc (working copy)
@@ -6,7 +6,7 @@
#include "base/gfx/gdi_util.h"
#include "base/logging.h"
-#include "chrome/common/gfx/emf.h"
+#include "printing/emf_win.h"
#include "chrome/renderer/mock_printer.h"
#include "skia/ext/platform_device.h"
@@ -57,7 +57,7 @@
}
}
- const void* Create(int width, int height, const gfx::Emf* emf) {
+ const void* Create(int width, int height, const printing::Emf* emf) {
CHECK(!dc_ && !bitmap_);
BITMAPV4HEADER header;
@@ -98,7 +98,7 @@
size_t source_size) {
// This code is mostly copied from the Image::LoadEMF() function in
// "src/chrome/browser/printing/printing_layout_uitest.cc".
- gfx::Emf emf;
+ printing::Emf emf;
emf.CreateFromData(source_data, source_size);
gfx::Rect rect(emf.GetBounds());
Property changes on: chrome\renderer\mock_printer_driver_win.cc
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « chrome/renderer/mock_printer.cc ('k') | chrome/renderer/print_web_view_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698