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

Side by Side Diff: chrome/browser/ui/cocoa/passwords/pending_password_view_controller.mm

Issue 2911773002: Clean up unused grit header includes in chrome/ (Closed)
Patch Set: rebase Created 3 years, 6 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
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 <algorithm> 5 #include <algorithm>
6 6
7 #import "chrome/browser/ui/cocoa/passwords/pending_password_view_controller.h" 7 #import "chrome/browser/ui/cocoa/passwords/pending_password_view_controller.h"
8 8
9 #include "base/mac/foundation_util.h" 9 #include "base/mac/foundation_util.h"
10 #include "base/strings/sys_string_conversions.h" 10 #include "base/strings/sys_string_conversions.h"
11 #include "chrome/browser/ui/cocoa/chrome_style.h" 11 #include "chrome/browser/ui/cocoa/chrome_style.h"
12 #import "chrome/browser/ui/cocoa/hover_close_button.h" 12 #import "chrome/browser/ui/cocoa/hover_close_button.h"
13 #import "chrome/browser/ui/cocoa/passwords/passwords_bubble_utils.h" 13 #import "chrome/browser/ui/cocoa/passwords/passwords_bubble_utils.h"
14 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h" 14 #include "chrome/browser/ui/passwords/manage_passwords_bubble_model.h"
15 #include "chrome/grit/generated_resources.h"
16 #include "skia/ext/skia_utils_mac.h" 15 #include "skia/ext/skia_utils_mac.h"
17 #import "ui/base/cocoa/controls/hyperlink_text_view.h" 16 #import "ui/base/cocoa/controls/hyperlink_text_view.h"
18 #include "ui/base/l10n/l10n_util.h" 17 #include "ui/base/l10n/l10n_util.h"
19 18
20 @implementation PendingPasswordViewController 19 @implementation PendingPasswordViewController
21 20
22 - (BOOL)textView:(NSTextView*)textView 21 - (BOOL)textView:(NSTextView*)textView
23 clickedOnLink:(id)link 22 clickedOnLink:(id)link
24 atIndex:(NSUInteger)charIndex { 23 atIndex:(NSUInteger)charIndex {
25 ManagePasswordsBubbleModel* model = [self model]; 24 ManagePasswordsBubbleModel* model = [self model];
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 151
153 @end 152 @end
154 153
155 @implementation PendingPasswordViewController (Testing) 154 @implementation PendingPasswordViewController (Testing)
156 155
157 - (NSButton*)closeButton { 156 - (NSButton*)closeButton {
158 return closeButton_.get(); 157 return closeButton_.get();
159 } 158 }
160 159
161 @end 160 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698