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

Side by Side Diff: chrome/browser/ui/autofill/test_popup_controller_common.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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/ui/autofill/test_popup_controller_common.h" 5 #include "chrome/browser/ui/autofill/test_popup_controller_common.h"
6 6
7 namespace autofill { 7 namespace autofill {
8 8
9 TestPopupControllerCommon::TestPopupControllerCommon( 9 TestPopupControllerCommon::TestPopupControllerCommon(
10 const gfx::RectF& element_bounds) 10 const gfx::RectF& element_bounds,
11 : PopupControllerCommon(element_bounds, NULL, NULL) {} 11 base::i18n::TextDirection direction)
12 : PopupControllerCommon(element_bounds, direction, NULL, NULL) {
13 }
12 TestPopupControllerCommon::~TestPopupControllerCommon() {} 14 TestPopupControllerCommon::~TestPopupControllerCommon() {}
13 15
14 gfx::Display TestPopupControllerCommon::GetDisplayNearestPoint( 16 gfx::Display TestPopupControllerCommon::GetDisplayNearestPoint(
15 const gfx::Point& point) const { 17 const gfx::Point& point) const {
16 return display_; 18 return display_;
17 } 19 }
18 20
19 } // namespace autofill 21 } // namespace autofill
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698