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

Unified Diff: chrome/renderer/autofill/password_autofill_manager.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: Fixing Autofill unittests 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
Index: chrome/renderer/autofill/password_autofill_manager.h
diff --git a/chrome/renderer/autofill/password_autofill_manager.h b/chrome/renderer/autofill/password_autofill_manager.h
index 8b407f392f5cdfd91614e0eb45fb1c76f6dce7a5..33a24c5b681fb89c6db3159df25849d084397abf 100644
--- a/chrome/renderer/autofill/password_autofill_manager.h
+++ b/chrome/renderer/autofill/password_autofill_manager.h
@@ -17,6 +17,7 @@
namespace WebKit {
class WebInputElement;
class WebKeyboardEvent;
+class WebView;
}
namespace autofill {
@@ -117,6 +118,9 @@ class PasswordAutofillManager : public content::RenderViewObserver,
// Used to disable and hide the popup.
bool disable_popup_;
+ // Pointer to the WebView. Used to access page scale factor.
+ WebKit::WebView* web_view_;
+
base::WeakPtrFactory<PasswordAutofillManager> weak_ptr_factory_;
DISALLOW_COPY_AND_ASSIGN(PasswordAutofillManager);

Powered by Google App Engine
This is Rietveld 408576698