Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(948)

Side by Side Diff: content/public/common/input/scoped_web_input_event.h

Issue 1560553002: Framelet Prototype 2016 Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased + Applied Brett's Windows + Fixed security issue Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_PUBLIC_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_
6 #define CONTENT_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_ 6 #define CONTENT_PUBLIC_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 10
11 namespace blink { 11 namespace blink {
12 class WebInputEvent; 12 class WebInputEvent;
13 } 13 }
14 14
15 namespace content { 15 namespace content {
16 16
17 // blink::WebInputEvent does not provide a virtual destructor. 17 // blink::WebInputEvent does not provide a virtual destructor.
18 struct CONTENT_EXPORT WebInputEventDeleter { 18 struct CONTENT_EXPORT WebInputEventDeleter {
19 WebInputEventDeleter(); 19 WebInputEventDeleter();
20 void operator()(blink::WebInputEvent* web_event) const; 20 void operator()(blink::WebInputEvent* web_event) const;
21 }; 21 };
22 typedef scoped_ptr<blink::WebInputEvent, 22 typedef scoped_ptr<blink::WebInputEvent, WebInputEventDeleter>
23 WebInputEventDeleter> ScopedWebInputEvent; 23 ScopedWebInputEvent;
24 24
25 } // namespace content 25 } // namespace content
26 26
27 #endif // CONTENT_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_ 27 #endif // CONTENT_PUBLIC_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_
OLDNEW
« no previous file with comments | « content/public/common/common_param_traits_macros.h ('k') | content/public/common/input/scoped_web_input_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698