1 // Copyright 2015 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.
5 #ifndef COMPONENTS_MUS_GESTURE_MANAGER_DELEGATE_H_
6 #define COMPONENTS_MUS_GESTURE_MANAGER_DELEGATE_H_
10 #include "components/mus/public/cpp/types.h"
11 #include "ui/mojo/events/input_events.mojom.h"
15 class GestureManagerDelegate
{
17 // Informs the delegate of a pointer event. The delegate should asynchronously
18 // respond with the set of gestures appropriate for the view
19 // (GestureManager::SetGestures()).
20 // |has_chosen_gesture| is true if a gesture has been chosen.
21 virtual void ProcessEvent(const ServerView
* view
,
23 bool has_chosen_gesture
) = 0;
26 virtual ~GestureManagerDelegate() {}
31 #endif // COMPONENTS_MUS_GESTURE_MANAGER_DELEGATE_H_