| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_ | 5 #ifndef COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_ |
| 6 #define COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_ | 6 #define COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 aura::Window* lost_focus) override; | 59 aura::Window* lost_focus) override; |
| 60 | 60 |
| 61 // Overridden from ArcImeBridge::Delegate: | 61 // Overridden from ArcImeBridge::Delegate: |
| 62 void OnTextInputTypeChanged(ui::TextInputType type) override; | 62 void OnTextInputTypeChanged(ui::TextInputType type) override; |
| 63 void OnCursorRectChanged(const gfx::Rect& rect) override; | 63 void OnCursorRectChanged(const gfx::Rect& rect) override; |
| 64 void OnCancelComposition() override; | 64 void OnCancelComposition() override; |
| 65 void ShowImeIfNeeded() override; | 65 void ShowImeIfNeeded() override; |
| 66 | 66 |
| 67 // Overridden from keyboard::KeyboardControllerObserver. | 67 // Overridden from keyboard::KeyboardControllerObserver. |
| 68 void OnKeyboardBoundsChanging(const gfx::Rect& rect) override; | 68 void OnKeyboardBoundsChanging(const gfx::Rect& rect) override; |
| 69 void OnKeyboardHidden() override; |
| 69 | 70 |
| 70 // Overridden from ui::TextInputClient: | 71 // Overridden from ui::TextInputClient: |
| 71 void SetCompositionText(const ui::CompositionText& composition) override; | 72 void SetCompositionText(const ui::CompositionText& composition) override; |
| 72 void ConfirmCompositionText() override; | 73 void ConfirmCompositionText() override; |
| 73 void ClearCompositionText() override; | 74 void ClearCompositionText() override; |
| 74 void InsertText(const base::string16& text) override; | 75 void InsertText(const base::string16& text) override; |
| 75 void InsertChar(const ui::KeyEvent& event) override; | 76 void InsertChar(const ui::KeyEvent& event) override; |
| 76 ui::TextInputType GetTextInputType() const override; | 77 ui::TextInputType GetTextInputType() const override; |
| 77 gfx::Rect GetCaretBounds() const override; | 78 gfx::Rect GetCaretBounds() const override; |
| 78 | 79 |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 | 117 |
| 117 ui::InputMethod* test_input_method_; | 118 ui::InputMethod* test_input_method_; |
| 118 bool is_focus_observer_installed_; | 119 bool is_focus_observer_installed_; |
| 119 | 120 |
| 120 DISALLOW_COPY_AND_ASSIGN(ArcImeService); | 121 DISALLOW_COPY_AND_ASSIGN(ArcImeService); |
| 121 }; | 122 }; |
| 122 | 123 |
| 123 } // namespace arc | 124 } // namespace arc |
| 124 | 125 |
| 125 #endif // COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_ | 126 #endif // COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_ |
| OLD | NEW |