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

Side by Side Diff: chrome/browser/app_modal_dialog.cc

Issue 155905: Separates ipc code from common (http://crbug.com/16829) (Closed)
Patch Set: Fixes reference to 'common_message_traits' it's actually 'common_param_traits' Created 11 years, 5 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/app/breakpad_linux.cc ('k') | chrome/browser/automation/automation_provider.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 #include "chrome/browser/app_modal_dialog.h" 5 #include "chrome/browser/app_modal_dialog.h"
6 6
7 #include "chrome/browser/app_modal_dialog_queue.h" 7 #include "chrome/browser/app_modal_dialog_queue.h"
8 #include "chrome/browser/tab_contents/tab_contents.h" 8 #include "chrome/browser/tab_contents/tab_contents.h"
9 #include "chrome/common/notification_service.h" 9 #include "chrome/common/notification_service.h"
10 #include "chrome/common/notification_type.h" 10 #include "chrome/common/notification_type.h"
11 #include "chrome/common/ipc_message.h" 11 #include "ipc/ipc_message.h"
12 12
13 AppModalDialog::AppModalDialog(TabContents* tab_contents, 13 AppModalDialog::AppModalDialog(TabContents* tab_contents,
14 const std::wstring& title, 14 const std::wstring& title,
15 int dialog_flags, 15 int dialog_flags,
16 const std::wstring& message_text, 16 const std::wstring& message_text,
17 const std::wstring& default_prompt_text, 17 const std::wstring& default_prompt_text,
18 bool display_suppress_checkbox, 18 bool display_suppress_checkbox,
19 bool is_before_unload_dialog, 19 bool is_before_unload_dialog,
20 IPC::Message* reply_msg) 20 IPC::Message* reply_msg)
21 : dialog_(NULL), 21 : dialog_(NULL),
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 SendCloseNotification(); 116 SendCloseNotification();
117 } 117 }
118 118
119 void AppModalDialog::OnClose() { 119 void AppModalDialog::OnClose() {
120 if (tab_contents_) { 120 if (tab_contents_) {
121 tab_contents_->OnJavaScriptMessageBoxWindowDestroyed(); 121 tab_contents_->OnJavaScriptMessageBoxWindowDestroyed();
122 } 122 }
123 123
124 SendCloseNotification(); 124 SendCloseNotification();
125 } 125 }
OLDNEW
« no previous file with comments | « chrome/app/breakpad_linux.cc ('k') | chrome/browser/automation/automation_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698