Revert of Add button to add new FSP services to Files app. (patchset #8 id:140001...
[chromium-blink-merge.git] / chrome / browser / ui / views / apps / keyboard_hook_handler.cc
blob60178f031d76aab80baa8a002d582dcf8ff9ff79
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "chrome/browser/ui/views/apps/keyboard_hook_handler.h"
7 #include "base/memory/singleton.h"
9 // TODO(sriramsr): Implement for other platforms.
10 // Empty implementation for other platforms.
11 void KeyboardHookHandler::Register(views::Widget* widget) {
14 void KeyboardHookHandler::Deregister(views::Widget* widget) {
17 // static
18 KeyboardHookHandler* KeyboardHookHandler::GetInstance() {
19 return Singleton<KeyboardHookHandler,
20 DefaultSingletonTraits<KeyboardHookHandler>>::get();