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

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

Issue 739323002: Requests for tabs permission for VirtualKeyboard. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « ui/base/ime/chromeos/mock_ime_engine_handler.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 16 matching lines...) Expand all
27 int GetTextInputFlags() const override; 27 int GetTextInputFlags() const override;
28 bool CanComposeInline() const override; 28 bool CanComposeInline() const override;
29 gfx::Rect GetCaretBounds() const override; 29 gfx::Rect GetCaretBounds() const override;
30 bool GetCompositionCharacterBounds(uint32 index, 30 bool GetCompositionCharacterBounds(uint32 index,
31 gfx::Rect* rect) const override; 31 gfx::Rect* rect) const override;
32 bool HasCompositionText() const override; 32 bool HasCompositionText() const override;
33 bool GetTextRange(gfx::Range* range) const override; 33 bool GetTextRange(gfx::Range* range) const override;
34 bool GetCompositionTextRange(gfx::Range* range) const override; 34 bool GetCompositionTextRange(gfx::Range* range) const override;
35 bool GetSelectionRange(gfx::Range* range) const override; 35 bool GetSelectionRange(gfx::Range* range) const override;
36 bool SetSelectionRange(const gfx::Range& range) override; 36 bool SetSelectionRange(const gfx::Range& range) override;
37 uint32 GetSelectionOffset() const override;
37 bool DeleteRange(const gfx::Range& range) override; 38 bool DeleteRange(const gfx::Range& range) override;
38 bool GetTextFromRange(const gfx::Range& range, 39 bool GetTextFromRange(const gfx::Range& range,
39 base::string16* text) const override; 40 base::string16* text) const override;
40 void OnInputMethodChanged() override; 41 void OnInputMethodChanged() override;
41 bool ChangeTextDirectionAndLayoutAlignment( 42 bool ChangeTextDirectionAndLayoutAlignment(
42 base::i18n::TextDirection direction) override; 43 base::i18n::TextDirection direction) override;
43 void ExtendSelectionAndDelete(size_t before, size_t after) override; 44 void ExtendSelectionAndDelete(size_t before, size_t after) override;
44 void EnsureCaretInRect(const gfx::Rect& rect) override; 45 void EnsureCaretInRect(const gfx::Rect& rect) override;
45 bool IsEditCommandEnabled(int command_id) override; 46 bool IsEditCommandEnabled(int command_id) override;
46 void SetEditCommandForNextKeyEvent(int command_id) override; 47 void SetEditCommandForNextKeyEvent(int command_id) override;
47 48
48 TextInputType text_input_type_; 49 TextInputType text_input_type_;
49 50
50 DISALLOW_COPY_AND_ASSIGN(DummyTextInputClient); 51 DISALLOW_COPY_AND_ASSIGN(DummyTextInputClient);
51 }; 52 };
52 53
53 } // namespace ui 54 } // namespace ui
54 55
55 #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 | « ui/base/ime/chromeos/mock_ime_engine_handler.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