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

Side by Side Diff: ui/views/controls/textfield/textfield.h

Issue 145283006: Remove ui::TextInputClient::GetAttachedWindow Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 10 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/views/controls/prefix_selector.cc ('k') | ui/views/controls/textfield/textfield.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 UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 5 #ifndef UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 6 #define UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 ui::Accelerator* accelerator) OVERRIDE; 248 ui::Accelerator* accelerator) OVERRIDE;
249 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE; 249 virtual void ExecuteCommand(int command_id, int event_flags) OVERRIDE;
250 250
251 // ui::TextInputClient overrides: 251 // ui::TextInputClient overrides:
252 virtual void SetCompositionText( 252 virtual void SetCompositionText(
253 const ui::CompositionText& composition) OVERRIDE; 253 const ui::CompositionText& composition) OVERRIDE;
254 virtual void ConfirmCompositionText() OVERRIDE; 254 virtual void ConfirmCompositionText() OVERRIDE;
255 virtual void ClearCompositionText() OVERRIDE; 255 virtual void ClearCompositionText() OVERRIDE;
256 virtual void InsertText(const base::string16& text) OVERRIDE; 256 virtual void InsertText(const base::string16& text) OVERRIDE;
257 virtual void InsertChar(base::char16 ch, int flags) OVERRIDE; 257 virtual void InsertChar(base::char16 ch, int flags) OVERRIDE;
258 virtual gfx::NativeWindow GetAttachedWindow() const OVERRIDE;
259 virtual ui::TextInputType GetTextInputType() const OVERRIDE; 258 virtual ui::TextInputType GetTextInputType() const OVERRIDE;
260 virtual ui::TextInputMode GetTextInputMode() const OVERRIDE; 259 virtual ui::TextInputMode GetTextInputMode() const OVERRIDE;
261 virtual bool CanComposeInline() const OVERRIDE; 260 virtual bool CanComposeInline() const OVERRIDE;
262 virtual gfx::Rect GetCaretBounds() const OVERRIDE; 261 virtual gfx::Rect GetCaretBounds() const OVERRIDE;
263 virtual bool GetCompositionCharacterBounds(uint32 index, 262 virtual bool GetCompositionCharacterBounds(uint32 index,
264 gfx::Rect* rect) const OVERRIDE; 263 gfx::Rect* rect) const OVERRIDE;
265 virtual bool HasCompositionText() const OVERRIDE; 264 virtual bool HasCompositionText() const OVERRIDE;
266 virtual bool GetTextRange(gfx::Range* range) const OVERRIDE; 265 virtual bool GetTextRange(gfx::Range* range) const OVERRIDE;
267 virtual bool GetCompositionTextRange(gfx::Range* range) const OVERRIDE; 266 virtual bool GetCompositionTextRange(gfx::Range* range) const OVERRIDE;
268 virtual bool GetSelectionRange(gfx::Range* range) const OVERRIDE; 267 virtual bool GetSelectionRange(gfx::Range* range) const OVERRIDE;
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
428 427
429 // Used to bind callback functions to this object. 428 // Used to bind callback functions to this object.
430 base::WeakPtrFactory<Textfield> weak_ptr_factory_; 429 base::WeakPtrFactory<Textfield> weak_ptr_factory_;
431 430
432 DISALLOW_COPY_AND_ASSIGN(Textfield); 431 DISALLOW_COPY_AND_ASSIGN(Textfield);
433 }; 432 };
434 433
435 } // namespace views 434 } // namespace views
436 435
437 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 436 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
OLDNEW
« no previous file with comments | « ui/views/controls/prefix_selector.cc ('k') | ui/views/controls/textfield/textfield.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698