| 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 "base/macros.h" |
| 11 #include "ui/gfx/geometry/size.h" | 12 #include "ui/gfx/geometry/size.h" |
| 12 #include "ui/web_dialogs/web_dialog_delegate.h" | 13 #include "ui/web_dialogs/web_dialog_delegate.h" |
| 13 #include "url/gurl.h" | 14 #include "url/gurl.h" |
| 14 | 15 |
| 15 namespace ui { | 16 namespace ui { |
| 16 namespace test { | 17 namespace test { |
| 17 | 18 |
| 18 class TestWebDialogDelegate : public WebDialogDelegate { | 19 class TestWebDialogDelegate : public WebDialogDelegate { |
| 19 public: | 20 public: |
| 20 explicit TestWebDialogDelegate(const GURL& url); | 21 explicit TestWebDialogDelegate(const GURL& url); |
| (...skipping 26 matching lines...) Expand all Loading... |
| 47 gfx::Size size_; | 48 gfx::Size size_; |
| 48 bool* did_delete_; | 49 bool* did_delete_; |
| 49 | 50 |
| 50 DISALLOW_COPY_AND_ASSIGN(TestWebDialogDelegate); | 51 DISALLOW_COPY_AND_ASSIGN(TestWebDialogDelegate); |
| 51 }; | 52 }; |
| 52 | 53 |
| 53 } // namespace test | 54 } // namespace test |
| 54 } // namespace ui | 55 } // namespace ui |
| 55 | 56 |
| 56 #endif // UI_WEB_DIALOGS_TEST_TEST_WEB_DIALOG_DELEGATE_H_ | 57 #endif // UI_WEB_DIALOGS_TEST_TEST_WEB_DIALOG_DELEGATE_H_ |
| OLD | NEW |