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

Side by Side Diff: content/browser/renderer_host/render_widget_host_view_aura.h

Issue 2024003002: Add GetTextDirection to ui::TextInputClient API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 void FocusedNodeChanged(bool is_editable_node) override; 214 void FocusedNodeChanged(bool is_editable_node) override;
215 215
216 // Overridden from ui::TextInputClient: 216 // Overridden from ui::TextInputClient:
217 void SetCompositionText(const ui::CompositionText& composition) override; 217 void SetCompositionText(const ui::CompositionText& composition) override;
218 void ConfirmCompositionText() override; 218 void ConfirmCompositionText() override;
219 void ClearCompositionText() override; 219 void ClearCompositionText() override;
220 void InsertText(const base::string16& text) override; 220 void InsertText(const base::string16& text) override;
221 void InsertChar(const ui::KeyEvent& event) override; 221 void InsertChar(const ui::KeyEvent& event) override;
222 ui::TextInputType GetTextInputType() const override; 222 ui::TextInputType GetTextInputType() const override;
223 ui::TextInputMode GetTextInputMode() const override; 223 ui::TextInputMode GetTextInputMode() const override;
224 base::i18n::TextDirection GetTextDirection() const override;
224 int GetTextInputFlags() const override; 225 int GetTextInputFlags() const override;
225 bool CanComposeInline() const override; 226 bool CanComposeInline() const override;
226 gfx::Rect GetCaretBounds() const override; 227 gfx::Rect GetCaretBounds() const override;
227 bool GetCompositionCharacterBounds(uint32_t index, 228 bool GetCompositionCharacterBounds(uint32_t index,
228 gfx::Rect* rect) const override; 229 gfx::Rect* rect) const override;
229 bool HasCompositionText() const override; 230 bool HasCompositionText() const override;
230 bool GetTextRange(gfx::Range* range) const override; 231 bool GetTextRange(gfx::Range* range) const override;
231 bool GetCompositionTextRange(gfx::Range* range) const override; 232 bool GetCompositionTextRange(gfx::Range* range) const override;
232 bool GetSelectionRange(gfx::Range* range) const override; 233 bool GetSelectionRange(gfx::Range* range) const override;
233 bool SetSelectionRange(const gfx::Range& range) override; 234 bool SetSelectionRange(const gfx::Range& range) override;
(...skipping 459 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 bool disable_input_event_router_for_testing_; 694 bool disable_input_event_router_for_testing_;
694 695
695 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_; 696 base::WeakPtrFactory<RenderWidgetHostViewAura> weak_ptr_factory_;
696 697
697 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 698 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
698 }; 699 };
699 700
700 } // namespace content 701 } // namespace content
701 702
702 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 703 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « components/arc/ime/arc_ime_service.cc ('k') | content/browser/renderer_host/render_widget_host_view_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698