Commit dcba6784 authored by Scott Violet's avatar Scott Violet Committed by Commit Bot

ash: removes AcceleratorHandler

It's no longer used.

BUG=842365
TEST=none (removal of dead code only)

Change-Id: I7ec73de3686591c4697ea6b58dfbeeb5961d0648
Reviewed-on: https://chromium-review.googlesource.com/1146983Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577195}
parent d726f5f6
......@@ -32,7 +32,6 @@ component("ash") {
"accelerators/accelerator_controller.h",
"accelerators/accelerator_delegate.cc",
"accelerators/accelerator_delegate.h",
"accelerators/accelerator_handler.h",
"accelerators/accelerator_ids.h",
"accelerators/accelerator_router.cc",
"accelerators/accelerator_router.h",
......
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ASH_ACCELERATORS_ACCELERATOR_HANDLER_H_
#define ASH_ACCELERATORS_ACCELERATOR_HANDLER_H_
#include <stdint.h>
#include <string>
#include <vector>
#include "base/containers/flat_map.h"
#include "services/ui/public/interfaces/window_manager.mojom.h"
namespace ash {
// Used by WindowManager for handling accelerators. This is only used in mash.
// TODO: this should no longer be necessary, remove. https://crbug.com/842365
class AcceleratorHandler {
public:
// See WindowManagerDelegate for details on |properties|.
virtual ui::mojom::EventResult OnAccelerator(
uint32_t id,
const ui::Event& event,
base::flat_map<std::string, std::vector<uint8_t>>* properties) = 0;
protected:
virtual ~AcceleratorHandler() {}
};
} // namespace ash
#endif // ASH_ACCELERATORS_ACCELERATOR_HANDLER_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment