Chromium Code Reviews| Index: ash/autoclick/autoclickgesture_delegate.h |
| diff --git a/ash/autoclick/autoclickgesture_delegate.h b/ash/autoclick/autoclickgesture_delegate.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ebd4765d6cbfea9d55ced33f8f0fcfecba9b9e49 |
| --- /dev/null |
| +++ b/ash/autoclick/autoclickgesture_delegate.h |
| @@ -0,0 +1,27 @@ |
| +// Copyright (c) 2016 The Chromium Authors. All rights reserved. |
|
jdufault
2016/06/03 22:02:44
What about defining this class inside of Autoclick
sammiequon
2016/06/07 18:06:16
Done.
|
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef ASH_AUTOCLICKGESTURE_DELEGATE_H_ |
| +#define ASH_AUTOCLICKGESTURE_DELEGATE_H_ |
| + |
| +#include "ui/gfx/geometry/point.h" |
| + |
| +namespace ash { |
| + |
| +// Delegate for taking screenshots. |
| +class AutoclickgestureDelegate { |
|
jdufault
2016/06/03 22:02:44
gesture should be capitalized to Gesture, so Autoc
|
| + public: |
| + virtual ~AutoclickgestureDelegate() {} |
| + |
| + // The actual task of starting the display of a gesture. |
|
jdufault
2016/06/03 22:02:44
How about comments like:
Called when an autocli
sammiequon
2016/06/07 18:06:16
Done.
sammiequon
2016/06/07 18:06:16
Done.
|
| + virtual void StartGesture(int delay_ms, gfx::Point center) = 0; |
| + |
| + // The actual task of stopping a gesture from being displayed. |
| + virtual void StopGesture() = 0; |
| + |
| + virtual void SetGestureCenter(gfx::Point center) = 0; |
|
jdufault
2016/06/03 22:02:44
Add DISALLOW_COPY_AND_ASSIGN(AutoclickgestureDeleg
jdufault
2016/06/03 22:02:44
Please add a comment to SetGestureCenter.
sammiequon
2016/06/07 18:06:16
Done.
|
| +}; |
| +} // namespace ash |
| + |
| +#endif // ASH_AUTOCLICKGESTURE_DELEGATE_H_ |