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

Unified Diff: content/browser/android/in_process/synchronous_input_event_filter.h

Issue 1838853005: android: Remove in-process sync compositor code path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_in_proc_video
Patch Set: rebase Created 4 years, 8 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/android/in_process/synchronous_input_event_filter.h
diff --git a/content/browser/android/in_process/synchronous_input_event_filter.h b/content/browser/android/in_process/synchronous_input_event_filter.h
deleted file mode 100644
index 9ecb400ff02d13fa2d643fe7b3c139b67ed7fb49..0000000000000000000000000000000000000000
--- a/content/browser/android/in_process/synchronous_input_event_filter.h
+++ /dev/null
@@ -1,64 +0,0 @@
-// Copyright 2013 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_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_
-#define CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_
-
-#include "base/callback.h"
-#include "base/compiler_specific.h"
-#include "content/common/input/input_event_ack_state.h"
-#include "content/renderer/input/input_handler_manager_client.h"
-#include "ui/gfx/geometry/vector2d_f.h"
-
-namespace blink {
-class WebInputEvent;
-}
-
-namespace ui {
-class SynchronousInputHandlerProxy;
-}
-
-namespace content {
-
-// This class perform synchronous, in-process InputEvent handling.
-//
-// The provided |handler| process WebInputEvents synchronously on the merged
-// UI and compositing thread. If the event goes unhandled, that is reflected in
-// the InputEventAckState; no forwarding is performed.
-class SynchronousInputEventFilter
- : public InputHandlerManagerClient,
- public SynchronousInputHandlerProxyClient {
- public:
- SynchronousInputEventFilter();
- ~SynchronousInputEventFilter() override;
-
- InputEventAckState HandleInputEvent(int routing_id,
- const blink::WebInputEvent& input_event);
-
- // InputHandlerManagerClient implementation.
- void SetBoundHandler(const Handler& handler) override;
- void DidAddInputHandler(int routing_id) override;
- void DidRemoveInputHandler(int routing_id) override;
- void DidOverscroll(int routing_id,
- const DidOverscrollParams& params) override;
- void DidStopFlinging(int routing_id) override;
- void NotifyInputEventHandled(int routing_id,
- blink::WebInputEvent::Type type) override;
-
- // SynchronousInputHandlerProxyClient overrides.
- void DidAddSynchronousHandlerProxy(
- int routing_id,
- ui::SynchronousInputHandlerProxy* synchronous_input_handler_proxy)
- override;
- void DidRemoveSynchronousHandlerProxy(int routing_id) override;
-
- private:
- void SetBoundHandlerOnUIThread(const Handler& handler);
-
- Handler handler_;
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_ANDROID_IN_PROCESS_SYNCHRONOUS_INPUT_EVENT_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698