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