Chromium Code Reviews| Index: views/view.cc |
| diff --git a/views/view.cc b/views/view.cc |
| index d70e48b236c011ed2499cc721f5a4612c51c1d09..9f147fa39eec814fe9f8d6a53804ed77f74998d7 100644 |
| --- a/views/view.cc |
| +++ b/views/view.cc |
| @@ -540,11 +540,11 @@ void View::ProcessMouseReleased(const MouseEvent& e, bool canceled) { |
| } |
| #if defined(TOUCH_UI) |
| -bool View::ProcessTouchEvent(const TouchEvent& e) { |
| +View::TouchStatus View::ProcessTouchEvent(const TouchEvent& e) { |
| // TODO(rjkroege): Implement a grab scheme similar to as |
| // as is found in MousePressed. |
| - const bool result = OnTouchEvent(e); |
| - return result; |
| + const TouchStatus status = OnTouchEvent(e); |
|
sky
2011/01/18 17:16:50
return OnTouchEvent(e);
Also, we generally don't u
sadrul
2011/01/18 18:48:20
Noted, and fixed. Thanks.
|
| + return status; |
| } |
| #endif |
| @@ -1294,9 +1294,9 @@ void View::OnMouseExited(const MouseEvent& e) { |
| } |
| #if defined(TOUCH_UI) |
| -bool View::OnTouchEvent(const TouchEvent& event) { |
| +View::TouchStatus View::OnTouchEvent(const TouchEvent& event) { |
| DVLOG(1) << "visited the OnTouchEvent"; |
| - return false; |
| + return TOUCH_STATUS_UNKNOWN; |
| } |
| #endif |