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_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_H_ |
6 #define CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_H_ |
7 | 7 |
| 8 #include "base/macros.h" |
| 9 #include "build/build_config.h" |
8 #include "content/public/browser/javascript_dialog_manager.h" | 10 #include "content/public/browser/javascript_dialog_manager.h" |
9 | 11 |
10 #if defined(OS_MACOSX) | 12 #if defined(OS_MACOSX) |
11 #if __OBJC__ | 13 #if __OBJC__ |
12 @class ShellJavaScriptDialogHelper; | 14 @class ShellJavaScriptDialogHelper; |
13 #else | 15 #else |
14 class ShellJavaScriptDialogHelper; | 16 class ShellJavaScriptDialogHelper; |
15 #endif // __OBJC__ | 17 #endif // __OBJC__ |
16 #endif // defined(OS_MACOSX) | 18 #endif // defined(OS_MACOSX) |
17 | 19 |
(...skipping 29 matching lines...) Expand all Loading... |
47 static INT_PTR CALLBACK DialogProc(HWND dialog, UINT message, WPARAM wparam, | 49 static INT_PTR CALLBACK DialogProc(HWND dialog, UINT message, WPARAM wparam, |
48 LPARAM lparam); | 50 LPARAM lparam); |
49 #endif | 51 #endif |
50 | 52 |
51 DISALLOW_COPY_AND_ASSIGN(ShellJavaScriptDialog); | 53 DISALLOW_COPY_AND_ASSIGN(ShellJavaScriptDialog); |
52 }; | 54 }; |
53 | 55 |
54 } // namespace content | 56 } // namespace content |
55 | 57 |
56 #endif // CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_H_ | 58 #endif // CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_H_ |
OLD | NEW |