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