author Kyle Huey <khuey@kylehuey.com>
Sat, 30 Jan 2016 09:05:36 -0800
changeset 320665 e22b3043887ed36bf2c634c2924a7c8d39d226b1
parent 265233 ac4464790ec4896a5188fa50cfc69ae0ffeddc08
child 352609 babe907f527681f351d62d689230d23e55d6a729
permissions -rw-r--r--
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug

/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

#ifndef nsPrintDialog_h__
#define nsPrintDialog_h__

#include "nsIPrintDialogService.h"

class nsIPrintSettings;

// Copy the print pages enum here because not all versions
// have SELECTION, which we will use
typedef enum
} _GtkPrintPages;

class nsPrintDialogServiceGTK : public nsIPrintDialogService
  virtual ~nsPrintDialogServiceGTK();



  NS_IMETHODIMP Init() override;
  NS_IMETHODIMP Show(nsPIDOMWindowOuter *aParent, nsIPrintSettings *aSettings,
                     nsIWebBrowserPrint *aWebBrowserPrint) override;
  NS_IMETHODIMP ShowPageSetup(nsPIDOMWindowOuter *aParent,
                              nsIPrintSettings *aSettings) override;