OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 CHROME_BROWSER_UI_APP_MODAL_DIALOGS_JS_MODAL_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_MODAL_DIALOGS_JS_MODAL_DIALOG_H_ |
6 #define CHROME_BROWSER_UI_APP_MODAL_DIALOGS_JS_MODAL_DIALOG_H_ | 6 #define CHROME_BROWSER_UI_APP_MODAL_DIALOGS_JS_MODAL_DIALOG_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
12 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h" | 12 #include "chrome/browser/ui/app_modal_dialogs/app_modal_dialog.h" |
13 #include "chrome/common/notification_observer.h" | 13 #include "chrome/common/notification_observer.h" |
14 #include "chrome/common/notification_registrar.h" | 14 #include "chrome/common/notification_registrar.h" |
15 #include "gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
16 | 16 |
17 class ExtensionHost; | 17 class ExtensionHost; |
18 class NativeAppModalDialog; | 18 class NativeAppModalDialog; |
19 class TabContents; | 19 class TabContents; |
20 | 20 |
21 namespace IPC { | 21 namespace IPC { |
22 class Message; | 22 class Message; |
23 } | 23 } |
24 | 24 |
25 class JavaScriptAppModalDialogDelegate { | 25 class JavaScriptAppModalDialogDelegate { |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
111 std::wstring message_text_; | 111 std::wstring message_text_; |
112 std::wstring default_prompt_text_; | 112 std::wstring default_prompt_text_; |
113 bool display_suppress_checkbox_; | 113 bool display_suppress_checkbox_; |
114 bool is_before_unload_dialog_; | 114 bool is_before_unload_dialog_; |
115 IPC::Message* reply_msg_; | 115 IPC::Message* reply_msg_; |
116 | 116 |
117 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialog); | 117 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialog); |
118 }; | 118 }; |
119 | 119 |
120 #endif // CHROME_BROWSER_UI_APP_MODAL_DIALOGS_JS_MODAL_DIALOG_H_ | 120 #endif // CHROME_BROWSER_UI_APP_MODAL_DIALOGS_JS_MODAL_DIALOG_H_ |
OLD | NEW |