OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_ |
7 | 7 |
8 namespace views { | 8 namespace ui { |
9 class Event; | 9 class Event; |
10 } | 10 } |
11 | 11 |
12 namespace event_utils { | 12 namespace event_utils { |
13 | 13 |
14 // Returns true if the specified event may have a | 14 // Returns true if the specified event may have a |
15 // WindowOptionDisposition. | 15 // WindowOptionDisposition. |
16 bool IsPossibleDispositionEvent(const views::Event& event); | 16 bool IsPossibleDispositionEvent(const ui::Event& event); |
17 | 17 |
18 } // namespace event_utils | 18 } // namespace event_utils |
19 | 19 |
20 #endif // CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_ | 20 #endif // CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_ |
OLD | NEW |