diff options
Diffstat (limited to 'ui/views/controls/textfield/textfield_controller.h')
-rw-r--r-- | ui/views/controls/textfield/textfield_controller.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ui/views/controls/textfield/textfield_controller.h b/ui/views/controls/textfield/textfield_controller.h index ef2bdda..c5cb2e5 100644 --- a/ui/views/controls/textfield/textfield_controller.h +++ b/ui/views/controls/textfield/textfield_controller.h @@ -8,6 +8,10 @@ #include "base/string16.h" +namespace ui { +class OSExchangeData; +} // namespace ui + namespace views { class KeyEvent; @@ -37,6 +41,13 @@ class TextfieldController { // It's currently only supported by Views implementation. virtual void OnAfterUserAction(Textfield* sender) {} + // Called after performing a Cut or Copy operation. + virtual void OnAfterCutOrCopy() {} + + // Called after the textfield has written drag data to give the controller a + // chance to modify the drag data. + virtual void OnWriteDragData(ui::OSExchangeData* data) {} + protected: virtual ~TextfieldController() {} }; |