diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-28 14:24:05 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-28 14:24:05 +0000 |
commit | dc4ffc998b3a4f95e8e607f7cd372f6202684640 (patch) | |
tree | 2fc2af4130e094e574fa342855e8d949fcc21c0f /views/widget/native_widget_view.cc | |
parent | 5997ae3fd9caf9e9f11b364b476c69e2803b6ba2 (diff) | |
download | chromium_src-dc4ffc998b3a4f95e8e607f7cd372f6202684640.zip chromium_src-dc4ffc998b3a4f95e8e607f7cd372f6202684640.tar.gz chromium_src-dc4ffc998b3a4f95e8e607f7cd372f6202684640.tar.bz2 |
Remove ifdef's for touchui stuff from events code.
Also, make sure the touch_pressed_handler_ is the view being removed before resetting it to NULL.
BUG=none
TEST=things compile and existing tests continue to pass
Review URL: http://codereview.chromium.org/7276002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@90762 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/widget/native_widget_view.cc')
-rw-r--r-- | views/widget/native_widget_view.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/views/widget/native_widget_view.cc b/views/widget/native_widget_view.cc index ff26a06..d54a91d 100644 --- a/views/widget/native_widget_view.cc +++ b/views/widget/native_widget_view.cc @@ -82,11 +82,9 @@ void NativeWidgetView::OnMouseExited(const MouseEvent& event) { delegate()->OnMouseEvent(event); } -#if defined(TOUCH_UI) ui::TouchStatus NativeWidgetView::OnTouchEvent(const TouchEvent& event) { return delegate()->OnTouchEvent(event); } -#endif bool NativeWidgetView::OnKeyPressed(const KeyEvent& event) { return delegate()->OnKeyEvent(event); |