Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(699)

Side by Side Diff: chrome/browser/js_modal_dialog.h

Issue 3080031: Delete obviously unneeded forward declarations in chrome/browser/*.h. (Closed)
Patch Set: bah Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/gpu_process_host.h ('k') | chrome/browser/jsmessage_box_client.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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" 15 #include "net/base/cookie_monster.h"
16 16
17 #if defined(OS_MACOSX) 17 #if defined(OS_MACOSX)
18 #if __OBJC__ 18 #if __OBJC__
19 @class NSAlert; 19 @class NSAlert;
20 #else 20 #else
21 class NSAlert; 21 class NSAlert;
22 #endif 22 #endif
23 #endif 23 #endif
24 24
25 class ExtensionHost; 25 class ExtensionHost;
26 class JavaScriptMessageBoxClient; 26 class JavaScriptMessageBoxClient;
27 27
28 namespace IPC {
29 class Message;
30 }
31
28 // A controller+model class for JavaScript alert, confirm, prompt, and 32 // A controller+model class for JavaScript alert, confirm, prompt, and
29 // onbeforeunload dialog boxes. 33 // onbeforeunload dialog boxes.
30 class JavaScriptAppModalDialog : public AppModalDialog, 34 class JavaScriptAppModalDialog : public AppModalDialog,
31 public NotificationObserver { 35 public NotificationObserver {
32 public: 36 public:
33 // A union of data necessary to determine the type of message box to 37 // A union of data necessary to determine the type of message box to
34 // show. |dialog_flags| is a MessageBox flag. 38 // show. |dialog_flags| is a MessageBox flag.
35 JavaScriptAppModalDialog(JavaScriptMessageBoxClient* client, 39 JavaScriptAppModalDialog(JavaScriptMessageBoxClient* client,
36 const std::wstring& title, 40 const std::wstring& title,
37 int dialog_flags, 41 int dialog_flags,
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 std::wstring message_text_; 113 std::wstring message_text_;
110 std::wstring default_prompt_text_; 114 std::wstring default_prompt_text_;
111 bool display_suppress_checkbox_; 115 bool display_suppress_checkbox_;
112 bool is_before_unload_dialog_; 116 bool is_before_unload_dialog_;
113 IPC::Message* reply_msg_; 117 IPC::Message* reply_msg_;
114 118
115 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialog); 119 DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialog);
116 }; 120 };
117 121
118 #endif // CHROME_BROWSER_JS_MODAL_DIALOG_H_ 122 #endif // CHROME_BROWSER_JS_MODAL_DIALOG_H_
OLDNEW
« no previous file with comments | « chrome/browser/gpu_process_host.h ('k') | chrome/browser/jsmessage_box_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698