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

Side by Side Diff: chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.mm

Issue 10831025: mac: Remove now-unneeded includes of cocoa_protocols.h (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/ui/cocoa/javascript_app_modal_dialog_cocoa.h" 5 #include "chrome/browser/ui/cocoa/javascript_app_modal_dialog_cocoa.h"
6 6
7 #import <Cocoa/Cocoa.h> 7 #import <Cocoa/Cocoa.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #import "base/mac/cocoa_protocols.h"
11 #include "base/sys_string_conversions.h" 10 #include "base/sys_string_conversions.h"
12 #import "chrome/browser/chrome_browser_application_mac.h" 11 #import "chrome/browser/chrome_browser_application_mac.h"
13 #include "chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h" 12 #include "chrome/browser/ui/app_modal_dialogs/javascript_app_modal_dialog.h"
14 #include "grit/generated_resources.h" 13 #include "grit/generated_resources.h"
15 #include "grit/ui_strings.h" 14 #include "grit/ui_strings.h"
16 #include "ui/base/l10n/l10n_util_mac.h" 15 #include "ui/base/l10n/l10n_util_mac.h"
17 #include "ui/base/ui_base_types.h" 16 #include "ui/base/ui_base_types.h"
18 17
19 // Helper object that receives the notification that the dialog/sheet is 18 // Helper object that receives the notification that the dialog/sheet is
20 // going away. Is responsible for cleaning itself up. 19 // going away. Is responsible for cleaning itself up.
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 213
215 //////////////////////////////////////////////////////////////////////////////// 214 ////////////////////////////////////////////////////////////////////////////////
216 // NativeAppModalDialog, public: 215 // NativeAppModalDialog, public:
217 216
218 // static 217 // static
219 NativeAppModalDialog* NativeAppModalDialog::CreateNativeJavaScriptPrompt( 218 NativeAppModalDialog* NativeAppModalDialog::CreateNativeJavaScriptPrompt(
220 JavaScriptAppModalDialog* dialog, 219 JavaScriptAppModalDialog* dialog,
221 gfx::NativeWindow parent_window) { 220 gfx::NativeWindow parent_window) {
222 return new JavaScriptAppModalDialogCocoa(dialog); 221 return new JavaScriptAppModalDialogCocoa(dialog);
223 } 222 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698