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

Unified Diff: chrome/browser/autofill/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: 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/browser/autofill/autofill_manager.h
diff --git a/chrome/browser/autofill/autofill_manager.h b/chrome/browser/autofill/autofill_manager.h
index 2acfbba86b17d563c0efb5e918d01c8bb07254db..2668a364705e085823556e018f3f834c5ceb9666 100644
--- a/chrome/browser/autofill/autofill_manager.h
+++ b/chrome/browser/autofill/autofill_manager.h
@@ -65,6 +65,7 @@ struct PasswordForm;
namespace gfx {
class Rect;
+class RectF;
}
namespace IPC {
@@ -232,7 +233,7 @@ class AutofillManager : public content::WebContentsObserver,
void OnQueryFormFieldAutofill(int query_id,
const FormData& form,
const FormFieldData& field,
- const gfx::Rect& bounding_box,
+ const gfx::RectF& bounding_box,
bool display_warning);
void OnDidEndTextFieldEditing();
void OnHideAutofillPopup();
@@ -240,7 +241,7 @@ class AutofillManager : public content::WebContentsObserver,
const FormFieldData& form,
const PasswordFormFillData& fill_data);
void OnShowPasswordSuggestions(const FormFieldData& field,
- const gfx::Rect& bounds,
+ const gfx::RectF& bounds,
const std::vector<string16>& suggestions);
void OnSetDataList(const std::vector<string16>& values,
const std::vector<string16>& labels,

Powered by Google App Engine
This is Rietveld 408576698