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

Unified Diff: content/common/input/event_with_latency_info.h

Issue 1630983002: Move bulk of event_with_latency_info into common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners_2
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: content/common/input/event_with_latency_info.h
diff --git a/content/browser/renderer_host/event_with_latency_info.h b/content/common/input/event_with_latency_info.h
similarity index 84%
copy from content/browser/renderer_host/event_with_latency_info.h
copy to content/common/input/event_with_latency_info.h
index f55bb0c4e89499f78965d2b9286f40b27ca1b571..7b1982aabec38bf80f0f840f318dfa93e16816bc 100644
--- a/content/browser/renderer_host/event_with_latency_info.h
+++ b/content/common/input/event_with_latency_info.h
@@ -2,13 +2,12 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CONTENT_BROWSER_RENDERER_HOST_EVENT_WITH_LATENCY_INFO_H_
-#define CONTENT_BROWSER_RENDERER_HOST_EVENT_WITH_LATENCY_INFO_H_
+#ifndef CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_
+#define CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_
#include "ui/events/latency_info.h"
#include "content/common/input/web_input_event_traits.h"
-#include "content/public/browser/native_web_keyboard_event.h"
namespace blink {
class WebGestureEvent;
@@ -55,8 +54,6 @@ class EventWithLatencyInfo {
}
};
-typedef EventWithLatencyInfo<NativeWebKeyboardEvent>
- NativeWebKeyboardEventWithLatencyInfo;
typedef EventWithLatencyInfo<blink::WebGestureEvent>
GestureEventWithLatencyInfo;
typedef EventWithLatencyInfo<blink::WebMouseWheelEvent>
@@ -68,4 +65,4 @@ typedef EventWithLatencyInfo<blink::WebTouchEvent>
} // namespace content
-#endif // CONTENT_BROWSER_RENDERER_HOST_EVENT_WITH_LATENCY_INFO_H_
+#endif // CONTENT_COMMON_INPUT_EVENT_WITH_LATENCY_INFO_H_

Powered by Google App Engine
This is Rietveld 408576698