Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | |
|
benwells
2014/11/21 00:52:01
Nit: no (c)
Sriram
2014/11/21 05:35:21
Done.
| |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #include "chrome/browser/ui/views/apps/keyboard_hook_handler.h" | |
| 6 | |
| 7 #include "base/memory/singleton.h" | |
| 8 | |
| 9 // TODO(sriramsr): Implement for other platforms. | |
| 10 // Empty implementation for other platform. | |
|
benwells
2014/11/21 00:52:01
Nit: platformS
Sriram
2014/11/21 05:35:21
Done.
| |
| 11 void KeyboardHookHandler::Register(views::Widget* widget) { | |
| 12 } | |
| 13 | |
| 14 void KeyboardHookHandler::Deregister(views::Widget* widget) { | |
| 15 } | |
| 16 | |
| 17 KeyboardHookHandler* KeyboardHookHandler::GetInstance() { | |
|
benwells
2014/11/21 00:52:01
nit: // static on line above.
Sriram
2014/11/21 05:35:21
Done.
| |
| 18 return Singleton<KeyboardHookHandler, | |
| 19 DefaultSingletonTraits<KeyboardHookHandler>>::get(); | |
| 20 } | |
| OLD | NEW |