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

Unified Diff: chrome/browser/autofill/autofill_external_delegate.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: 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_external_delegate.h
diff --git a/chrome/browser/autofill/autofill_external_delegate.h b/chrome/browser/autofill/autofill_external_delegate.h
index 3dcb020ebd45f312969d8822699bc7914c70a6fe..0ff3d30dd209a39060d681cbbfedd791d057d26d 100644
--- a/chrome/browser/autofill/autofill_external_delegate.h
+++ b/chrome/browser/autofill/autofill_external_delegate.h
@@ -64,7 +64,7 @@ class AutofillExternalDelegate
virtual void OnQuery(int query_id,
const FormData& form,
const FormFieldData& field,
- const gfx::Rect& element_bounds,
+ const gfx::RectF& element_bounds,
bool display_warning_if_disabled);
// Records query results and correctly formats them before sending them off
@@ -79,7 +79,7 @@ class AutofillExternalDelegate
// Show password suggestions in the popup.
void OnShowPasswordSuggestions(const std::vector<string16>& suggestions,
const FormFieldData& field,
- const gfx::Rect& bounds);
+ const gfx::RectF& bounds);
// Set the data list value associated with the current field.
void SetCurrentDataListValues(const std::vector<string16>& autofill_values,
@@ -119,7 +119,7 @@ class AutofillExternalDelegate
// Create the popup if it doesn't already exist. |element_bounds| is the
// bounding rect for the element it is popping up for.
- virtual void EnsurePopupForElement(const gfx::Rect& element_bounds);
+ virtual void EnsurePopupForElement(const gfx::RectF& element_bounds);
content::WebContents* web_contents() { return web_contents_; }

Powered by Google App Engine
This is Rietveld 408576698