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

Side by Side Diff: ui/events/blink/scoped_web_input_event.h

Issue 2240983003: Move |ScopedWebInputEvent| and |WebInputEventTraits| from |content::| to "ui/events/blink" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase and ncarter's review Created 4 years, 4 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
« no previous file with comments | « ui/events/blink/BUILD.gn ('k') | ui/events/blink/scoped_web_input_event.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 UI_EVENTS_BLINK_SCOPED_WEB_INPUT_EVENT_H_
6 #define CONTENT_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_ 6 #define UI_EVENTS_BLINK_SCOPED_WEB_INPUT_EVENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "content/common/content_export.h"
11
12 namespace blink { 10 namespace blink {
13 class WebInputEvent; 11 class WebInputEvent;
14 } 12 }
15 13
16 namespace content { 14 namespace ui {
17 15
18 // blink::WebInputEvent does not provide a virtual destructor. 16 // blink::WebInputEvent does not provide a virtual destructor.
19 struct CONTENT_EXPORT WebInputEventDeleter { 17 struct WebInputEventDeleter {
20 WebInputEventDeleter(); 18 WebInputEventDeleter();
21 void operator()(blink::WebInputEvent* web_event) const; 19 void operator()(blink::WebInputEvent* web_event) const;
22 }; 20 };
23 typedef std::unique_ptr<blink::WebInputEvent, WebInputEventDeleter> 21 typedef std::unique_ptr<blink::WebInputEvent, WebInputEventDeleter>
24 ScopedWebInputEvent; 22 ScopedWebInputEvent;
25 23
26 } // namespace content 24 } // namespace ui
27 25
28 #endif // CONTENT_COMMON_INPUT_SCOPED_WEB_INPUT_EVENT_H_ 26 #endif // UI_EVENTS_BLINK_SCOPED_WEB_INPUT_EVENT_H_
OLDNEW
« no previous file with comments | « ui/events/blink/BUILD.gn ('k') | ui/events/blink/scoped_web_input_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698