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

Unified Diff: content/browser/android/sync_input_event_filter.h

Issue 15920002: Fix WebView compositor input handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Avoid DCHECKs when retrieving process ID Created 7 years, 6 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/sync_input_event_filter.h
diff --git a/content/browser/android/sync_input_event_filter.h b/content/browser/android/sync_input_event_filter.h
deleted file mode 100644
index e2ce90b88acae3f94b61de36e21e610d25497c9b..0000000000000000000000000000000000000000
--- a/content/browser/android/sync_input_event_filter.h
+++ /dev/null
@@ -1,39 +0,0 @@
-// Copyright (c) 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_SYNC_INPUT_EVENT_FILTER_H_
-#define CONTENT_BROWSER_ANDROID_SYNC_INPUT_EVENT_FILTER_H_
-
-#include "base/memory/scoped_ptr.h"
-#include "base/threading/thread_checker.h"
-#include "content/port/common/input_event_ack_state.h"
-
-namespace WebKit {
-class WebInputEvent;
-}
-
-namespace content {
-
-// Performs synchronous event filtering, to be used for browser-side,
-// in-process event handling when the UI and compositor share threads.
-// The filter is associated with at most one view, and one event handler.
-class SyncInputEventFilter {
- public:
-
- SyncInputEventFilter();
- ~SyncInputEventFilter();
-
- InputEventAckState HandleInputEvent(const WebKit::WebInputEvent& input_event);
- void ClearInputHandler();
-
- private:
- // Used to DCHECK that input_handler_ changes are made on the correct thread.
- base::ThreadChecker thread_checker_;
-
- DISALLOW_COPY_AND_ASSIGN(SyncInputEventFilter);
-};
-
-} // namespace content
-
-#endif // CONTENT_BROWSER_ANDROID_SYNC_INPUT_EVENT_FILTER_H_

Powered by Google App Engine
This is Rietveld 408576698