| Index: content/browser/renderer_host/input/gesture_event_filter_client.h
|
| diff --git a/content/browser/renderer_host/input/gesture_event_filter_client.h b/content/browser/renderer_host/input/gesture_event_filter_client.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..d94be1a19de09d0a0c0ef8dceeeadd82547ec56e
|
| --- /dev/null
|
| +++ b/content/browser/renderer_host/input/gesture_event_filter_client.h
|
| @@ -0,0 +1,30 @@
|
| +// 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_RENDERER_HOST_INPUT_GESTURE_EVENT_FILTER_CLIENT_H_
|
| +#define CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_FILTER_CLIENT_H_
|
| +
|
| +#include "content/common/content_export.h"
|
| +#include "content/port/browser/event_with_latency_info.h"
|
| +#include "content/port/common/input_event_ack_state.h"
|
| +
|
| +namespace content {
|
| +
|
| +// Interface with which the GestureEventFilter can forward gesture events, and
|
| +// dispatch gesture event responses.
|
| +class CONTENT_EXPORT GestureEventFilterClient {
|
| + public:
|
| + virtual ~GestureEventFilterClient() {}
|
| +
|
| + virtual void SendGestureEventImmediately(
|
| + const GestureEventWithLatencyInfo& event) = 0;
|
| +
|
| + virtual void OnGestureEventAck(
|
| + const GestureEventWithLatencyInfo& event,
|
| + InputEventAckState ack_result) = 0;
|
| +};
|
| +
|
| +} // namespace content
|
| +
|
| +#endif // CONTENT_BROWSER_RENDERER_HOST_INPUT_GESTURE_EVENT_FILTER_CLIENT_H_
|
|
|