summaryrefslogtreecommitdiffstats
path: root/ui/aura/window_delegate.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-21 16:32:50 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-21 16:32:50 +0000
commitfdbafc367cea40b38b2e7a0424242e73979ca12f (patch)
treeb6ac57ad80b2200fddc7e5aac4b5a51c9069ee99 /ui/aura/window_delegate.h
parent37c645b3b3642a224ebc910cc24a095d53bbad1b (diff)
downloadchromium_src-fdbafc367cea40b38b2e7a0424242e73979ca12f.zip
chromium_src-fdbafc367cea40b38b2e7a0424242e73979ca12f.tar.gz
chromium_src-fdbafc367cea40b38b2e7a0424242e73979ca12f.tar.bz2
Wires up mouse capture code for aura.
BUG=none TEST=none R=ben@chromium.org Review URL: http://codereview.chromium.org/7976020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@102115 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window_delegate.h')
-rw-r--r--ui/aura/window_delegate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h
index 956763b..8a0c19f 100644
--- a/ui/aura/window_delegate.h
+++ b/ui/aura/window_delegate.h
@@ -36,6 +36,9 @@ class WindowDelegate {
virtual bool OnMouseEvent(MouseEvent* event) = 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;