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

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

Issue 22401002: Add GetTextInputMode function to TextInputClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reorder declaration Created 7 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 | « no previous file | content/browser/renderer_host/render_widget_host_view_aura.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 (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 <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
252 252
253 // Overridden from ui::TextInputClient: 253 // Overridden from ui::TextInputClient:
254 virtual void SetCompositionText( 254 virtual void SetCompositionText(
255 const ui::CompositionText& composition) OVERRIDE; 255 const ui::CompositionText& composition) OVERRIDE;
256 virtual void ConfirmCompositionText() OVERRIDE; 256 virtual void ConfirmCompositionText() OVERRIDE;
257 virtual void ClearCompositionText() OVERRIDE; 257 virtual void ClearCompositionText() OVERRIDE;
258 virtual void InsertText(const string16& text) OVERRIDE; 258 virtual void InsertText(const string16& text) OVERRIDE;
259 virtual void InsertChar(char16 ch, int flags) OVERRIDE; 259 virtual void InsertChar(char16 ch, int flags) OVERRIDE;
260 virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE; 260 virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE;
261 virtual ui::TextInputType GetTextInputType() const OVERRIDE; 261 virtual ui::TextInputType GetTextInputType() const OVERRIDE;
262 virtual ui::TextInputMode GetTextInputMode() const OVERRIDE;
262 virtual bool CanComposeInline() const OVERRIDE; 263 virtual bool CanComposeInline() const OVERRIDE;
263 virtual gfx::Rect GetCaretBounds() OVERRIDE; 264 virtual gfx::Rect GetCaretBounds() OVERRIDE;
264 virtual bool GetCompositionCharacterBounds(uint32 index, 265 virtual bool GetCompositionCharacterBounds(uint32 index,
265 gfx::Rect* rect) OVERRIDE; 266 gfx::Rect* rect) OVERRIDE;
266 virtual bool HasCompositionText() OVERRIDE; 267 virtual bool HasCompositionText() OVERRIDE;
267 virtual bool GetTextRange(ui::Range* range) OVERRIDE; 268 virtual bool GetTextRange(ui::Range* range) OVERRIDE;
268 virtual bool GetCompositionTextRange(ui::Range* range) OVERRIDE; 269 virtual bool GetCompositionTextRange(ui::Range* range) OVERRIDE;
269 virtual bool GetSelectionRange(ui::Range* range) OVERRIDE; 270 virtual bool GetSelectionRange(ui::Range* range) OVERRIDE;
270 virtual bool SetSelectionRange(const ui::Range& range) OVERRIDE; 271 virtual bool SetSelectionRange(const ui::Range& range) OVERRIDE;
271 virtual bool DeleteRange(const ui::Range& range) OVERRIDE; 272 virtual bool DeleteRange(const ui::Range& range) OVERRIDE;
(...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 TouchEditingClient* touch_editing_client_; 699 TouchEditingClient* touch_editing_client_;
699 700
700 ui::LatencyInfo software_latency_info_; 701 ui::LatencyInfo software_latency_info_;
701 702
702 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura); 703 DISALLOW_COPY_AND_ASSIGN(RenderWidgetHostViewAura);
703 }; 704 };
704 705
705 } // namespace content 706 } // namespace content
706 707
707 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_ 708 #endif // CONTENT_BROWSER_RENDERER_HOST_RENDER_WIDGET_HOST_VIEW_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | 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