diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-04 00:19:59 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-04 00:19:59 +0000 |
commit | 8b6384271101aa16e3764ba0c927426e7966ea91 (patch) | |
tree | 8402b201190fdd2cb1074de95dd1ab9b3c51fc4a /chrome/browser/tab_contents_delegate.h | |
parent | 3dca25ec097f4fb340df49d38ca1ff85805603aa (diff) | |
download | chromium_src-8b6384271101aa16e3764ba0c927426e7966ea91.zip chromium_src-8b6384271101aa16e3764ba0c927426e7966ea91.tar.gz chromium_src-8b6384271101aa16e3764ba0c927426e7966ea91.tar.bz2 |
Redo how we block popups. Rip out the old constrained popup window cruft (while leaving the HTTP authentication dialog support) and add a new type of constrained window which owns all blocked popups. Rip out dead unit tests.
Review URL: http://codereview.chromium.org/8782
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4523 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_ - |