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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller.h

Issue 15769018: [Autofill] Determine Popup RTLness from page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix android compile Created 7 years, 6 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 ed2326cc078175342ee8028d0ca101ecab6a0901..bd01635225b5b334fa2151095753f5bdf6121b60 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller.h
+++ b/chrome/browser/ui/autofill/autofill_popup_controller.h
@@ -67,6 +67,9 @@ class AutofillPopupController {
// The bounds of the form field element (screen coordinates).
virtual const gfx::RectF& element_bounds() const = 0;
+ // If the current popup should be displayed in RTL mode.
+ virtual bool IsRTL() const = 0;
+
// TODO(csharp): The names, subtexts and icon getters can probably be adjusted
// to take in the row index and return a single element, instead of the
// whole vector.

Powered by Google App Engine
This is Rietveld 408576698