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

Side by Side Diff: printing/pdf_render_settings.h

Issue 1924613002: Move ui/gfx/geometry ParamTraits to ui/gfx/ipc/geometry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Forward declare Range in gfx_param_traits Created 4 years, 7 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
« no previous file with comments | « media/gpu/ipc/common/media_param_traits_macros.h ('k') | ui/gfx/ipc/BUILD.gn » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #ifndef PRINTING_PDF_RENDER_SETTINGS_H_ 5 #ifndef PRINTING_PDF_RENDER_SETTINGS_H_
6 #define PRINTING_PDF_RENDER_SETTINGS_H_ 6 #define PRINTING_PDF_RENDER_SETTINGS_H_
7 7
8 #include "ipc/ipc_message_utils.h" 8 #include "ipc/ipc_message_utils.h"
9 #include "ipc/ipc_param_traits.h" 9 #include "ipc/ipc_param_traits.h"
10 #include "printing/printing_export.h" 10 #include "printing/printing_export.h"
11 #include "ui/gfx/geometry/rect.h" 11 #include "ui/gfx/geometry/rect.h"
12 #include "ui/gfx/ipc/gfx_param_traits.h" 12 #include "ui/gfx/ipc/geometry/gfx_param_traits.h"
13 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" 13 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h"
14 14
15 namespace printing { 15 namespace printing {
16 16
17 // Defining PDF rendering settings. 17 // Defining PDF rendering settings.
18 class PdfRenderSettings { 18 class PdfRenderSettings {
19 public: 19 public:
20 PdfRenderSettings() {} 20 PdfRenderSettings() {}
21 PdfRenderSettings(gfx::Rect area, int dpi, bool autorotate) 21 PdfRenderSettings(gfx::Rect area, int dpi, bool autorotate)
22 : area_(area), dpi_(dpi), autorotate_(autorotate) {} 22 : area_(area), dpi_(dpi), autorotate_(autorotate) {}
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 l->append(", "); 56 l->append(", ");
57 LogParam(p.dpi_, l); 57 LogParam(p.dpi_, l);
58 l->append(", "); 58 l->append(", ");
59 LogParam(p.autorotate_, l); 59 LogParam(p.autorotate_, l);
60 } 60 }
61 }; 61 };
62 62
63 } // namespace IPC 63 } // namespace IPC
64 64
65 #endif // PRINTING_PDF_RENDER_SETTINGS_H_ 65 #endif // PRINTING_PDF_RENDER_SETTINGS_H_
OLDNEW
« no previous file with comments | « media/gpu/ipc/common/media_param_traits_macros.h ('k') | ui/gfx/ipc/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698