Index: ash/wm/overview/transparent_activate_window_button_delegate.h |
diff --git a/ash/wm/overview/transparent_activate_window_button_delegate.h b/ash/wm/overview/transparent_activate_window_button_delegate.h |
index 07695f0835c98fb32c1e0f87b73470ee0cfd7134..79fa4cb8f978712af17e99e4a11dc7e22a476867 100644 |
--- a/ash/wm/overview/transparent_activate_window_button_delegate.h |
+++ b/ash/wm/overview/transparent_activate_window_button_delegate.h |
@@ -14,9 +14,20 @@ namespace ash { |
// to manipulate windows while in overview mode. |
class ASH_EXPORT TransparentActivateWindowButtonDelegate { |
public: |
+ // Called when a touch scroll event occurs. |drag_x| is an absolute pixel |
+ // distance in the TransparentActivateWindowButton's local cooridnates. |
+ virtual void Scroll(int delta_x) = 0; |
+ |
+ // Called when a touch scroll event ends and the distance scrolled is less |
+ // than the minimum close distance. |
+ virtual void CancelScroll() = 0; |
+ |
// Called when the TransparentActivateWindowButton was selected. |
virtual void Select() = 0; |
+ // Called when a TransparentActivateWindowButton close event occurs. |
+ virtual void Close() = 0; |
+ |
protected: |
TransparentActivateWindowButtonDelegate() {} |
virtual ~TransparentActivateWindowButtonDelegate() {} |