Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2078)

Unified Diff: chrome/browser/ui/virtual_keyboard/virtual_keyboard_manager.h

Issue 10399046: Remove virtual keyboard support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: final rebase Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_
« no previous file with comments | « chrome/browser/ui/virtual_keyboard/OWNERS ('k') | chrome/browser/ui/virtual_keyboard/virtual_keyboard_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698