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

Unified Diff: ui/views/controls/textfield/textfield.h

Issue 2342343003: views: provide feedback when editing fails (Closed)
Patch Set: Created 4 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/views/controls/textfield/textfield.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield.h
diff --git a/ui/views/controls/textfield/textfield.h b/ui/views/controls/textfield/textfield.h
index 22ff37b869acab431c7710407f0566326106d93e..3d8bf9c7916a13b0fbbf4d124272ef04e331bab8 100644
--- a/ui/views/controls/textfield/textfield.h
+++ b/ui/views/controls/textfield/textfield.h
@@ -392,6 +392,10 @@ class VIEWS_EXPORT Textfield : public View,
// Pastes the selection clipboard for the specified mouse event.
void PasteSelectionClipboard(const ui::MouseEvent& event);
+ // Called whenever an editing operation fails to provide visual or audio
sky 2016/09/16 17:34:36 Why the visual/audio-feedback description? Isn't t
Elly Fong-Jones 2016/09/19 11:28:57 Done.
+ // feedback to the user.
+ void OnEditFailed();
+
// The text model.
std::unique_ptr<TextfieldModel> model_;
« no previous file with comments | « no previous file | ui/views/controls/textfield/textfield.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698