Index: ui/aura/window_delegate.h |
diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h |
index 956763b76b29b170ab2996fb524bc4d2cac3c933..2c420561e43a0b8ba3eb10e556e74bebae76074d 100644 |
--- a/ui/aura/window_delegate.h |
+++ b/ui/aura/window_delegate.h |
@@ -36,6 +36,12 @@ class WindowDelegate { |
virtual bool OnMouseEvent(MouseEvent* event) = 0; |
+ // Invoked when mouse capture is gained on the window. |
+ virtual void OnCaptureGained() = 0; |
+ |
+ // Invoked when mouse capture is lost on the window. |
+ virtual void OnCaptureLost() = 0; |
+ |
// Asks the delegate to paint window contents into the supplied canvas. |
virtual void OnPaint(gfx::Canvas* canvas) = 0; |