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 CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_MANAGER_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_MANAGER_H_ |
6 #define CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_MANAGER_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_MANAGER_H_ |
7 | 7 |
8 #include "base/callback_forward.h" | 8 #include "base/callback_forward.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/macros.h" |
10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 12 #include "build/build_config.h" |
11 #include "content/public/browser/javascript_dialog_manager.h" | 13 #include "content/public/browser/javascript_dialog_manager.h" |
12 | 14 |
13 namespace content { | 15 namespace content { |
14 | 16 |
15 class ShellJavaScriptDialog; | 17 class ShellJavaScriptDialog; |
16 | 18 |
17 class ShellJavaScriptDialogManager : public JavaScriptDialogManager { | 19 class ShellJavaScriptDialogManager : public JavaScriptDialogManager { |
18 public: | 20 public: |
19 ShellJavaScriptDialogManager(); | 21 ShellJavaScriptDialogManager(); |
20 ~ShellJavaScriptDialogManager() override; | 22 ~ShellJavaScriptDialogManager() override; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 #endif | 57 #endif |
56 | 58 |
57 base::Closure dialog_request_callback_; | 59 base::Closure dialog_request_callback_; |
58 | 60 |
59 DISALLOW_COPY_AND_ASSIGN(ShellJavaScriptDialogManager); | 61 DISALLOW_COPY_AND_ASSIGN(ShellJavaScriptDialogManager); |
60 }; | 62 }; |
61 | 63 |
62 } // namespace content | 64 } // namespace content |
63 | 65 |
64 #endif // CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_MANAGER_H_ | 66 #endif // CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_MANAGER_H_ |
OLD | NEW |