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

Side by Side Diff: printing/pdf_render_settings.h

Issue 1824993004: Separate gfx_ipc into skia-dependent and non-skia-dependent parts (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address nits from tsepez@ Created 4 years, 8 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
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/gfx_param_traits.h"
13 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h"
13 14
14 namespace printing { 15 namespace printing {
15 16
16 // Defining PDF rendering settings. 17 // Defining PDF rendering settings.
17 class PdfRenderSettings { 18 class PdfRenderSettings {
18 public: 19 public:
19 PdfRenderSettings() {} 20 PdfRenderSettings() {}
20 PdfRenderSettings(gfx::Rect area, int dpi, bool autorotate) 21 PdfRenderSettings(gfx::Rect area, int dpi, bool autorotate)
21 : area_(area), dpi_(dpi), autorotate_(autorotate) {} 22 : area_(area), dpi_(dpi), autorotate_(autorotate) {}
22 ~PdfRenderSettings() {} 23 ~PdfRenderSettings() {}
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 l->append(", "); 56 l->append(", ");
56 LogParam(p.dpi_, l); 57 LogParam(p.dpi_, l);
57 l->append(", "); 58 l->append(", ");
58 LogParam(p.autorotate_, l); 59 LogParam(p.autorotate_, l);
59 } 60 }
60 }; 61 };
61 62
62 } // namespace IPC 63 } // namespace IPC
63 64
64 #endif // PRINTING_PDF_RENDER_SETTINGS_H_ 65 #endif // PRINTING_PDF_RENDER_SETTINGS_H_
OLDNEW
« no previous file with comments | « extensions/renderer/set_icon_natives.cc ('k') | ui/gfx/ipc/BUILD.gn » ('j') | ui/ozone/ozone.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698