This source file includes following definitions.
- InputEventAckState
#ifndef CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_
#define CONTENT_RENDERER_INPUT_INPUT_HANDLER_MANAGER_CLIENT_H_
#include "base/basictypes.h"
#include "base/callback.h"
#include "base/callback_forward.h"
#include "content/common/content_export.h"
#include "ui/gfx/vector2d_f.h"
namespace ui {
struct LatencyInfo;
}
namespace cc {
class InputHandler;
}
namespace blink {
class WebInputEvent;
}
namespace content {
struct DidOverscrollParams;
class CONTENT_EXPORT InputHandlerManagerClient {
public:
virtual ~InputHandlerManagerClient() {}
typedef base::Callback<
InputEventAckState(int ,
const blink::WebInputEvent*,
ui::LatencyInfo* latency_info)> Handler;
virtual void SetBoundHandler(const Handler& handler) = 0;
virtual void DidAddInputHandler(int routing_id,
cc::InputHandler* input_handler) = 0;
virtual void DidRemoveInputHandler(int routing_id) = 0;
virtual void DidOverscroll(int routing_id,
const DidOverscrollParams& params) = 0;
virtual void DidStopFlinging(int routing_id) = 0;
protected:
InputHandlerManagerClient() {}
private:
DISALLOW_COPY_AND_ASSIGN(InputHandlerManagerClient);
};
}
#endif