OLD | NEW |
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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_JS_MODAL_DIALOG_H_ | 5 #ifndef CHROME_BROWSER_JS_MODAL_DIALOG_H_ |
6 #define CHROME_BROWSER_JS_MODAL_DIALOG_H_ | 6 #define CHROME_BROWSER_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/app_modal_dialog.h" | 12 #include "chrome/browser/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 "net/base/cookie_monster.h" | |
16 | 15 |
17 #if defined(OS_MACOSX) | 16 #if defined(OS_MACOSX) |
18 #if __OBJC__ | 17 #if __OBJC__ |
19 @class NSAlert; | 18 @class NSAlert; |
20 #else | 19 #else |
21 class NSAlert; | 20 class NSAlert; |
22 #endif | 21 #endif |
23 #endif | 22 #endif |
24 | 23 |
25 class ExtensionHost; | 24 class ExtensionHost; |
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 std::wstring message_text_; | 112 std::wstring message_text_; |
114 std::wstring default_prompt_text_; | 113 std::wstring default_prompt_text_; |
115 bool display_suppress_checkbox_; | 114 bool display_suppress_checkbox_; |
116 bool is_before_unload_dialog_; | 115 bool is_before_unload_dialog_; |
117 IPC::Message* reply_msg_; | 116 IPC::Message* reply_msg_; |
118 | 117 |
119 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialog); | 118 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialog); |
120 }; | 119 }; |
121 | 120 |
122 #endif // CHROME_BROWSER_JS_MODAL_DIALOG_H_ | 121 #endif // CHROME_BROWSER_JS_MODAL_DIALOG_H_ |
OLD | NEW |