summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/apps/keyboard_hook_handler.cc
blob: 60178f031d76aab80baa8a002d582dcf8ff9ff79 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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();
}