Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / chrome / browser / printing / printing_gtk_util.h
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_PRINTING_PRINTING_GTK_UTIL_H_
6 #define CHROME_BROWSER_PRINTING_PRINTING_GTK_UTIL_H_
7
8 #include "ui/gfx/geometry/size.h"
9
10 namespace printing {
11 class PrintingContextLinux;
12 class PrintSettings;
13 }
14
15 typedef struct _GtkPrintSettings GtkPrintSettings;
16 typedef struct _GtkPageSetup GtkPageSetup;
17
18 // Obtains the paper size through Gtk.
19 gfx::Size GetPdfPaperSizeDeviceUnitsGtk(
20     printing::PrintingContextLinux* context);
21
22 #endif  // CHROME_BROWSER_PRINTING_PRINTING_GTK_UTIL_H_