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 COMPONENTS_APP_MODAL_JAVASCRIPT_DIALOG_MANAGER_H_ | 5 #ifndef COMPONENTS_APP_MODAL_JAVASCRIPT_DIALOG_MANAGER_H_ |
6 #define COMPONENTS_APP_MODAL_JAVASCRIPT_DIALOG_MANAGER_H_ | 6 #define COMPONENTS_APP_MODAL_JAVASCRIPT_DIALOG_MANAGER_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
8 #include "base/memory/scoped_ptr.h" | 9 #include "base/memory/scoped_ptr.h" |
9 #include "base/memory/singleton.h" | 10 #include "base/memory/singleton.h" |
10 #include "components/app_modal/javascript_app_modal_dialog.h" | 11 #include "components/app_modal/javascript_app_modal_dialog.h" |
11 #include "content/public/browser/javascript_dialog_manager.h" | 12 #include "content/public/browser/javascript_dialog_manager.h" |
12 | 13 |
13 namespace app_modal { | 14 namespace app_modal { |
14 | 15 |
15 class JavaScriptDialogExtensionsClient; | 16 class JavaScriptDialogExtensionsClient; |
16 class JavaScriptNativeDialogFactory; | 17 class JavaScriptNativeDialogFactory; |
17 | 18 |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 | 79 |
79 scoped_ptr<JavaScriptNativeDialogFactory> native_dialog_factory_; | 80 scoped_ptr<JavaScriptNativeDialogFactory> native_dialog_factory_; |
80 scoped_ptr<JavaScriptDialogExtensionsClient> extensions_client_; | 81 scoped_ptr<JavaScriptDialogExtensionsClient> extensions_client_; |
81 | 82 |
82 DISALLOW_COPY_AND_ASSIGN(JavaScriptDialogManager); | 83 DISALLOW_COPY_AND_ASSIGN(JavaScriptDialogManager); |
83 }; | 84 }; |
84 | 85 |
85 } // namespace app_modal | 86 } // namespace app_modal |
86 | 87 |
87 #endif // COMPONENTS_APP_MODAL_JAVASCRIPT_DIALOG_MANAGER_H_ | 88 #endif // COMPONENTS_APP_MODAL_JAVASCRIPT_DIALOG_MANAGER_H_ |
OLD | NEW |