| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 CONTENT_COMMON_INPUT_WEB_INPUT_EVENT_PAYLOAD_H_ | 5 #ifndef CONTENT_COMMON_INPUT_WEB_INPUT_EVENT_PAYLOAD_H_ |
| 6 #define CONTENT_COMMON_INPUT_WEB_INPUT_EVENT_PAYLOAD_H_ | 6 #define CONTENT_COMMON_INPUT_WEB_INPUT_EVENT_PAYLOAD_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "content/common/input/input_event.h" | 10 #include "content/common/input/input_event.h" |
| 11 #include "ui/base/latency_info.h" | 11 #include "ui/events/latency_info.h" |
| 12 | 12 |
| 13 namespace WebKit { | 13 namespace WebKit { |
| 14 class WebInputEvent; | 14 class WebInputEvent; |
| 15 } | 15 } |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 | 18 |
| 19 // Wraps a WebKit::WebInputEvent. | 19 // Wraps a WebKit::WebInputEvent. |
| 20 class CONTENT_EXPORT WebInputEventPayload : public InputEvent::Payload { | 20 class CONTENT_EXPORT WebInputEventPayload : public InputEvent::Payload { |
| 21 public: | 21 public: |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 ScopedWebInputEvent web_event_; | 58 ScopedWebInputEvent web_event_; |
| 59 ui::LatencyInfo latency_info_; | 59 ui::LatencyInfo latency_info_; |
| 60 bool is_keyboard_shortcut_; | 60 bool is_keyboard_shortcut_; |
| 61 | 61 |
| 62 DISALLOW_COPY_AND_ASSIGN(WebInputEventPayload); | 62 DISALLOW_COPY_AND_ASSIGN(WebInputEventPayload); |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace content | 65 } // namespace content |
| 66 | 66 |
| 67 #endif // CONTENT_COMMON_INPUT_WEB_INPUT_EVENT_PAYLOAD_H_ | 67 #endif // CONTENT_COMMON_INPUT_WEB_INPUT_EVENT_PAYLOAD_H_ |
| OLD | NEW |