OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "chrome/browser/ui/autofill/test_popup_controller_common.h" | |
6 | |
7 namespace autofill { | |
8 | |
9 TestPopupControllerCommon::TestPopupControllerCommon( | |
10 const gfx::RectF& element_bounds, | |
11 base::i18n::TextDirection direction) | |
12 : PopupControllerCommon(element_bounds, direction, NULL, NULL) { | |
13 } | |
14 TestPopupControllerCommon::~TestPopupControllerCommon() {} | |
15 | |
16 gfx::Display TestPopupControllerCommon::GetDisplayNearestPoint( | |
17 const gfx::Point& point) const { | |
18 return display_; | |
19 } | |
20 | |
21 } // namespace autofill | |
OLD | NEW |