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_BROWSER_SHELL_JAVASCRIPT_DIALOG_H_ |
6 #define CONTENT_SHELL_SHELL_JAVASCRIPT_DIALOG_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_H_ |
7 | 7 |
8 #include "content/public/browser/javascript_dialog_manager.h" | 8 #include "content/public/browser/javascript_dialog_manager.h" |
9 | 9 |
10 #if defined(TOOLKIT_GTK) | 10 #if defined(TOOLKIT_GTK) |
11 #include "ui/base/gtk/gtk_signal.h" | 11 #include "ui/base/gtk/gtk_signal.h" |
12 #endif | 12 #endif |
13 | 13 |
14 #if defined(OS_MACOSX) | 14 #if defined(OS_MACOSX) |
15 #if __OBJC__ | 15 #if __OBJC__ |
16 @class ShellJavaScriptDialogHelper; | 16 @class ShellJavaScriptDialogHelper; |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 GtkWidget* gtk_dialog_; | 54 GtkWidget* gtk_dialog_; |
55 gfx::NativeWindow parent_window_; | 55 gfx::NativeWindow parent_window_; |
56 CHROMEGTK_CALLBACK_1(ShellJavaScriptDialog, void, OnResponse, int); | 56 CHROMEGTK_CALLBACK_1(ShellJavaScriptDialog, void, OnResponse, int); |
57 #endif | 57 #endif |
58 | 58 |
59 DISALLOW_COPY_AND_ASSIGN(ShellJavaScriptDialog); | 59 DISALLOW_COPY_AND_ASSIGN(ShellJavaScriptDialog); |
60 }; | 60 }; |
61 | 61 |
62 } // namespace content | 62 } // namespace content |
63 | 63 |
64 #endif // CONTENT_SHELL_SHELL_JAVASCRIPT_DIALOG_H_ | 64 #endif // CONTENT_SHELL_BROWSER_SHELL_JAVASCRIPT_DIALOG_H_ |
OLD | NEW |