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