// Copyright 2014 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/wm/core/accelerator_filter.h" #include <utility> #include "build/build_config.h" #include "ui/base/accelerators/accelerator.h" #include "ui/events/event.h" #include "ui/wm/core/accelerator_delegate.h" namespace wm { //////////////////////////////////////////////////////////////////////////////// // AcceleratorFilter, public: AcceleratorFilter::AcceleratorFilter( std::unique_ptr<AcceleratorDelegate> delegate) : … { … } AcceleratorFilter::~AcceleratorFilter() { … } bool AcceleratorFilter::ShouldFilter(ui::KeyEvent* event) { … } //////////////////////////////////////////////////////////////////////////////// // AcceleratorFilter, EventFilter implementation: void AcceleratorFilter::OnKeyEvent(ui::KeyEvent* event) { … } } // namespace wm