| Index: chrome/browser/ui/views/apps/keyboard_hook_handler.cc
|
| diff --git a/chrome/browser/ui/views/apps/keyboard_hook_handler.cc b/chrome/browser/ui/views/apps/keyboard_hook_handler.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..60178f031d76aab80baa8a002d582dcf8ff9ff79
|
| --- /dev/null
|
| +++ b/chrome/browser/ui/views/apps/keyboard_hook_handler.cc
|
| @@ -0,0 +1,21 @@
|
| +// Copyright 2014 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.
|
| +
|
| +#include "chrome/browser/ui/views/apps/keyboard_hook_handler.h"
|
| +
|
| +#include "base/memory/singleton.h"
|
| +
|
| +// TODO(sriramsr): Implement for other platforms.
|
| +// Empty implementation for other platforms.
|
| +void KeyboardHookHandler::Register(views::Widget* widget) {
|
| +}
|
| +
|
| +void KeyboardHookHandler::Deregister(views::Widget* widget) {
|
| +}
|
| +
|
| +// static
|
| +KeyboardHookHandler* KeyboardHookHandler::GetInstance() {
|
| + return Singleton<KeyboardHookHandler,
|
| + DefaultSingletonTraits<KeyboardHookHandler>>::get();
|
| +}
|
|
|