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

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

Issue 302293003: MacViews: Extend TextInputClient protocol with support for editing commands. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, fixes for ben Created 6 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 | Annotate | Revision Log
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 27 matching lines...) Expand all
38 virtual bool GetTextFromRange(const gfx::Range& range, 38 virtual bool GetTextFromRange(const gfx::Range& range,
39 base::string16* text) const OVERRIDE; 39 base::string16* text) const OVERRIDE;
40 virtual void OnInputMethodChanged() OVERRIDE; 40 virtual void OnInputMethodChanged() OVERRIDE;
41 virtual bool ChangeTextDirectionAndLayoutAlignment( 41 virtual bool ChangeTextDirectionAndLayoutAlignment(
42 base::i18n::TextDirection direction) OVERRIDE; 42 base::i18n::TextDirection direction) OVERRIDE;
43 virtual void ExtendSelectionAndDelete(size_t before, size_t after) OVERRIDE; 43 virtual void ExtendSelectionAndDelete(size_t before, size_t after) OVERRIDE;
44 virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE; 44 virtual void EnsureCaretInRect(const gfx::Rect& rect) OVERRIDE;
45 virtual void OnCandidateWindowShown() OVERRIDE; 45 virtual void OnCandidateWindowShown() OVERRIDE;
46 virtual void OnCandidateWindowUpdated() OVERRIDE; 46 virtual void OnCandidateWindowUpdated() OVERRIDE;
47 virtual void OnCandidateWindowHidden() OVERRIDE; 47 virtual void OnCandidateWindowHidden() OVERRIDE;
48 virtual bool IsEditingCommandEnabled(int command_id) OVERRIDE;
49 virtual void ExecuteEditingCommand(int command_id) OVERRIDE;
48 50
49 TextInputType text_input_type_; 51 TextInputType text_input_type_;
50 52
51 DISALLOW_COPY_AND_ASSIGN(DummyTextInputClient); 53 DISALLOW_COPY_AND_ASSIGN(DummyTextInputClient);
52 }; 54 };
53 55
54 } // namespace ui 56 } // namespace ui
55 57
56 #endif // UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_ 58 #endif // UI_BASE_IME_DUMMY_TEXT_INPUT_CLIENT_H_
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.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