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

Side by Side Diff: ui/base/ime/dummy_text_input_client.h

Issue 1163603004: Remove candidate show/hide/update related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « content/renderer/render_widget.cc ('k') | ui/base/ime/dummy_text_input_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ 5 #ifndef UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_
6 #define UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ 6 #define UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_
7 7
8 #include "ui/base/ime/text_input_client.h" 8 #include "ui/base/ime/text_input_client.h"
9 9
10 namespace ui { 10 namespace ui {
(...skipping 25 matching lines...) Expand all
36 bool GetSelectionRange(gfx::Range* range) const override; 36 bool GetSelectionRange(gfx::Range* range) const override;
37 bool SetSelectionRange(const gfx::Range& range) override; 37 bool SetSelectionRange(const gfx::Range& range) override;
38 bool DeleteRange(const gfx::Range& range) override; 38 bool DeleteRange(const gfx::Range& range) override;
39 bool GetTextFromRange(const gfx::Range& range, 39 bool GetTextFromRange(const gfx::Range& range,
40 base::string16* text) const override; 40 base::string16* text) const override;
41 void OnInputMethodChanged() override; 41 void OnInputMethodChanged() override;
42 bool ChangeTextDirectionAndLayoutAlignment( 42 bool ChangeTextDirectionAndLayoutAlignment(
43 base::i18n::TextDirection direction) override; 43 base::i18n::TextDirection direction) override;
44 void ExtendSelectionAndDelete(size_t before, size_t after) override; 44 void ExtendSelectionAndDelete(size_t before, size_t after) override;
45 void EnsureCaretInRect(const gfx::Rect& rect) override; 45 void EnsureCaretInRect(const gfx::Rect& rect) override;
46 void OnCandidateWindowShown() override;
47 void OnCandidateWindowUpdated() override;
48 void OnCandidateWindowHidden() override;
49 bool IsEditCommandEnabled(int command_id) override; 46 bool IsEditCommandEnabled(int command_id) override;
50 void SetEditCommandForNextKeyEvent(int command_id) override; 47 void SetEditCommandForNextKeyEvent(int command_id) override;
51 48
52 TextInputType text_input_type_; 49 TextInputType text_input_type_;
53 50
54 DISALLOW_COPY_AND_ASSIGN(DummyTextInputClient); 51 DISALLOW_COPY_AND_ASSIGN(DummyTextInputClient);
55 }; 52 };
56 53
57 } // namespace ui 54 } // namespace ui
58 55
59 #endif // UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ 56 #endif // UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_
OLDNEW
« no previous file with comments | « content/renderer/render_widget.cc ('k') | ui/base/ime/dummy_text_input_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698