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

Unified Diff: ui/views/style/platform_style.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
Index: ui/views/style/platform_style.h
diff --git a/ui/views/style/platform_style.h b/ui/views/style/platform_style.h
index a4a33a1a6e41016fa85a33c4b630c0f8c3273e11..88820a9a6687b7314069be3a6e1920e413df116f 100644
--- a/ui/views/style/platform_style.h
+++ b/ui/views/style/platform_style.h
@@ -92,6 +92,10 @@ class VIEWS_EXPORT PlatformStyle {
static std::unique_ptr<Border> CreateThemedLabelButtonBorder(
LabelButton* button);
+ // Provides visual or audio feedback to the user that an editing operation
+ // failed.
+ static void OnTextfieldEditFailed();
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(PlatformStyle);
};

Powered by Google App Engine
This is Rietveld 408576698