summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/autofill/autofill_agent.h
diff options
context:
space:
mode:
authorcsharp@chromium.org <csharp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-25 16:26:26 +0000
committercsharp@chromium.org <csharp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-04-25 16:26:26 +0000
commit2b942c335ed41df16205713d9a6749a8bda556c9 (patch)
tree51770a02979575ea6b6a17acc8c8d24254a13b09 /chrome/renderer/autofill/autofill_agent.h
parent5784bd14417a7d68a23ec2c1f8c5d0f4e4df872c (diff)
downloadchromium_src-2b942c335ed41df16205713d9a6749a8bda556c9.zip
chromium_src-2b942c335ed41df16205713d9a6749a8bda556c9.tar.gz
chromium_src-2b942c335ed41df16205713d9a6749a8bda556c9.tar.bz2
Add ZoomLevelChanged and DidChangeScrollOffset to RenderViewObserver
Add ZoomLevelChanged and DidChangeScrollOffset to RenderViewObserver and setup the new Autofill UI to use them to detect when the why content on a page has shifted and any visible popup should be hidden. BUG=103564 TEST=When using the new Autofill UI scrolling will now cause any visible popups to disappear Review URL: http://codereview.chromium.org/10218001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@133924 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/autofill/autofill_agent.h')
-rw-r--r--chrome/renderer/autofill/autofill_agent.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/renderer/autofill/autofill_agent.h b/chrome/renderer/autofill/autofill_agent.h
index f9b0364..f0f5173 100644
--- a/chrome/renderer/autofill/autofill_agent.h
+++ b/chrome/renderer/autofill/autofill_agent.h
@@ -65,6 +65,8 @@ class AutofillAgent : public content::RenderViewObserver,
virtual void FrameWillClose(WebKit::WebFrame* frame) OVERRIDE;
virtual void WillSubmitForm(WebKit::WebFrame* frame,
const WebKit::WebFormElement& form) OVERRIDE;
+ virtual void ZoomLevelChanged() OVERRIDE;
+ virtual void DidChangeScrollOffset(WebKit::WebFrame* frame) OVERRIDE;
// PageClickListener:
virtual bool InputElementClicked(const WebKit::WebInputElement& element,