| Index: ui/views/controls/textfield/textfield.cc
|
| diff --git a/ui/views/controls/textfield/textfield.cc b/ui/views/controls/textfield/textfield.cc
|
| index 27c0e6a573df57bcdef0a3b0cde35d815b49c623..4b0bef22f724ba3c3d7bd4defe8aab6874b4560c 100644
|
| --- a/ui/views/controls/textfield/textfield.cc
|
| +++ b/ui/views/controls/textfield/textfield.cc
|
| @@ -259,11 +259,6 @@ Textfield::Textfield()
|
| View::SetBorder(std::unique_ptr<Border>(new FocusableBorder()));
|
| SetFocusBehavior(FocusBehavior::ALWAYS);
|
|
|
| -// On Linux, middle click should update or paste the selection clipboard.
|
| -#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
|
| - selection_controller_.set_handles_selection_clipboard(true);
|
| -#endif
|
| -
|
| // These allow BrowserView to pass edit commands from the Chrome menu to us
|
| // when we're focused by simply asking the FocusManager to
|
| // ProcessAccelerator() with the relevant accelerators.
|
| @@ -1776,6 +1771,10 @@ bool Textfield::IsReadOnly() const {
|
| return read_only();
|
| }
|
|
|
| +bool Textfield::SupportsDrag() const {
|
| + return true;
|
| +}
|
| +
|
| void Textfield::SetTextBeingDragged(bool value) {
|
| initiating_drag_ = value;
|
| }
|
|
|