Add readelf and nm dummy values to cros.
[chromium-blink-merge.git] / components / web_modal / test_web_contents_modal_dialog_host.cc
blob28a5d81f1e4411cca3667c28bcecdf1f911931c8
1 // Copyright 2013 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 "components/web_modal/test_web_contents_modal_dialog_host.h"
7 #include "ui/gfx/geometry/point.h"
9 namespace web_modal {
11 TestWebContentsModalDialogHost::TestWebContentsModalDialogHost(
12 gfx::NativeView host_view)
13 : host_view_(host_view) {}
15 TestWebContentsModalDialogHost::~TestWebContentsModalDialogHost() {}
17 gfx::Size TestWebContentsModalDialogHost::GetMaximumDialogSize() {
18 return max_dialog_size_;
21 gfx::NativeView TestWebContentsModalDialogHost::GetHostView() const {
22 return host_view_;
25 gfx::Point TestWebContentsModalDialogHost::GetDialogPosition(
26 const gfx::Size& size) {
27 return gfx::Point();
30 void TestWebContentsModalDialogHost::AddObserver(
31 ModalDialogHostObserver* observer) {}
33 void TestWebContentsModalDialogHost::RemoveObserver(
34 ModalDialogHostObserver* observer) {}
36 } // namespace web_modal