summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/autofill/test_popup_controller_common.cc
blob: 5f83919c07955ca7f6b4213b0762771baa7973e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// 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)
    : PopupControllerCommon(element_bounds, NULL, NULL) {}
TestPopupControllerCommon::~TestPopupControllerCommon() {}

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

}  // namespace autofill