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

Side by Side Diff: content/common/input/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_INPUT_EVENT_H_ 5 #ifndef CONTENT_COMMON_INPUT_INPUT_EVENT_H_
6 #define CONTENT_COMMON_INPUT_INPUT_EVENT_H_ 6 #define CONTENT_COMMON_INPUT_INPUT_EVENT_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.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 #include "content/common/input/scoped_web_input_event.h" 11 #include "content/public/common/input/scoped_web_input_event.h"
12 #include "ui/events/latency_info.h" 12 #include "ui/events/latency_info.h"
13 13
14 namespace blink { 14 namespace blink {
15 class WebInputEvent; 15 class WebInputEvent;
16 } 16 }
17 17
18 namespace content { 18 namespace content {
19 19
20 // An content-specific wrapper for WebInputEvents and associated metadata. 20 // An content-specific wrapper for WebInputEvents and associated metadata.
21 class CONTENT_EXPORT InputEvent { 21 class CONTENT_EXPORT InputEvent {
22 public: 22 public:
23 InputEvent(); 23 InputEvent();
24 InputEvent(const blink::WebInputEvent& web_event, 24 InputEvent(const blink::WebInputEvent& web_event,
25 const ui::LatencyInfo& latency_info); 25 const ui::LatencyInfo& latency_info);
26 ~InputEvent(); 26 ~InputEvent();
27 27
28 ScopedWebInputEvent web_event; 28 ScopedWebInputEvent web_event;
29 ui::LatencyInfo latency_info; 29 ui::LatencyInfo latency_info;
30 30
31 private: 31 private:
32 DISALLOW_COPY_AND_ASSIGN(InputEvent); 32 DISALLOW_COPY_AND_ASSIGN(InputEvent);
33 }; 33 };
34 34
35 } // namespace content 35 } // namespace content
36 36
37 #endif // CONTENT_COMMON_INPUT_INPUT_EVENT_H_ 37 #endif // CONTENT_COMMON_INPUT_INPUT_EVENT_H_
OLDNEW
« no previous file with comments | « content/common/input/gesture_event_stream_validator.cc ('k') | content/common/input/input_event.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698