| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "views/touchui/gesture_manager.h" | 5 #include "views/touchui/gesture_manager.h" |
| 6 #ifndef NDEBUG | 6 #ifndef NDEBUG |
| 7 #include <iostream> | 7 #include <ostream> |
| 8 #endif | 8 #endif |
| 9 | 9 |
| 10 #include "base/logging.h" | 10 #include "base/logging.h" |
| 11 #include "views/events/event.h" | 11 #include "views/events/event.h" |
| 12 #include "views/view.h" | 12 #include "views/view.h" |
| 13 #include "views/widget/widget.h" | 13 #include "views/widget/widget.h" |
| 14 | 14 |
| 15 namespace views { | 15 namespace views { |
| 16 | 16 |
| 17 GestureManager::~GestureManager() { | 17 GestureManager::~GestureManager() { |
| (...skipping 20 matching lines...) Expand all Loading... |
| 38 Event::FromNativeEvent2 from_native; | 38 Event::FromNativeEvent2 from_native; |
| 39 MouseEvent mouseev(event, from_native); | 39 MouseEvent mouseev(event, from_native); |
| 40 source->GetWidget()->GetTopLevelWidget()->OnMouseEvent(mouseev); | 40 source->GetWidget()->GetTopLevelWidget()->OnMouseEvent(mouseev); |
| 41 return true; | 41 return true; |
| 42 } | 42 } |
| 43 | 43 |
| 44 GestureManager::GestureManager() { | 44 GestureManager::GestureManager() { |
| 45 } | 45 } |
| 46 | 46 |
| 47 } // namespace views | 47 } // namespace views |
| OLD | NEW |