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

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

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/scoped_web_input_event.h ('k') | ui/events/blink/web_input_event_traits.h » ('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 #include "content/common/input/scoped_web_input_event.h" 5 #include "ui/events/blink/scoped_web_input_event.h"
6 6
7 #include "base/logging.h"
8 #include "content/common/input/web_input_event_traits.h"
9 #include "third_party/WebKit/public/web/WebInputEvent.h" 7 #include "third_party/WebKit/public/web/WebInputEvent.h"
8 #include "ui/events/blink/web_input_event_traits.h"
10 9
11 using blink::WebGestureEvent;
12 using blink::WebInputEvent; 10 using blink::WebInputEvent;
13 using blink::WebKeyboardEvent;
14 using blink::WebMouseEvent;
15 using blink::WebMouseWheelEvent;
16 using blink::WebTouchEvent;
17 11
18 namespace content { 12 namespace ui {
19 13
20 WebInputEventDeleter::WebInputEventDeleter() {} 14 WebInputEventDeleter::WebInputEventDeleter() {}
21 15
22 void WebInputEventDeleter::operator()(WebInputEvent* web_event) const { 16 void WebInputEventDeleter::operator()(WebInputEvent* web_event) const {
23 WebInputEventTraits::Delete(web_event); 17 WebInputEventTraits::Delete(web_event);
24 } 18 }
25 19
26 } // namespace content 20 } // namespace ui
OLDNEW
« no previous file with comments | « ui/events/blink/scoped_web_input_event.h ('k') | ui/events/blink/web_input_event_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698