diff options
author | chase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-11 22:46:49 +0000 |
---|---|---|
committer | chase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-11 22:46:49 +0000 |
commit | d776803fdbd1567469fe386ceebd4c911f97b11a (patch) | |
tree | b8c2750a9b30b48cde85270b37714f3a27d28447 /chrome | |
parent | 3edda45e32aa20c160b0f478358ac92cb3c6f7b4 (diff) | |
download | chromium_src-d776803fdbd1567469fe386ceebd4c911f97b11a.zip chromium_src-d776803fdbd1567469fe386ceebd4c911f97b11a.tar.gz chromium_src-d776803fdbd1567469fe386ceebd4c911f97b11a.tar.bz2 |
Revert 41230 - gtk: Notify the TabContents when the browser window has been moved or resized. This is used to close the AutoFill popup in the renderer.
BUG=31865
TEST=none
TBR=jhawkins@chromium.org
Review URL: http://codereview.chromium.org/878003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41329 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/browser/gtk/browser_window_gtk.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/chrome/browser/gtk/browser_window_gtk.cc b/chrome/browser/gtk/browser_window_gtk.cc index 2c1bb32..f1dc892 100644 --- a/chrome/browser/gtk/browser_window_gtk.cc +++ b/chrome/browser/gtk/browser_window_gtk.cc @@ -1210,12 +1210,6 @@ void BrowserWindowGtk::DestroyBrowser() { void BrowserWindowGtk::OnBoundsChanged(const gfx::Rect& bounds) { GetLocationBar()->location_entry()->ClosePopup(); - // Notify the TabContents that the browser window has been resized or moved. - // This is used to close AutoFill popups in the renderer. - TabContents* tab_contents = browser_->GetSelectedTabContents(); - if (tab_contents) - tab_contents->WindowMoveOrResizeStarted(); - if (bounds_.size() != bounds.size()) OnSizeChanged(bounds.width(), bounds.height()); |