Index: ui/views/mus/input_method_mus.h |
diff --git a/ui/views/mus/input_method_mus.h b/ui/views/mus/input_method_mus.h |
index 146b5c31856d8c6166f756b358112186860f8467..1ed2f7740ab5166b718fdd7afca2e86378a72837 100644 |
--- a/ui/views/mus/input_method_mus.h |
+++ b/ui/views/mus/input_method_mus.h |
@@ -8,9 +8,6 @@ |
#define UI_VIEWS_MUS_INPUT_METHOD_MUS_H_ |
#include "base/macros.h" |
-#include "mojo/public/cpp/bindings/strong_binding.h" |
-#include "services/shell/public/cpp/connector.h" |
-#include "services/ui/public/interfaces/ime.mojom.h" |
#include "ui/views/mus/mus_export.h" |
namespace ui { |
@@ -19,16 +16,13 @@ |
namespace views { |
-class TextInputClientImpl; |
+class VIEWS_MUS_EXPORT InputMethodMUS : public ui::InputMethodBase { |
+ public: |
+ InputMethodMUS(ui::internal::InputMethodDelegate* delegate, |
+ ui::Window* window); |
+ ~InputMethodMUS() override; |
-class VIEWS_MUS_EXPORT InputMethodMus : public ui::InputMethodBase { |
- public: |
- InputMethodMus(ui::internal::InputMethodDelegate* delegate, |
- ui::Window* window); |
- ~InputMethodMus() override; |
- |
- void Init(shell::Connector* connector); |
- |
+ private: |
// Overridden from ui::InputMethod: |
void OnFocus() override; |
void OnBlur() override; |
@@ -42,24 +36,16 @@ |
std::string GetInputLocale() override; |
bool IsCandidatePopupOpen() const override; |
- private: |
- friend TextInputClientImpl; |
- |
// Overridden from ui::InputMethodBase: |
void OnDidChangeFocusedClient(ui::TextInputClient* focused_before, |
ui::TextInputClient* focused) override; |
void UpdateTextInputType(); |
- // The toplevel window which is not owned by this class. This may be null |
- // for tests. |
+ // The toplevel window which is not owned by this class. |
ui::Window* window_; |
- ui::mojom::IMEServerPtr ime_server_; |
- ui::mojom::InputMethodPtr input_method_; |
- std::unique_ptr<TextInputClientImpl> text_input_client_; |
- |
- DISALLOW_COPY_AND_ASSIGN(InputMethodMus); |
+ DISALLOW_COPY_AND_ASSIGN(InputMethodMUS); |
}; |
} // namespace views |