diff options
author | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-25 20:33:08 +0000 |
---|---|---|
committer | avi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-25 20:33:08 +0000 |
commit | b104681385715c6059b46597162f18a7c9409a7b (patch) | |
tree | 96b5ff874201aa92a1b9f95b974a7e93829f1c87 /content/shell/shell.cc | |
parent | a10011108aafb0a1c6bb07bb3e790925911e7bd7 (diff) | |
download | chromium_src-b104681385715c6059b46597162f18a7c9409a7b.zip chromium_src-b104681385715c6059b46597162f18a7c9409a7b.tar.gz chromium_src-b104681385715c6059b46597162f18a7c9409a7b.tar.bz2 |
Content shell: Don't automatically resize the window to preferred size.
BUG=90445,115784
TEST=the window remains the size the user specified
Review URL: http://codereview.chromium.org/9839091
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@128824 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/shell/shell.cc')
-rw-r--r-- | content/shell/shell.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/content/shell/shell.cc b/content/shell/shell.cc index 8bb0df5..c2d5329 100644 --- a/content/shell/shell.cc +++ b/content/shell/shell.cc @@ -141,11 +141,6 @@ void Shell::DidNavigateMainFramePostCommit(WebContents* tab) { PlatformSetAddressBarURL(tab->GetURL()); } -void Shell::UpdatePreferredSize(WebContents* source, - const gfx::Size& pref_size) { - PlatformSizeTo(pref_size.width(), pref_size.height()); -} - void Shell::DidFinishLoad(int64 frame_id, const GURL& validated_url, bool is_main_frame) { |