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

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

Issue 2553603002: New accessibility virtual keyboard behavior in non-sticky mode. (Closed)
Patch Set: reupload Created 4 years 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 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after
314 bool GetSelectionRange(gfx::Range* range) const override; 314 bool GetSelectionRange(gfx::Range* range) const override;
315 bool SetSelectionRange(const gfx::Range& range) override; 315 bool SetSelectionRange(const gfx::Range& range) override;
316 bool DeleteRange(const gfx::Range& range) override; 316 bool DeleteRange(const gfx::Range& range) override;
317 bool GetTextFromRange(const gfx::Range& range, 317 bool GetTextFromRange(const gfx::Range& range,
318 base::string16* text) const override; 318 base::string16* text) const override;
319 void OnInputMethodChanged() override; 319 void OnInputMethodChanged() override;
320 bool ChangeTextDirectionAndLayoutAlignment( 320 bool ChangeTextDirectionAndLayoutAlignment(
321 base::i18n::TextDirection direction) override; 321 base::i18n::TextDirection direction) override;
322 void ExtendSelectionAndDelete(size_t before, size_t after) override; 322 void ExtendSelectionAndDelete(size_t before, size_t after) override;
323 void EnsureCaretOutOfRect(const gfx::Rect& rect) override; 323 void EnsureCaretOutOfRect(const gfx::Rect& rect) override;
324 void OnClientFocusLost() override;
324 bool IsTextEditCommandEnabled(ui::TextEditCommand command) const override; 325 bool IsTextEditCommandEnabled(ui::TextEditCommand command) const override;
325 void SetTextEditCommandForNextKeyEvent(ui::TextEditCommand command) override; 326 void SetTextEditCommandForNextKeyEvent(ui::TextEditCommand command) override;
326 327
327 protected: 328 protected:
328 // Inserts or appends a character in response to an IME operation. 329 // Inserts or appends a character in response to an IME operation.
329 virtual void DoInsertChar(base::char16 ch); 330 virtual void DoInsertChar(base::char16 ch);
330 331
331 // Returns the TextfieldModel's text/cursor/selection rendering model. 332 // Returns the TextfieldModel's text/cursor/selection rendering model.
332 gfx::RenderText* GetRenderText() const; 333 gfx::RenderText* GetRenderText() const;
333 334
(...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
529 530
530 // Used to bind callback functions to this object. 531 // Used to bind callback functions to this object.
531 base::WeakPtrFactory<Textfield> weak_ptr_factory_; 532 base::WeakPtrFactory<Textfield> weak_ptr_factory_;
532 533
533 DISALLOW_COPY_AND_ASSIGN(Textfield); 534 DISALLOW_COPY_AND_ASSIGN(Textfield);
534 }; 535 };
535 536
536 } // namespace views 537 } // namespace views
537 538
538 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_ 539 #endif // UI_VIEWS_CONTROLS_TEXTFIELD_TEXTFIELD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698