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

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

Issue 20378: Reduce the amount of included header files. Vast change like in "Oh God! This... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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/jsmessage_box_handler_win.h" 5 #include "chrome/browser/jsmessage_box_handler_win.h"
6 6
7 #include "base/string_util.h"
7 #include "chrome/browser/app_modal_dialog_queue.h" 8 #include "chrome/browser/app_modal_dialog_queue.h"
8 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
9 #include "chrome/browser/profile.h" 10 #include "chrome/browser/profile.h"
10 #include "chrome/browser/tab_contents/web_contents.h" 11 #include "chrome/browser/tab_contents/web_contents.h"
11 #include "chrome/common/gfx/text_elider.h" 12 #include "chrome/common/gfx/text_elider.h"
12 #include "chrome/common/l10n_util.h" 13 #include "chrome/common/l10n_util.h"
13 #include "chrome/common/notification_service.h" 14 #include "chrome/common/notification_service.h"
14 #include "chrome/common/notification_type.h" 15 #include "chrome/common/notification_type.h"
15 #include "chrome/common/pref_names.h" 16 #include "chrome/common/pref_names.h"
16 #include "chrome/common/pref_service.h" 17 #include "chrome/common/pref_service.h"
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 web_contents_gone = true; 201 web_contents_gone = true;
201 202
202 if (web_contents_gone) { 203 if (web_contents_gone) {
203 web_contents_ = NULL; 204 web_contents_ = NULL;
204 205
205 // If the dialog is visible close it. 206 // If the dialog is visible close it.
206 if (dialog_) 207 if (dialog_)
207 dialog_->Close(); 208 dialog_->Close();
208 } 209 }
209 } 210 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698