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

Unified Diff: ui/keyboard/keyboard_ui_handler.h

Issue 208633002: [Code cleanup]Remove webui virtual keyboard code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 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
« no previous file with comments | « ui/keyboard/keyboard_ui_controller.cc ('k') | ui/keyboard/keyboard_ui_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_ui_handler.h
diff --git a/ui/keyboard/keyboard_ui_handler.h b/ui/keyboard/keyboard_ui_handler.h
deleted file mode 100644
index 3c14f7473e5c75419ee3c86bc756575f3780acd6..0000000000000000000000000000000000000000
--- a/ui/keyboard/keyboard_ui_handler.h
+++ /dev/null
@@ -1,45 +0,0 @@
-// Copyright (c) 2013 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 UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_
-#define UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_
-
-#include "base/basictypes.h"
-#include "base/compiler_specific.h"
-#include "content/public/browser/web_ui_message_handler.h"
-
-namespace keyboard {
-
-// The WebUI handler for chrome://keyboard. Inserts text into the currently
-// focused TextInputClient.
-class KeyboardUIHandler : public content::WebUIMessageHandler {
- public:
- KeyboardUIHandler();
- virtual ~KeyboardUIHandler();
-
- private:
- // |content::WebUIMessageHandler| implementation:
- virtual void RegisterMessages() OVERRIDE;
-
- // Callback for the "insertText" message.
- void HandleInsertTextMessage(const base::ListValue* args);
-
- // Callback for the "getInputContext" message. The first element in
- // |args| should be an integer representing request ID.
- void HandleGetInputContextMessage(const base::ListValue* args);
-
- // Callback for the "sendKeyEvent" message. The first element in |args| is a
- // dictionary containing an event type, the character being pressed or
- // released, a virtual key code, and the state of the shift key.
- void HandleSendKeyEventMessage(const base::ListValue* args);
-
- // Callback for the "hideKeyboard" message.
- void HandleHideKeyboard(const base::ListValue* args);
-
- DISALLOW_COPY_AND_ASSIGN(KeyboardUIHandler);
-};
-
-} // namespace keyboard
-
-#endif // UI_KEYBOARD_KEYBOARD_UI_HANDLER_H_
« no previous file with comments | « ui/keyboard/keyboard_ui_controller.cc ('k') | ui/keyboard/keyboard_ui_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698