chromium/ui/views/controls/menu/menu_pre_target_handler_aura.cc

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "ui/views/controls/menu/menu_pre_target_handler_aura.h"

#include <memory>

#include "ui/aura/env.h"
#include "ui/aura/window.h"
#include "ui/views/controls/menu/menu_controller.h"
#include "ui/views/widget/widget.h"
#include "ui/wm/public/activation_client.h"

namespace views {

namespace {

aura::Window* GetOwnerRootWindow(views::Widget* owner) {}

}  // namespace

MenuPreTargetHandlerAura::MenuPreTargetHandlerAura(MenuController* controller,
                                                   Widget* owner)
    :{}

MenuPreTargetHandlerAura::~MenuPreTargetHandlerAura() {}

void MenuPreTargetHandlerAura::OnWindowActivated(
    wm::ActivationChangeObserver::ActivationReason reason,
    aura::Window* gained_active,
    aura::Window* lost_active) {}

void MenuPreTargetHandlerAura::OnWindowDestroying(aura::Window* window) {}

void MenuPreTargetHandlerAura::OnCancelMode(ui::CancelModeEvent* event) {}

void MenuPreTargetHandlerAura::OnKeyEvent(ui::KeyEvent* event) {}

bool MenuPreTargetHandlerAura::ShouldCancelMenuForEvent(
    const ui::KeyEvent& event) {}

void MenuPreTargetHandlerAura::Cleanup() {}

// static
std::unique_ptr<MenuPreTargetHandler> MenuPreTargetHandler::Create(
    MenuController* controller,
    Widget* owner) {}

}  // namespace views