| OLD | NEW |
| 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 |
| OLD | NEW |