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

Side by Side Diff: content/shell/shell_login_dialog_mac.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 "content/shell/shell_login_dialog.h" 5 #include "content/shell/shell_login_dialog.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 #include "base/mac/bundle_locations.h" 10 #include "base/mac/bundle_locations.h"
11 #import "base/mac/cocoa_protocols.h"
12 #import "base/memory/scoped_nsobject.h" 11 #import "base/memory/scoped_nsobject.h"
13 #include "base/sys_string_conversions.h" 12 #include "base/sys_string_conversions.h"
14 #include "content/public/browser/browser_thread.h" 13 #include "content/public/browser/browser_thread.h"
15 #import "ui/base/cocoa/nib_loading.h" 14 #import "ui/base/cocoa/nib_loading.h"
16 15
17 namespace { 16 namespace {
18 17
19 const int kUsernameFieldTag = 1; 18 const int kUsernameFieldTag = 1;
20 const int kPasswordFieldTag = 2; 19 const int kPasswordFieldTag = 2;
21 20
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 [helper_ release]; 113 [helper_ release];
115 helper_ = nil; 114 helper_ = nil;
116 } 115 }
117 116
118 void ShellLoginDialog::PlatformRequestCancelled() { 117 void ShellLoginDialog::PlatformRequestCancelled() {
119 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI)); 118 DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
120 [helper_ cancel]; 119 [helper_ cancel];
121 } 120 }
122 121
123 } // namespace content 122 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698