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

Unified Diff: chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc

Issue 1151263002: Fix positioning of autofill popup on rtl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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_unittest.cc
diff --git a/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc b/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc
index 88dd2d0097f7692f52e86d2d9835ba756aacfad2..65da88b596ffaab4ddcde2e100f08c58b94f0f35 100644
--- a/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc
+++ b/chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc
@@ -74,10 +74,14 @@ class TestAutofillPopupController : public AutofillPopupControllerImpl {
explicit TestAutofillPopupController(
base::WeakPtr<AutofillExternalDelegate> external_delegate,
const gfx::RectF& element_bounds)
- : AutofillPopupControllerImpl(
- external_delegate, NULL, NULL, element_bounds,
- base::i18n::UNKNOWN_DIRECTION),
- test_controller_common_(new TestPopupControllerCommon(element_bounds)) {
+ : AutofillPopupControllerImpl(external_delegate,
+ NULL,
+ NULL,
+ element_bounds,
+ base::i18n::UNKNOWN_DIRECTION),
+ test_controller_common_(
+ new TestPopupControllerCommon(element_bounds,
+ base::i18n::LEFT_TO_RIGHT)) {
controller_common_.reset(test_controller_common_);
}
~TestAutofillPopupController() override {}

Powered by Google App Engine
This is Rietveld 408576698