#include "chrome/browser/ui/views/frame/desktop_browser_frame_aura.h"
#include "chrome/app/chrome_command_ids.h"
#include "chrome/browser/ui/views/frame/browser_desktop_window_tree_host.h"
#include "chrome/browser/ui/views/frame/browser_view.h"
#include "ui/aura/client/aura_constants.h"
#include "ui/aura/window.h"
#include "ui/aura/window_event_dispatcher.h"
#include "ui/aura/window_observer.h"
#include "ui/base/hit_test.h"
#include "ui/base/models/simple_menu_model.h"
#include "ui/gfx/font.h"
#include "ui/views/view.h"
#include "ui/views/widget/widget.h"
#include "ui/wm/core/visibility_controller.h"
Window;
DesktopBrowserFrameAura::DesktopBrowserFrameAura(
BrowserFrame* browser_frame,
BrowserView* browser_view)
: … { … }
DesktopBrowserFrameAura::~DesktopBrowserFrameAura() = default;
void DesktopBrowserFrameAura::OnHostClosed() { … }
void DesktopBrowserFrameAura::InitNativeWidget(
views::Widget::InitParams params) { … }
views::Widget::InitParams DesktopBrowserFrameAura::GetWidgetParams() { … }
bool DesktopBrowserFrameAura::UseCustomFrame() const { … }
bool DesktopBrowserFrameAura::UsesNativeSystemMenu() const { … }
int DesktopBrowserFrameAura::GetMinimizeButtonOffset() const { … }
bool DesktopBrowserFrameAura::ShouldSaveWindowPlacement() const { … }
void DesktopBrowserFrameAura::GetWindowPlacement(
gfx::Rect* bounds,
ui::WindowShowState* show_state) const { … }
content::KeyboardEventProcessingResult
DesktopBrowserFrameAura::PreHandleKeyboardEvent(
const input::NativeWebKeyboardEvent& event) { … }
bool DesktopBrowserFrameAura::HandleKeyboardEvent(
const input::NativeWebKeyboardEvent& event) { … }
bool DesktopBrowserFrameAura::ShouldRestorePreviousBrowserWidgetState() const { … }
bool DesktopBrowserFrameAura::ShouldUseInitialVisibleOnAllWorkspaces() const { … }