OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #ifndef UI_WEB_DIALOGS_TEST_TEST_WEB_DIALOG_DELEGATE_H_ | 5 #ifndef UI_WEB_DIALOGS_TEST_TEST_WEB_DIALOG_DELEGATE_H_ |
6 #define UI_WEB_DIALOGS_TEST_TEST_WEB_DIALOG_DELEGATE_H_ | 6 #define UI_WEB_DIALOGS_TEST_TEST_WEB_DIALOG_DELEGATE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
11 #include "ui/gfx/size.h" | 11 #include "ui/gfx/geometry/size.h" |
12 #include "ui/web_dialogs/web_dialog_delegate.h" | 12 #include "ui/web_dialogs/web_dialog_delegate.h" |
13 #include "url/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 namespace ui { | 15 namespace ui { |
16 namespace test { | 16 namespace test { |
17 | 17 |
18 class TestWebDialogDelegate : public WebDialogDelegate { | 18 class TestWebDialogDelegate : public WebDialogDelegate { |
19 public: | 19 public: |
20 explicit TestWebDialogDelegate(const GURL& url); | 20 explicit TestWebDialogDelegate(const GURL& url); |
21 ~TestWebDialogDelegate() override; | 21 ~TestWebDialogDelegate() override; |
(...skipping 19 matching lines...) Expand all Loading... |
41 const GURL url_; | 41 const GURL url_; |
42 gfx::Size size_; | 42 gfx::Size size_; |
43 | 43 |
44 DISALLOW_COPY_AND_ASSIGN(TestWebDialogDelegate); | 44 DISALLOW_COPY_AND_ASSIGN(TestWebDialogDelegate); |
45 }; | 45 }; |
46 | 46 |
47 } // namespace test | 47 } // namespace test |
48 } // namespace ui | 48 } // namespace ui |
49 | 49 |
50 #endif // UI_WEB_DIALOGS_TEST_TEST_WEB_DIALOG_DELEGATE_H_ | 50 #endif // UI_WEB_DIALOGS_TEST_TEST_WEB_DIALOG_DELEGATE_H_ |
OLD | NEW |