mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
* chore: bump chromium in DEPS to 2930eb12d56988c2c80bad2797ab036fe493d4e1 * chore: update patches * Revert "disable robotjs-based tests" This reverts commite56adafc1f. * Revert "skip dbus tests (#18409)" This reverts commitaea042cc83. * Revert "skip more dbus tests" This reverts commit68dbef48da. * chore: bump chromium in DEPS to fd62da5601399b92effaa32a943fcd96143c8605 * chore: bump chromium in DEPS to 99f87ca22ee6e7ec953defe694771cb68f47a596 * chore: bump chromium in DEPS to d88778435b4cd9a510a63385b6d4ba24674b9774 * chore: update patches * chore: update ssl_security_state_tab_helper.patch * Remove content_packaged_services https://chromium-review.googlesource.com/c/chromium/src/+/1604203 * chore: fix false positive lint error * views: wireup widget name to crash data https://chromium-review.googlesource.com/c/chromium/src/+/1626640 * chore: bump chromium in DEPS to ab588d36191964c4bca8de5c320534d95606c861 * roll patches
43 lines
1.3 KiB
C++
43 lines
1.3 KiB
C++
// Copyright (c) 2017 GitHub, Inc.
|
|
// Use of this source code is governed by the MIT license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#ifndef ATOM_BROWSER_UI_WIN_ATOM_DESKTOP_NATIVE_WIDGET_AURA_H_
|
|
#define ATOM_BROWSER_UI_WIN_ATOM_DESKTOP_NATIVE_WIDGET_AURA_H_
|
|
|
|
#include "atom/browser/native_window_views.h"
|
|
#include "ui/views/widget/desktop_aura/desktop_native_widget_aura.h"
|
|
|
|
namespace views {
|
|
class DesktopWindowTreeHost;
|
|
}
|
|
|
|
namespace atom {
|
|
|
|
class AtomDesktopNativeWidgetAura : public views::DesktopNativeWidgetAura {
|
|
public:
|
|
explicit AtomDesktopNativeWidgetAura(NativeWindowViews* native_window_view);
|
|
|
|
// views::DesktopNativeWidgetAura:
|
|
void InitNativeWidget(const views::Widget::InitParams& params) override;
|
|
|
|
// internal::NativeWidgetPrivate:
|
|
void Activate() override;
|
|
|
|
private:
|
|
void OnWindowActivated(wm::ActivationChangeObserver::ActivationReason reason,
|
|
aura::Window* gained_active,
|
|
aura::Window* lost_active) override;
|
|
|
|
NativeWindowViews* native_window_view_;
|
|
|
|
// Owned by DesktopNativeWidgetAura.
|
|
views::DesktopWindowTreeHost* desktop_window_tree_host_;
|
|
|
|
DISALLOW_COPY_AND_ASSIGN(AtomDesktopNativeWidgetAura);
|
|
};
|
|
|
|
} // namespace atom
|
|
|
|
#endif // ATOM_BROWSER_UI_WIN_ATOM_DESKTOP_NATIVE_WIDGET_AURA_H_
|