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

Unified Diff: chrome/renderer/autofill/autofill_agent.h

Issue 12188020: Adding the page and DPI scale adjustment for Autofill Popups. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed Ted's nits Created 7 years, 10 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
« no previous file with comments | « chrome/common/autofill_messages.h ('k') | chrome/renderer/autofill/autofill_agent.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/autofill/autofill_agent.h
diff --git a/chrome/renderer/autofill/autofill_agent.h b/chrome/renderer/autofill/autofill_agent.h
index 14c098a88d3ff852386c162bd630b1547656fc9e..ef90f91dd7f13a7380767da7e7f8a41c0c15d2a3 100644
--- a/chrome/renderer/autofill/autofill_agent.h
+++ b/chrome/renderer/autofill/autofill_agent.h
@@ -23,6 +23,7 @@ struct FormFieldData;
namespace WebKit {
class WebNode;
+class WebView;
}
namespace autofill {
@@ -222,6 +223,9 @@ class AutofillAgent : public content::RenderViewObserver,
// elements can be clicked.
WebKit::WebFrame* topmost_frame_;
+ // Pointer to the WebView. Used to access page scale factor.
+ WebKit::WebView* web_view_;
+
// Should we display a warning if autofill is disabled?
bool display_warning_if_disabled_;
« no previous file with comments | « chrome/common/autofill_messages.h ('k') | chrome/renderer/autofill/autofill_agent.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698