| Index: ui/views/win/hwnd_message_handler.cc
|
| diff --git a/ui/views/win/hwnd_message_handler.cc b/ui/views/win/hwnd_message_handler.cc
|
| index 6f80d3e568e2ca1dc1471d563356f850ec2bdc39..ef29efe7a78a8ac74c6b2a649e805f90801ba6d1 100644
|
| --- a/ui/views/win/hwnd_message_handler.cc
|
| +++ b/ui/views/win/hwnd_message_handler.cc
|
| @@ -21,7 +21,6 @@
|
| #include "base/trace_event/trace_event.h"
|
| #include "base/win/scoped_gdi_object.h"
|
| #include "base/win/windows_version.h"
|
| -#include "ui/base/touch/touch_enabled.h"
|
| #include "ui/base/view_prop.h"
|
| #include "ui/base/win/internal_constants.h"
|
| #include "ui/base/win/lock_state.h"
|
| @@ -1344,8 +1343,7 @@ LRESULT HWNDMessageHandler::OnCreate(CREATESTRUCT* create_struct) {
|
| // Get access to a modifiable copy of the system menu.
|
| GetSystemMenu(hwnd(), false);
|
|
|
| - if (ui::AreTouchEventsEnabled())
|
| - RegisterTouchWindow(hwnd(), TWF_WANTPALM);
|
| + RegisterTouchWindow(hwnd(), TWF_WANTPALM);
|
|
|
| // We need to allow the delegate to size its contents since the window may not
|
| // receive a size notification when its initial bounds are specified at window
|
|
|