Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Side by Side Diff: components/web_modal/test_web_contents_modal_dialog_host.cc

Issue 392013005: [#1] Delete reduntdant 19 header files in ui/gfx (8 of 19 by this) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: sorted includes Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/web_modal/test_web_contents_modal_dialog_host.h" 5 #include "components/web_modal/test_web_contents_modal_dialog_host.h"
6 6
7 #include "ui/gfx/point.h" 7 #include "ui/gfx/geometry/point.h"
8 8
9 namespace web_modal { 9 namespace web_modal {
10 10
11 TestWebContentsModalDialogHost::TestWebContentsModalDialogHost( 11 TestWebContentsModalDialogHost::TestWebContentsModalDialogHost(
12 gfx::NativeView host_view) 12 gfx::NativeView host_view)
13 : host_view_(host_view) {} 13 : host_view_(host_view) {}
14 14
15 TestWebContentsModalDialogHost::~TestWebContentsModalDialogHost() {} 15 TestWebContentsModalDialogHost::~TestWebContentsModalDialogHost() {}
16 16
17 gfx::Size TestWebContentsModalDialogHost::GetMaximumDialogSize() { 17 gfx::Size TestWebContentsModalDialogHost::GetMaximumDialogSize() {
18 return max_dialog_size_; 18 return max_dialog_size_;
19 } 19 }
20 20
21 gfx::NativeView TestWebContentsModalDialogHost::GetHostView() const { 21 gfx::NativeView TestWebContentsModalDialogHost::GetHostView() const {
22 return host_view_; 22 return host_view_;
23 } 23 }
24 24
25 gfx::Point TestWebContentsModalDialogHost::GetDialogPosition( 25 gfx::Point TestWebContentsModalDialogHost::GetDialogPosition(
26 const gfx::Size& size) { 26 const gfx::Size& size) {
27 return gfx::Point(); 27 return gfx::Point();
28 } 28 }
29 29
30 void TestWebContentsModalDialogHost::AddObserver( 30 void TestWebContentsModalDialogHost::AddObserver(
31 ModalDialogHostObserver* observer) {} 31 ModalDialogHostObserver* observer) {}
32 32
33 void TestWebContentsModalDialogHost::RemoveObserver( 33 void TestWebContentsModalDialogHost::RemoveObserver(
34 ModalDialogHostObserver* observer) {} 34 ModalDialogHostObserver* observer) {}
35 35
36 } // namespace web_modal 36 } // namespace web_modal
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698