Index: chrome/browser/ui/virtual_keyboard/virtual_keyboard_manager.h |
diff --git a/chrome/browser/ui/virtual_keyboard/virtual_keyboard_manager.h b/chrome/browser/ui/virtual_keyboard/virtual_keyboard_manager.h |
deleted file mode 100644 |
index e833ed9e09aa5c96d5e75b72a9a4ad00a4a2709a..0000000000000000000000000000000000000000 |
--- a/chrome/browser/ui/virtual_keyboard/virtual_keyboard_manager.h |
+++ /dev/null |
@@ -1,45 +0,0 @@ |
-// Copyright (c) 2011 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 CHROME_BROWSER_UI_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_MANAGER_H_ |
-#define CHROME_BROWSER_UI_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_MANAGER_H_ |
-#pragma once |
- |
-#include "base/memory/singleton.h" |
-#include "ui/views/widget/widget.h" |
- |
-class KeyboardWidget; |
- |
-// A singleton object to manage the virtual keyboard. |
-class VirtualKeyboardManager : public views::Widget::Observer { |
- public: |
- // Returns the singleton object. |
- static VirtualKeyboardManager* GetInstance(); |
- |
- // Shows the keyboard for the target widget. The events from the keyboard will |
- // be sent to |widget|. |
- // TODO(sad): Allow specifying the type of keyboard to show. |
- void ShowKeyboardForWidget(views::Widget* widget); |
- |
- // Hides the keyboard. |
- void Hide(); |
- |
- // Returns the keyboard Widget. |
- views::Widget* keyboard(); |
- |
- private: |
- friend struct DefaultSingletonTraits<VirtualKeyboardManager>; |
- |
- VirtualKeyboardManager(); |
- virtual ~VirtualKeyboardManager(); |
- |
- // Overridden from views::Widget::Observer. |
- virtual void OnWidgetClosing(views::Widget* widget) OVERRIDE; |
- |
- KeyboardWidget* keyboard_; |
- |
- DISALLOW_COPY_AND_ASSIGN(VirtualKeyboardManager); |
-}; |
- |
-#endif // CHROME_BROWSER_UI_VIRTUAL_KEYBOARD_VIRTUAL_KEYBOARD_MANAGER_H_ |