Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(834)

Unified Diff: components/autofill/content/renderer/autofill_agent.cc

Issue 388583002: Remove RenderViewObserver::ZoomLevelChanged. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/autofill/content/renderer/autofill_agent.cc
diff --git a/components/autofill/content/renderer/autofill_agent.cc b/components/autofill/content/renderer/autofill_agent.cc
index cde97a0e8db5c5815bee1e808237f5ffaf3c176a..ee551eedea8498c612100233aa6ca9a47b2ae213 100644
--- a/components/autofill/content/renderer/autofill_agent.cc
+++ b/components/autofill/content/renderer/autofill_agent.cc
@@ -212,13 +212,6 @@ void AutofillAgent::WillSubmitForm(WebLocalFrame* frame,
}
}
-void AutofillAgent::ZoomLevelChanged() {
- // Any time the zoom level changes, the page's content moves, so any Autofill
- // popups should be hidden. This is only needed for the new Autofill UI
- // because WebKit already knows to hide the old UI when this occurs.
- HidePopup();
-}
-
void AutofillAgent::FocusedNodeChanged(const WebNode& node) {
if (password_generation_agent_ &&
password_generation_agent_->FocusedNodeHasChanged(node)) {

Powered by Google App Engine
This is Rietveld 408576698