diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-05 19:03:25 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-05 19:03:25 +0000 |
commit | d6598c050acb33ef7a64d32b116a6f10ba941329 (patch) | |
tree | 3e1e01c8a79b9e787f39fae834853b123d546276 /chrome/browser/tab_contents_delegate.h | |
parent | 49a608d55bdb77491ea5dfe605a924fd1cb88d63 (diff) | |
download | chromium_src-d6598c050acb33ef7a64d32b116a6f10ba941329.zip chromium_src-d6598c050acb33ef7a64d32b116a6f10ba941329.tar.gz chromium_src-d6598c050acb33ef7a64d32b116a6f10ba941329.tar.bz2 |
This is r4523, with a few changes to make things work under Vista.
- Explicitly set_delegate(NULL) before releasing a TabContents. (I think
the order messages are getting handled is different from XP; this only
seems neccessary under Vista.)
- r4523 and someone elses change added entries to theme_resources.rc at
roughly the same time, causing happy fun crashes.
- Roll in sgk's SConscript fix.
Review URL: http://codereview.chromium.org/9373
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4799 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents_delegate.h')
-rw-r--r-- | chrome/browser/tab_contents_delegate.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/chrome/browser/tab_contents_delegate.h b/chrome/browser/tab_contents_delegate.h index 401fe9e..2365757 100644 --- a/chrome/browser/tab_contents_delegate.h +++ b/chrome/browser/tab_contents_delegate.h @@ -59,21 +59,6 @@ class TabContentsDelegate : public PageNavigator { const gfx::Rect& initial_pos, bool user_gesture) = 0; - // Called when while dragging constrained TabContents, the mouse pointer - // moves outside the bounds of the constraining contents. The delegate can - // use this as an opportunity to continue the drag in a detached window. - // |contents_bounds| is the bounds of the constrained TabContents in screen - // coordinates. - // |mouse_pt| is the position of the mouse pointer in screen coordinates. - // |frame_component| is the part of the constrained window frame that - // corresponds to |mouse_pt| as returned by WM_NCHITTEST. - virtual void StartDraggingDetachedContents( - TabContents* source, - TabContents* new_contents, - const gfx::Rect& contents_bounds, - const gfx::Point& mouse_pt, - int frame_component) { } - // Selects the specified contents, bringing its container to the front. virtual void ActivateContents(TabContents* contents) = 0; @@ -160,4 +145,3 @@ class TabContentsDelegate : public PageNavigator { }; #endif // CHROME_BROWSER_TAB_CONTENTS_DELEGATE_H_ - |