diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-11 20:46:11 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-11 20:46:11 +0000 |
commit | 759017e03abb02554ad06a1745290631c43d7751 (patch) | |
tree | 72e1dba4bff28d67a55401c04e49f992bc857a46 /ui/aura/root_window_host.h | |
parent | d871f21cb2266670edc0ff636a2d65e4c30b55f7 (diff) | |
download | chromium_src-759017e03abb02554ad06a1745290631c43d7751.zip chromium_src-759017e03abb02554ad06a1745290631c43d7751.tar.gz chromium_src-759017e03abb02554ad06a1745290631c43d7751.tar.bz2 |
1) Invoke RootWindow::SetCapture(NULL) as a result from OS level mouse capture lost (eg from a popup)
2) Invoke OS level SetCapture, ReleaseCapture as a result of setting capture on root window
BUG=107875
TEST=
1) 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@121655 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. |