diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-09 23:50:51 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-09 23:50:51 +0000 |
commit | fe83e217ef9fd73d832e8858ce0fdce8052d99b2 (patch) | |
tree | fc3e94df34a0093aac9618fa4cc13f637332141a /ui/aura/root_window_host.h | |
parent | 01fdb8df6bc3fb709bb969b70fbeba3b9a2bad22 (diff) | |
download | chromium_src-fe83e217ef9fd73d832e8858ce0fdce8052d99b2.zip chromium_src-fe83e217ef9fd73d832e8858ce0fdce8052d99b2.tar.gz chromium_src-fe83e217ef9fd73d832e8858ce0fdce8052d99b2.tar.bz2 |
1) Adds support for OS level mouse capture lost (eg from a popup)
2) Adds support for capture lost events due to Window::SetCapture
BUG=107875
TEST=
1) Make sure that browser does not brash when drag and drop from bookmarks tab and Ctrl-Tab
2) Make sure that bug 105993 does not repro
Review URL: https://chromiumcodereview.appspot.com/9228004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121338 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/root_window_host.h')
-rw-r--r-- | ui/aura/root_window_host.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/aura/root_window_host.h b/ui/aura/root_window_host.h index 476ba6a..551aaf9 100644 --- a/ui/aura/root_window_host.h +++ b/ui/aura/root_window_host.h @@ -58,6 +58,12 @@ class RootWindowHost : public MessageLoop::Dispatcher { // Returns the location of the RootWindow on native screen. virtual gfx::Point GetLocationOnNativeScreen() const = 0; + // Set the OS capture to the root window. + virtual void SetCapture() = 0; + + // Release OS capture of the root window. + virtual void ReleaseCapture() = 0; + // Sets the currently displayed cursor. Shows the cursor by default. // If you want to update hidden cursor, should call ShowCursor(false) // after this function. |