| 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 UI_BASE_EVENTS_H_ | 5 #ifndef UI_BASE_EVENTS_EVENT_CONSTANTS_EVENTS_H_ |
| 6 #define UI_BASE_EVENTS_H_ | 6 #define UI_BASE_EVENTS_EVENT_CONSTANTS_EVENTS_H_ |
| 7 | 7 |
| 8 #include "base/event_types.h" | 8 #include "base/event_types.h" |
| 9 #include "ui/base/keycodes/keyboard_codes.h" | 9 #include "ui/base/keycodes/keyboard_codes.h" |
| 10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
| 11 | 11 |
| 12 #if defined(OS_WIN) | 12 #if defined(OS_WIN) |
| 13 #include <windows.h> | 13 #include <windows.h> |
| 14 #endif | 14 #endif |
| 15 | 15 |
| 16 namespace gfx { | 16 namespace gfx { |
| (...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 UI_EXPORT int GetModifiersFromACCEL(const ACCEL& accel); | 221 UI_EXPORT int GetModifiersFromACCEL(const ACCEL& accel); |
| 222 UI_EXPORT int GetModifiersFromKeyState(); | 222 UI_EXPORT int GetModifiersFromKeyState(); |
| 223 | 223 |
| 224 // Returns true if |message| identifies a mouse event that was generated as the | 224 // Returns true if |message| identifies a mouse event that was generated as the |
| 225 // result of a touch event. | 225 // result of a touch event. |
| 226 UI_EXPORT bool IsMouseEventFromTouch(UINT message); | 226 UI_EXPORT bool IsMouseEventFromTouch(UINT message); |
| 227 #endif | 227 #endif |
| 228 | 228 |
| 229 } // namespace ui | 229 } // namespace ui |
| 230 | 230 |
| 231 #endif // UI_BASE_EVENTS_H_ | 231 #endif // UI_BASE_EVENTS_EVENT_CONSTANTS_EVENTS_H_ |
| OLD | NEW |