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

Side by Side Diff: chrome/browser/ui/libgtkui/printing_gtk2_util.h

Issue 2449243002: Gtk3 ui: Add libgtk3ui as a separate build component (Closed)
Patch Set: Add theme_properties dep to //chrome/browser/ui Created 4 years, 1 month 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_UI_LIBGTK2UI_PRINTING_GTK2_UTIL_H_ 5 #ifndef CHROME_BROWSER_UI_LIBGTKUI_PRINTING_GTK2_UTIL_H_
6 #define CHROME_BROWSER_UI_LIBGTK2UI_PRINTING_GTK2_UTIL_H_ 6 #define CHROME_BROWSER_UI_LIBGTKUI_PRINTING_GTK2_UTIL_H_
7 7
8 #include "ui/gfx/geometry/size.h" 8 #include "ui/gfx/geometry/size.h"
9 9
10 namespace printing { 10 namespace printing {
11 class PrintingContextLinux; 11 class PrintingContextLinux;
12 class PrintSettings; 12 class PrintSettings;
13 } 13 }
14 14
15 typedef struct _GtkPrintSettings GtkPrintSettings; 15 typedef struct _GtkPrintSettings GtkPrintSettings;
16 typedef struct _GtkPageSetup GtkPageSetup; 16 typedef struct _GtkPageSetup GtkPageSetup;
17 17
18 // Obtains the paper size through Gtk. 18 // Obtains the paper size through Gtk.
19 gfx::Size GetPdfPaperSizeDeviceUnitsGtk( 19 gfx::Size GetPdfPaperSizeDeviceUnitsGtk(
20 printing::PrintingContextLinux* context); 20 printing::PrintingContextLinux* context);
21 21
22 // Initializes a PrintSettings object from the provided Gtk printer objects. 22 // Initializes a PrintSettings object from the provided Gtk printer objects.
23 void InitPrintSettingsGtk(GtkPrintSettings* settings, 23 void InitPrintSettingsGtk(GtkPrintSettings* settings,
24 GtkPageSetup* page_setup, 24 GtkPageSetup* page_setup,
25 printing::PrintSettings* print_settings); 25 printing::PrintSettings* print_settings);
26 26
27 #endif // CHROME_BROWSER_UI_LIBGTK2UI_PRINTING_GTK2_UTIL_H_ 27 #endif // CHROME_BROWSER_UI_LIBGTKUI_PRINTING_GTK2_UTIL_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/libgtkui/print_dialog_gtk2.cc ('k') | chrome/browser/ui/libgtkui/printing_gtk2_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698