fune/widget/gtk/WidgetUtilsGtk.h
stransky 5fac69bb40 Bug 1460959 [Linux] Implement nsWindow::IsMainWindowTransparent(), r=jhorak
Implement nsWindow::IsMainWindowTransparent() as we need that info in BasicCompositor.

Depends on D88560

Differential Revision: https://phabricator.services.mozilla.com/D88975
2020-09-03 12:59:02 +00:00

26 lines
654 B
C++

/* -*- 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 WidgetUtilsGtk_h__
#define WidgetUtilsGtk_h__
#include <stdint.h>
namespace mozilla {
namespace widget {
class WidgetUtilsGTK {
public:
/* See WidgetUtils::IsTouchDeviceSupportPresent(). */
static int32_t IsTouchDeviceSupportPresent();
};
bool IsMainWindowTransparent();
} // namespace widget
} // namespace mozilla
#endif // WidgetUtilsGtk_h__