Infobar material design refresh: layout
[chromium-blink-merge.git] / chrome / browser / ui / autofill / test_popup_controller_common.cc
blobfcbe2478033eb8e69c81fcd50f05886c16725f0d
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.
5 #include "chrome/browser/ui/autofill/test_popup_controller_common.h"
7 namespace autofill {
9 TestPopupControllerCommon::TestPopupControllerCommon(
10 const gfx::RectF& element_bounds,
11 base::i18n::TextDirection direction)
12 : PopupControllerCommon(element_bounds, direction, NULL, NULL) {
14 TestPopupControllerCommon::~TestPopupControllerCommon() {}
16 gfx::Display TestPopupControllerCommon::GetDisplayNearestPoint(
17 const gfx::Point& point) const {
18 return display_;
21 } // namespace autofill