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

Unified Diff: content/browser/renderer_host/web_input_event_aura.h

Issue 2234023002: Refactor WebInputEventAura to ui/events/blink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/web_input_event_aura.h
diff --git a/content/browser/renderer_host/web_input_event_aura.h b/content/browser/renderer_host/web_input_event_aura.h
deleted file mode 100644
index 6ce8ed20e3817c42d0d9c3ddd13554944a2c330f..0000000000000000000000000000000000000000
--- a/content/browser/renderer_host/web_input_event_aura.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// 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_WEB_INPUT_EVENT_AURA_H_
-#define CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_
-
-#include "content/common/content_export.h"
-#include "third_party/WebKit/public/web/WebInputEvent.h"
-
-namespace ui {
-class GestureEvent;
-class KeyEvent;
-class MouseEvent;
-class MouseWheelEvent;
-class ScrollEvent;
-class TouchEvent;
-}
-
-namespace content {
-
-// Used for scrolling. This matches Firefox behavior.
-const int kPixelsPerTick = 53;
-
-CONTENT_EXPORT blink::WebMouseEvent MakeWebMouseEvent(
- const ui::MouseEvent& event);
-CONTENT_EXPORT blink::WebMouseWheelEvent MakeWebMouseWheelEvent(
- const ui::MouseWheelEvent& event);
-CONTENT_EXPORT blink::WebMouseWheelEvent MakeWebMouseWheelEvent(
- const ui::ScrollEvent& event);
-CONTENT_EXPORT blink::WebKeyboardEvent MakeWebKeyboardEvent(
- const ui::KeyEvent& event);
-CONTENT_EXPORT blink::WebGestureEvent MakeWebGestureEvent(
- const ui::GestureEvent& event);
-CONTENT_EXPORT blink::WebGestureEvent MakeWebGestureEvent(
- const ui::ScrollEvent& event);
-CONTENT_EXPORT blink::WebGestureEvent MakeWebGestureEventFlingCancel();
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_RENDERER_HOST_WEB_INPUT_EVENT_AURA_H_
« no previous file with comments | « content/browser/renderer_host/ui_events_helper.cc ('k') | content/browser/renderer_host/web_input_event_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698