widget/windows/nsSharePicker.h
author Mike Hommey <mh+mozilla@glandium.org>
Mon, 05 Dec 2022 22:55:14 +0000
changeset 644697 5b124d86f7a10e7427cd90c9baa026b9831a16e3
parent 513873 edabd786a473e490f0e9ba8e0b6d905ac2c6313e
permissions -rw-r--r--
Bug 1803938 - Adjust patches to clang trunk changes. Differential Revision: https://phabricator.services.mozilla.com/D163799

/* -*- 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 nsSharePicker_h__
#define nsSharePicker_h__

#include "nsCOMPtr.h"
#include "nsISharePicker.h"
#include "nsPIDOMWindow.h"
#include "nsThreadUtils.h"

class nsSharePicker : public nsISharePicker {
  virtual ~nsSharePicker() = default;

 public:
  nsSharePicker() = default;

  NS_DECL_ISUPPORTS
  NS_DECL_NSISHAREPICKER

 private:
  bool mInited = false;
  mozIDOMWindowProxy* mOpenerWindow;
};

#endif  // nsSharePicker_h__