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_SCOPED_WEB_INPUT_EVENT_H_ | 5 #ifndef CONTENT_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_ |
6 #define CONTENT_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_ | 6 #define CONTENT_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 | 11 |
12 namespace WebKit { | 12 namespace blink { |
13 class WebInputEvent; | 13 class WebInputEvent; |
14 } | 14 } |
15 | 15 |
16 namespace content { | 16 namespace content { |
17 | 17 |
18 // WebKit::WebInputEvent does not provide a virtual destructor. | 18 // blink::WebInputEvent does not provide a virtual destructor. |
19 struct CONTENT_EXPORT WebInputEventDeleter { | 19 struct CONTENT_EXPORT WebInputEventDeleter { |
20 WebInputEventDeleter(); | 20 WebInputEventDeleter(); |
21 void operator()(WebKit::WebInputEvent* web_event) const; | 21 void operator()(blink::WebInputEvent* web_event) const; |
22 }; | 22 }; |
23 typedef scoped_ptr<WebKit::WebInputEvent, | 23 typedef scoped_ptr<blink::WebInputEvent, |
24 WebInputEventDeleter> ScopedWebInputEvent; | 24 WebInputEventDeleter> ScopedWebInputEvent; |
25 | 25 |
26 } // namespace content | 26 } // namespace content |
27 | 27 |
28 #endif // CONTENT_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_ | 28 #endif // CONTENT_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_ |
OLD | NEW |