diff options
author | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 00:39:26 +0000 |
---|---|---|
committer | ben@chromium.org <ben@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-02 00:39:26 +0000 |
commit | eaf6dd563c1057e8adb4ec20d0d85e2c07cb5f13 (patch) | |
tree | aa7ba22226537c129db8e755ae1f3580c7f6d73e /aura/window_delegate.h | |
parent | 9978f269d897907a21140fcbc75ed76c4b93d117 (diff) | |
download | chromium_src-eaf6dd563c1057e8adb4ec20d0d85e2c07cb5f13.zip chromium_src-eaf6dd563c1057e8adb4ec20d0d85e2c07cb5f13.tar.gz chromium_src-eaf6dd563c1057e8adb4ec20d0d85e2c07cb5f13.tar.bz2 |
Handle interactive window sizing and moving, as well as primitive z-index shuffling.
http://crbug.com/93937
http://crbug.com/93938
TEST=none
Review URL: http://codereview.chromium.org/7792069
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99277 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'aura/window_delegate.h')
-rw-r--r-- | aura/window_delegate.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/aura/window_delegate.h b/aura/window_delegate.h index fc82fd6..4627d4f 100644 --- a/aura/window_delegate.h +++ b/aura/window_delegate.h @@ -8,6 +8,7 @@ namespace gfx { class Canvas; +class Point; } namespace aura { @@ -17,6 +18,10 @@ class MouseEvent; // Delegate interface for aura::Window. class WindowDelegate { public: + // Returns the non-client component (see hit_test.h) containing |point|, in + // window coordinates. + virtual int GetNonClientComponent(const gfx::Point& point) const = 0; + virtual bool OnMouseEvent(MouseEvent* event) = 0; // Asks the delegate to paint window contents into the supplied canvas. |