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

Side by Side Diff: ui/views/controls/textfield/textfield.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/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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 int GetTextInputFlags() const override; 290 int GetTextInputFlags() const override;
291 bool CanComposeInline() const override; 291 bool CanComposeInline() const override;
292 gfx::Rect GetCaretBounds() const override; 292 gfx::Rect GetCaretBounds() const override;
293 bool GetCompositionCharacterBounds(uint32 index, 293 bool GetCompositionCharacterBounds(uint32 index,
294 gfx::Rect* rect) const override; 294 gfx::Rect* rect) const override;
295 bool HasCompositionText() const override; 295 bool HasCompositionText() const override;
296 bool GetTextRange(gfx::Range* range) const override; 296 bool GetTextRange(gfx::Range* range) const override;
297 bool GetCompositionTextRange(gfx::Range* range) const override; 297 bool GetCompositionTextRange(gfx::Range* range) const override;
298 bool GetSelectionRange(gfx::Range* range) const override; 298 bool GetSelectionRange(gfx::Range* range) const override;
299 bool SetSelectionRange(const gfx::Range& range) override; 299 bool SetSelectionRange(const gfx::Range& range) override;
300 uint32 GetSelectionOffset() const override;
300 bool DeleteRange(const gfx::Range& range) override; 301 bool DeleteRange(const gfx::Range& range) override;
301 bool GetTextFromRange(const gfx::Range& range, 302 bool GetTextFromRange(const gfx::Range& range,
302 base::string16* text) const override; 303 base::string16* text) const override;
303 void OnInputMethodChanged() override; 304 void OnInputMethodChanged() override;
304 bool ChangeTextDirectionAndLayoutAlignment( 305 bool ChangeTextDirectionAndLayoutAlignment(
305 base::i18n::TextDirection direction) override; 306 base::i18n::TextDirection direction) override;
306 void ExtendSelectionAndDelete(size_t before, size_t after) override; 307 void ExtendSelectionAndDelete(size_t before, size_t after) override;
307 void EnsureCaretInRect(const gfx::Rect& rect) override; 308 void EnsureCaretInRect(const gfx::Rect& rect) override;
308 bool IsEditCommandEnabled(int command_id) override; 309 bool IsEditCommandEnabled(int command_id) override;
309 void SetEditCommandForNextKeyEvent(int command_id) override; 310 void SetEditCommandForNextKeyEvent(int command_id) override;
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 485
485 // Used to bind callback functions to this object. 486 // Used to bind callback functions to this object.
486 base::WeakPtrFactory<Textfield> weak_ptr_factory_; 487 base::WeakPtrFactory<Textfield> weak_ptr_factory_;
487 488
488 DISALLOW_COPY_AND_ASSIGN(Textfield); 489 DISALLOW_COPY_AND_ASSIGN(Textfield);
489 }; 490 };
490 491
491 } // namespace views 492 } // namespace views
492 493
493 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 494 #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