diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-16 17:05:11 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-16 17:05:11 +0000 |
commit | 9c9c761a2e070a8a6eb00f22a4365fc6cc2e1eff (patch) | |
tree | 11e6d28d263457e00395401c938ff5fb45d6eba6 /chrome/browser/tab_contents/constrained_window.h | |
parent | 6920f5ac0d0ea336b79f02b5d36751d1043ace29 (diff) | |
download | chromium_src-9c9c761a2e070a8a6eb00f22a4365fc6cc2e1eff.zip chromium_src-9c9c761a2e070a8a6eb00f22a4365fc6cc2e1eff.tar.gz chromium_src-9c9c761a2e070a8a6eb00f22a4365fc6cc2e1eff.tar.bz2 |
Removes entirely dead code paths related to ConstrainedWindows.
- Removes parts of the interface that probably made sense at some time, but now only have a DLOG(INFO) as their implementation. Also remove their callers.
- Remove all usage of the ConstrainedWindowProxy interface in the automation system. It was *never* used.
- Rename constrianed_window_impl_interactive_uitests.cc to blocked_popup_container_interactive_uitest.cc. The test case hasn't tested code in constrained_window_impl.cc since the rewrite of the blocked popup system back last autumn.
Review URL: http://codereview.chromium.org/125160
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18498 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/constrained_window.h')
-rw-r--r-- | chrome/browser/tab_contents/constrained_window.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/chrome/browser/tab_contents/constrained_window.h b/chrome/browser/tab_contents/constrained_window.h index d26087c..eb30363 100644 --- a/chrome/browser/tab_contents/constrained_window.h +++ b/chrome/browser/tab_contents/constrained_window.h @@ -42,27 +42,6 @@ class ConstrainedWindow { // Closes the Constrained Window. virtual void CloseConstrainedWindow() = 0; - - // Repositions the Constrained Window so that the lower right corner - // of the titlebar is at the passed in |anchor_point|. - virtual void RepositionConstrainedWindowTo( - const gfx::Point& anchor_point) = 0; - - // Tells the Constrained Window that the constraining TabContents was hidden, - // e.g. via a tab switch. - virtual void WasHidden() = 0; - - // Tells the Constrained Window that the constraining TabContents became - // visible, e.g. via a tab switch. - virtual void DidBecomeSelected() = 0; - - // Returns the title of the Constrained Window. - virtual std::wstring GetWindowTitle() const = 0; - - // Returns the current display rectangle (relative to its - // parent). This method is only called from the unit tests to check - // the location/size of a constrained window. - virtual const gfx::Rect& GetCurrentBounds() const = 0; }; #endif // #ifndef CHROME_TAB_CONTENTS_BROWSER_CONSTRAINED_WINDOW_H_ |