Index: components/html_viewer/ime_controller.h |
diff --git a/components/html_viewer/ime_controller.h b/components/html_viewer/ime_controller.h |
deleted file mode 100644 |
index 2c3e055ab244479fec6e46e17f92a919c1c60d5d..0000000000000000000000000000000000000000 |
--- a/components/html_viewer/ime_controller.h |
+++ /dev/null |
@@ -1,53 +0,0 @@ |
-// Copyright 2015 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 COMPONENTS_HTML_VIEWER_IME_CONTROLLER_H_ |
-#define COMPONENTS_HTML_VIEWER_IME_CONTROLLER_H_ |
- |
-#include "base/macros.h" |
-#include "third_party/WebKit/public/web/WebTextInputInfo.h" |
- |
-namespace blink { |
-class WebGestureEvent; |
-class WebWidget; |
-} |
- |
-namespace mus { |
-class Window; |
-} |
- |
-namespace html_viewer { |
- |
-// This class is used by HTMLWidgetRootLocal and HTMLWidgetLocalRoot for |
-// handling IME related stuff. |
-class ImeController { |
- public: |
- ImeController(mus::Window* window, blink::WebWidget* widget); |
- ~ImeController(); |
- |
- // Methods called by WebWidget overrides. |
- void ResetInputMethod(); |
- void DidHandleGestureEvent(const blink::WebGestureEvent& event, |
- bool event_cancelled); |
- void DidUpdateTextOfFocusedElementByNonUserInput(); |
- void ShowImeIfNeeded(); |
- |
- private: |
- // Update text input state from WebWidget to mus::Window. If the focused |
- // element is editable and |show_ime| is True, the software keyboard will be |
- // shown. |
- void UpdateTextInputState(bool show_ime); |
- |
- // Not owned objects. |
- mus::Window* window_; |
- blink::WebWidget* widget_; |
- |
- blink::WebTextInputInfo text_input_info_; |
- |
- DISALLOW_COPY_AND_ASSIGN(ImeController); |
-}; |
- |
-} // namespace html_viewer |
- |
-#endif // COMPONENTS_HTML_VIEWER_IME_CONTROLLER_H_ |