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

Side by Side Diff: components/arc/ime/arc_ime_service.h

Issue 2554513002: Change |EnsureCaretInRect| to |EnsureCaretNotInRect|. (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
OLDNEW
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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 bool GetCompositionTextRange(gfx::Range* range) const override; 102 bool GetCompositionTextRange(gfx::Range* range) const override;
103 bool GetSelectionRange(gfx::Range* range) const override; 103 bool GetSelectionRange(gfx::Range* range) const override;
104 bool SetSelectionRange(const gfx::Range& range) override; 104 bool SetSelectionRange(const gfx::Range& range) override;
105 bool DeleteRange(const gfx::Range& range) override; 105 bool DeleteRange(const gfx::Range& range) override;
106 bool GetTextFromRange(const gfx::Range& range, 106 bool GetTextFromRange(const gfx::Range& range,
107 base::string16* text) const override; 107 base::string16* text) const override;
108 void OnInputMethodChanged() override {} 108 void OnInputMethodChanged() override {}
109 bool ChangeTextDirectionAndLayoutAlignment( 109 bool ChangeTextDirectionAndLayoutAlignment(
110 base::i18n::TextDirection direction) override; 110 base::i18n::TextDirection direction) override;
111 void ExtendSelectionAndDelete(size_t before, size_t after) override; 111 void ExtendSelectionAndDelete(size_t before, size_t after) override;
112 void EnsureCaretInRect(const gfx::Rect& rect) override {} 112 void EnsureCaretNotInRect(const gfx::Rect& rect) override {}
113 bool IsTextEditCommandEnabled(ui::TextEditCommand command) const override; 113 bool IsTextEditCommandEnabled(ui::TextEditCommand command) const override;
114 void SetTextEditCommandForNextKeyEvent(ui::TextEditCommand command) override { 114 void SetTextEditCommandForNextKeyEvent(ui::TextEditCommand command) override {
115 } 115 }
116 116
117 private: 117 private:
118 ui::InputMethod* GetInputMethod(); 118 ui::InputMethod* GetInputMethod();
119 119
120 std::unique_ptr<ArcImeBridge> ime_bridge_; 120 std::unique_ptr<ArcImeBridge> ime_bridge_;
121 std::unique_ptr<ArcWindowDetector> arc_window_detector_; 121 std::unique_ptr<ArcWindowDetector> arc_window_detector_;
122 ui::TextInputType ime_type_; 122 ui::TextInputType ime_type_;
123 gfx::Rect cursor_rect_; 123 gfx::Rect cursor_rect_;
124 bool has_composition_text_; 124 bool has_composition_text_;
125 125
126 aura::WindowTracker focused_arc_window_; 126 aura::WindowTracker focused_arc_window_;
127 127
128 keyboard::KeyboardController* keyboard_controller_; 128 keyboard::KeyboardController* keyboard_controller_;
129 129
130 ui::InputMethod* test_input_method_; 130 ui::InputMethod* test_input_method_;
131 bool is_focus_observer_installed_; 131 bool is_focus_observer_installed_;
132 132
133 DISALLOW_COPY_AND_ASSIGN(ArcImeService); 133 DISALLOW_COPY_AND_ASSIGN(ArcImeService);
134 }; 134 };
135 135
136 } // namespace arc 136 } // namespace arc
137 137
138 #endif // COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_ 138 #endif // COMPONENTS_ARC_IME_ARC_IME_SERVICE_H_
OLDNEW
« no previous file with comments | « ash/root_window_controller_unittest.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698