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

Side by Side Diff: content/public/renderer/android/synchronous_input_event_handler.h

Issue 15920002: Fix WebView compositor input handling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make InputEventAckState public Created 7 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 (c) 2013 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_PUBLIC_COMMON_ANDROID_SYNCHRONOUS_INPUT_EVENT_HANDLER_H_
6 #define CONTENT_PUBLIC_COMMON_ANDROID_SYNCHRONOUS_INPUT_EVENT_HANDLER_H_
7
8 #include "base/basictypes.h"
9 #include "content/common/content_export.h"
10 #include "content/public/common/input_event_ack_state.h"
11
12 namespace WebKit {
13 class WebInputEvent;
14 }
15
16 namespace content {
17
18 // Interface for embedders that wish to expose synchronous, in-process input
19 // even handling operations. Only meaningful when the
20 // kEnableSynchronousRendererCompositor flag is specified.
21 class CONTENT_EXPORT SynchronousInputEventHandler {
22 public:
23 virtual ~SynchronousInputEventHandler() {}
24
25 virtual InputEventAckState HandleInputEvent(
26 int routing_id,
27 const WebKit::WebInputEvent* input_event) = 0;
28
29 protected:
30 SynchronousInputEventHandler() {}
31
32 private:
33 DISALLOW_COPY_AND_ASSIGN(SynchronousInputEventHandler);
34 };
35
36 } // namespace content
37
38 #endif // CONTENT_PUBLIC_COMMON_ANDROID_SYNCHRONOUS_INPUT_EVENT_HANDLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698