diff options
author | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-26 23:39:01 +0000 |
---|---|---|
committer | jhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-26 23:39:01 +0000 |
commit | be5e2c880c787fff66a110913f0fdd85524e2ff8 (patch) | |
tree | 6029213d298f7dda27106379ef0af22fe1dc0141 /chrome/common | |
parent | 6cf8b1a2a871d7edb5e308b6437ec0caefba4953 (diff) | |
download | chromium_src-be5e2c880c787fff66a110913f0fdd85524e2ff8.zip chromium_src-be5e2c880c787fff66a110913f0fdd85524e2ff8.tar.gz chromium_src-be5e2c880c787fff66a110913f0fdd85524e2ff8.tar.bz2 |
Fix initial window placement when dragging a tab out of the tabstrip into its own window. This change also removes code that was overriding the requested size as a temporary workaround.
BUG=none
TEST=Open a browser window with two tabs. Drag one of the tabs out of the tabstrip. A new window should be created where the mouse is positioned.
Review URL: http://codereview.chromium.org/113874
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16944 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/temp_scaffolding_stubs.cc | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/common/temp_scaffolding_stubs.cc b/chrome/common/temp_scaffolding_stubs.cc index f54b27f..cc75ea2 100644 --- a/chrome/common/temp_scaffolding_stubs.cc +++ b/chrome/common/temp_scaffolding_stubs.cc @@ -311,8 +311,6 @@ void ShowOptionsWindow(OptionsPage page, bool DockInfo::GetNewWindowBounds(gfx::Rect* new_window_bounds, bool* maximize_new_window) const { NOTIMPLEMENTED(); - // Return a reasonable default - *new_window_bounds = gfx::Rect(640, 480); return true; } #endif |