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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller.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/ui/autofill/autofill_popup_controller.h
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller.h b/chrome/browser/ui/autofill/autofill_popup_controller.h
index 768c548fc39ace1543bab13fa6a1284681ed2998..16bf3da84cd0a0c880b235aaa4bbce5ce6588c22 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller.h
+++ b/chrome/browser/ui/autofill/autofill_popup_controller.h
@@ -15,6 +15,7 @@ namespace gfx {
class Font;
class Point;
class Rect;
+class RectF;
}
// This interface provides data to an AutofillPopupView.
@@ -59,7 +60,7 @@ class AutofillPopupController {
virtual gfx::NativeView container_view() const = 0;
// The bounds of the form field element (screen coordinates).
- virtual const gfx::Rect& element_bounds() const = 0;
+ virtual const gfx::RectF& element_bounds() const = 0;
// The main labels for each autofill item.
virtual const std::vector<string16>& names() const = 0;

Powered by Google App Engine
This is Rietveld 408576698