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

Unified Diff: components/html_viewer/ime_controller.h

Issue 1677293002: Bye bye Mandoline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: moar Created 4 years, 10 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 | « components/html_viewer/html_widget.cc ('k') | components/html_viewer/ime_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « components/html_viewer/html_widget.cc ('k') | components/html_viewer/ime_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698