summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/autofill/test_popup_controller_common.cc
blob: fcbe2478033eb8e69c81fcd50f05886c16725f0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "chrome/browser/ui/autofill/test_popup_controller_common.h"

namespace autofill {

TestPopupControllerCommon::TestPopupControllerCommon(
    const gfx::RectF& element_bounds,
    base::i18n::TextDirection direction)
    : PopupControllerCommon(element_bounds, direction, NULL, NULL) {
}
TestPopupControllerCommon::~TestPopupControllerCommon() {}

gfx::Display TestPopupControllerCommon::GetDisplayNearestPoint(
    const gfx::Point& point) const {
  return display_;
}

}  // namespace autofill