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/test_autofill_external_delegate.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/test_autofill_external_delegate.cc
diff --git a/chrome/browser/autofill/test_autofill_external_delegate.cc b/chrome/browser/autofill/test_autofill_external_delegate.cc
index 9cb7d825181718c4a18007eddfff3b5277412e48..9cdd4b9ccbdd0ab763169c41ec41b0aae402538a 100644
--- a/chrome/browser/autofill/test_autofill_external_delegate.cc
+++ b/chrome/browser/autofill/test_autofill_external_delegate.cc
@@ -15,7 +15,7 @@ void GenerateTestAutofillPopup(
FormFieldData field;
field.is_focusable = true;
field.should_autocomplete = true;
- gfx::Rect bounds(100, 100);
+ gfx::RectF bounds(100, 100);
Ted C 2013/02/06 00:35:24 100.f, 100.f
aurimas (slooooooooow) 2013/02/06 00:50:46 Done.
autofill_external_delegate->OnQuery(query_id, form, field, bounds, false);
std::vector<string16> autofill_item;
@@ -31,7 +31,7 @@ TestAutofillExternalDelegate::TestAutofillExternalDelegate(
AutofillManager* autofill_manager)
: AutofillExternalDelegate(web_contents, autofill_manager) {
// Initialize Controller.
- const gfx::Rect element_bounds;
+ const gfx::RectF element_bounds;
AutofillExternalDelegate::EnsurePopupForElement(element_bounds);
}
@@ -46,7 +46,7 @@ void TestAutofillExternalDelegate::ApplyAutofillSuggestions(
void TestAutofillExternalDelegate::HideAutofillPopup() {}
void TestAutofillExternalDelegate::EnsurePopupForElement(
- const gfx::Rect& element_bounds) {}
+ const gfx::RectF& element_bounds) {}
void TestAutofillExternalDelegate::ControllerDestroyed() {}

Powered by Google App Engine
This is Rietveld 408576698