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

Side by Side Diff: printing/image.cc

Issue 259047: Move classes depending on Skia out of base/gfx and into app/gfx. Rename... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | skia/ext/vector_canvas_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "printing/image.h" 5 #include "printing/image.h"
6 6
7 #include "app/gfx/codec/png_codec.h" 7 #include "app/gfx/codec/png_codec.h"
8 #include "base/file_util.h" 8 #include "base/file_util.h"
9 #include "base/gfx/rect.h" 9 #include "base/gfx/rect.h"
10 #include "base/md5.h" 10 #include "base/md5.h"
11 #include "base/string_util.h" 11 #include "base/string_util.h"
12 #include "skia/ext/platform_device.h" 12 #include "skia/ext/platform_device.h"
13 13
14 #if defined(OS_WIN) 14 #if defined(OS_WIN)
15 #include "base/gfx/gdi_util.h" // EMF support 15 #include "app/gfx/gdi_util.h" // EMF support
16 #endif 16 #endif
17 17
18 namespace { 18 namespace {
19 19
20 // A simple class which temporarily overrides system settings. 20 // A simple class which temporarily overrides system settings.
21 // The bitmap image rendered via the PlayEnhMetaFile() function depends on 21 // The bitmap image rendered via the PlayEnhMetaFile() function depends on
22 // some system settings. 22 // some system settings.
23 // As a workaround for such dependency, this class saves the system settings 23 // As a workaround for such dependency, this class saves the system settings
24 // and changes them. This class also restore the saved settings in its 24 // and changes them. This class also restore the saved settings in its
25 // destructor. 25 // destructor.
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 return success; 230 return success;
231 } 231 }
232 #else 232 #else
233 NOTIMPLEMENTED(); 233 NOTIMPLEMENTED();
234 #endif 234 #endif
235 235
236 return false; 236 return false;
237 } 237 }
238 238
239 } // namespace printing 239 } // namespace printing
OLDNEW
« no previous file with comments | « chrome/renderer/webplugin_delegate_proxy.cc ('k') | skia/ext/vector_canvas_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698