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

Unified Diff: chrome/browser/autofill/autofill_manager.cc

Issue 12188020: Adding the page and DPI scale adjustment for Autofill Popups. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Mock call fix #2 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.cc
diff --git a/chrome/browser/autofill/autofill_manager.cc b/chrome/browser/autofill/autofill_manager.cc
index b395f5498d67104b4ec1a8badeb5f1f953a73461..be95d5aa95365a53168c75b445371d3508d28471 100644
--- a/chrome/browser/autofill/autofill_manager.cc
+++ b/chrome/browser/autofill/autofill_manager.cc
@@ -497,7 +497,7 @@ void AutofillManager::OnTextFieldDidChange(const FormData& form,
void AutofillManager::OnQueryFormFieldAutofill(int query_id,
const FormData& form,
const FormFieldData& field,
- const gfx::Rect& bounding_box,
+ const gfx::RectF& bounding_box,
bool display_warning) {
std::vector<string16> values;
std::vector<string16> labels;
@@ -813,7 +813,7 @@ void AutofillManager::OnAddPasswordFormMapping(
void AutofillManager::OnShowPasswordSuggestions(
const FormFieldData& field,
- const gfx::Rect& bounds,
+ const gfx::RectF& bounds,
const std::vector<string16>& suggestions) {
if (external_delegate_)
external_delegate_->OnShowPasswordSuggestions(suggestions, field, bounds);

Powered by Google App Engine
This is Rietveld 408576698