summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_window.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-04 01:29:24 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-11-04 01:29:24 +0000
commitbfd3886dea49078beed60f12b2c98e180172a2e7 (patch)
tree8bf0efa36b74a03a5425cbccc4a4b46b9b8ce0b9 /chrome/browser/browser_window.h
parent57ecbe8836e353ba61860ca2f8ef2b6ddca75d6a (diff)
downloadchromium_src-bfd3886dea49078beed60f12b2c98e180172a2e7.zip
chromium_src-bfd3886dea49078beed60f12b2c98e180172a2e7.tar.gz
chromium_src-bfd3886dea49078beed60f12b2c98e180172a2e7.tar.bz2
Revert change r4523 because Vista doesn't like it.
TBR=nsylvain git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4539 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_window.h')
-rw-r--r--chrome/browser/browser_window.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/browser/browser_window.h b/chrome/browser/browser_window.h
index 6f0e6ec..4012ddf 100644
--- a/chrome/browser/browser_window.h
+++ b/chrome/browser/browser_window.h
@@ -92,6 +92,18 @@ class BrowserWindow {
// TODO(beng): REMOVE
virtual void ShowTabContents(TabContents* contents) {}
+ // Continue a drag gesture that began with a constrained window. When the
+ // user drags a constrained window such that their mouse pointer leaves the
+ // bounds of the constraining HWND, the window is detached and the drag
+ // gesture continues except for this top level frame.
+ // |mouse_pt| is the position of the cursor in screen coordinates.
+ // |frame_component| is the component returned by WM_NCHITTEST for |mouse_pt|
+ // on the constrained window. This is passed to ensure we initiate the
+ // correct action (move, resize, etc).
+ virtual void ContinueDetachConstrainedWindowDrag(
+ const gfx::Point& mouse_pt,
+ int frame_component) = 0;
+
// Sizes the frame to match the specified desired bounds for the contents.
// |contents_bounds| are in screen coordinates.
// TODO(beng): REMOVE
@@ -177,3 +189,4 @@ class BrowserWindow {
};
#endif // CHROME_BROWSER_BROWSER_WINDOW_H__
+