summaryrefslogtreecommitdiffstats
path: root/chrome/browser/tab_contents/web_contents.h
diff options
context:
space:
mode:
authorjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 22:01:00 +0000
committerjcampan@chromium.org <jcampan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 22:01:00 +0000
commit30f75e618e08b5bd943feec72261cc36a8fd9280 (patch)
tree7f108ae961dc8ff5b11f904bdbc4894247f2c7c0 /chrome/browser/tab_contents/web_contents.h
parente191c147e4704d4e75f548cdaf90f914d196aa63 (diff)
downloadchromium_src-30f75e618e08b5bd943feec72261cc36a8fd9280.zip
chromium_src-30f75e618e08b5bd943feec72261cc36a8fd9280.tar.gz
chromium_src-30f75e618e08b5bd943feec72261cc36a8fd9280.tar.bz2
This CL causes the autofill popup to hide when the browser window is moved or resized.
TEST=Bring up an autofill popup in a form, move the browser. The autofill popup should be closed. BUG=7401 R=ben Review URL: http://codereview.chromium.org/28126 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10384 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/web_contents.h')
-rw-r--r--chrome/browser/tab_contents/web_contents.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/web_contents.h b/chrome/browser/tab_contents/web_contents.h
index 3974a78..9ed4331 100644
--- a/chrome/browser/tab_contents/web_contents.h
+++ b/chrome/browser/tab_contents/web_contents.h
@@ -265,6 +265,10 @@ class WebContents : public TabContents,
render_manager_.CrossSiteNavigationCanceled();
}
+ void WindowMoveOrResizeStarted() {
+ render_view_host()->WindowMoveOrResizeStarted();
+ }
+
protected:
// Should be deleted via CloseContents.
virtual ~WebContents();