| OLD | NEW |
| 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 #ifndef COMPONENTS_WEB_MODAL_TEST_WEB_CONTENTS_MODAL_DIALOG_MANAGER_DELEGATE_H_ | 5 #ifndef COMPONENTS_WEB_MODAL_TEST_WEB_CONTENTS_MODAL_DIALOG_MANAGER_DELEGATE_H_ |
| 6 #define COMPONENTS_WEB_MODAL_TEST_WEB_CONTENTS_MODAL_DIALOG_MANAGER_DELEGATE_H_ | 6 #define COMPONENTS_WEB_MODAL_TEST_WEB_CONTENTS_MODAL_DIALOG_MANAGER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "components/web_modal/web_contents_modal_dialog_manager_delegate.h" | 8 #include "components/web_modal/web_contents_modal_dialog_manager_delegate.h" |
| 9 | 9 |
| 10 #include "base/basictypes.h" | |
| 11 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.h" |
| 11 #include "base/macros.h" |
| 12 | 12 |
| 13 namespace web_modal { | 13 namespace web_modal { |
| 14 | 14 |
| 15 class TestWebContentsModalDialogManagerDelegate | 15 class TestWebContentsModalDialogManagerDelegate |
| 16 : public WebContentsModalDialogManagerDelegate { | 16 : public WebContentsModalDialogManagerDelegate { |
| 17 public: | 17 public: |
| 18 TestWebContentsModalDialogManagerDelegate(); | 18 TestWebContentsModalDialogManagerDelegate(); |
| 19 | 19 |
| 20 // WebContentsModalDialogManagerDelegate overrides: | 20 // WebContentsModalDialogManagerDelegate overrides: |
| 21 void SetWebContentsBlocked(content::WebContents* web_contents, | 21 void SetWebContentsBlocked(content::WebContents* web_contents, |
| (...skipping 17 matching lines...) Expand all Loading... |
| 39 bool web_contents_visible_; | 39 bool web_contents_visible_; |
| 40 bool web_contents_blocked_; | 40 bool web_contents_blocked_; |
| 41 WebContentsModalDialogHost* web_contents_modal_dialog_host_; // Not owned. | 41 WebContentsModalDialogHost* web_contents_modal_dialog_host_; // Not owned. |
| 42 | 42 |
| 43 DISALLOW_COPY_AND_ASSIGN(TestWebContentsModalDialogManagerDelegate); | 43 DISALLOW_COPY_AND_ASSIGN(TestWebContentsModalDialogManagerDelegate); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } // namespace web_modal | 46 } // namespace web_modal |
| 47 | 47 |
| 48 #endif // COMPONENTS_WEB_MODAL_TEST_WEB_CONTENTS_MODAL_DIALOG_MANAGER_DELEGATE_
H_ | 48 #endif // COMPONENTS_WEB_MODAL_TEST_WEB_CONTENTS_MODAL_DIALOG_MANAGER_DELEGATE_
H_ |
| OLD | NEW |