summaryrefslogtreecommitdiffstats
path: root/ui/views/controls/textfield/native_textfield_views.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/views/controls/textfield/native_textfield_views.h')
-rw-r--r--ui/views/controls/textfield/native_textfield_views.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/views/controls/textfield/native_textfield_views.h b/ui/views/controls/textfield/native_textfield_views.h
index a60b931..d074dbf 100644
--- a/ui/views/controls/textfield/native_textfield_views.h
+++ b/ui/views/controls/textfield/native_textfield_views.h
@@ -210,6 +210,12 @@ class VIEWS_EXPORT NativeTextfieldViews : public TouchSelectionClientView,
// Convenience method to call TextfieldController::OnAfterUserAction();
void OnAfterUserAction();
+ // Calls |model_->Cut()| and notifies TextfieldController on success.
+ bool Cut();
+
+ // Calls |model_->Copy()| and notifies TextfieldController on success.
+ bool Copy();
+
// Calls |model_->Paste()| and calls TextfieldController::ContentsChanged()
// explicitly if paste succeeded.
bool Paste();