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

Unified Diff: ui/views/mus/window_tree_host_mus.h

Issue 2230393002: IME for Mus: Make InputMethodMus use the IME Mojo API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update mash_browser_tests_manifest. Created 4 years, 4 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/views/mus/text_input_client_impl.cc ('k') | ui/views/mus/window_tree_host_mus.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mus/window_tree_host_mus.h
diff --git a/ui/views/mus/window_tree_host_mus.h b/ui/views/mus/window_tree_host_mus.h
index fa096fcadd8cc0f52a121292d877ed508adc1d6b..a606553260663648ea91c8a8b56dee70398b92e5 100644
--- a/ui/views/mus/window_tree_host_mus.h
+++ b/ui/views/mus/window_tree_host_mus.h
@@ -6,6 +6,7 @@
#define UI_VIEWS_MUS_WINDOW_TREE_HOST_MUS_H_
#include "base/macros.h"
+#include "services/shell/public/cpp/connector.h"
#include "ui/aura/window_tree_host_platform.h"
#include "ui/views/mus/mus_export.h"
@@ -21,7 +22,7 @@ class Connector;
namespace views {
-class InputMethodMUS;
+class InputMethodMus;
class NativeWidgetMus;
class PlatformWindowMus;
@@ -31,6 +32,8 @@ class VIEWS_MUS_EXPORT WindowTreeHostMus : public aura::WindowTreeHostPlatform {
~WindowTreeHostMus() override;
NativeWidgetMus* native_widget() { return native_widget_; }
+ void InitInputMethod(shell::Connector* connector);
+
private:
// aura::WindowTreeHostPlatform:
void DispatchEvent(ui::Event* event) override;
@@ -39,7 +42,7 @@ class VIEWS_MUS_EXPORT WindowTreeHostMus : public aura::WindowTreeHostPlatform {
void OnCloseRequest() override;
NativeWidgetMus* native_widget_;
- std::unique_ptr<InputMethodMUS> input_method_;
+ std::unique_ptr<InputMethodMus> input_method_;
DISALLOW_COPY_AND_ASSIGN(WindowTreeHostMus);
};
« no previous file with comments | « ui/views/mus/text_input_client_impl.cc ('k') | ui/views/mus/window_tree_host_mus.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698