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

Side by Side Diff: content/common/input/input_event_ack.h

Issue 281723010: Bundle DidOverscrollParams with the InputEventAck (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code review and test Created 6 years, 7 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
(Empty)
1 // Copyright 2014 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_INPUT_EVENT_ACK_H_
6 #define CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_H_
7
8 #include "base/memory/scoped_ptr.h"
9 #include "content/common/content_export.h"
10 #include "content/common/input/did_overscroll_params.h"
11 #include "content/common/input/input_event_ack_state.h"
12 #include "third_party/WebKit/public/web/WebInputEvent.h"
13 #include "ui/events/latency_info.h"
14
15 namespace content {
16
17 struct CONTENT_EXPORT InputEventAck {
piman 2014/05/19 21:51:13 nit: do you need this as an explicit separate stru
jdduke (slow) 2014/05/19 22:00:21 Not particularly, defining in input_messages.h wor
18 InputEventAck();
19 ~InputEventAck();
20
21 blink::WebInputEvent::Type type;
22 InputEventAckState state;
23 ui::LatencyInfo latency;
24 scoped_ptr<DidOverscrollParams> overscroll;
25 };
26
27 } // namespace content
28
29 #endif // CONTENT_COMMON_INPUT_INPUT_EVENT_ACK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698