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

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

Issue 2290753004: Finish changing chrome/ grit includes to use qualified paths. (Closed)
Patch Set: Rebase, fix new unqualified include Created 4 years, 3 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #import "chrome/browser/ui/cocoa/chooser_content_view_cocoa.h" 5 #import "chrome/browser/ui/cocoa/chooser_content_view_cocoa.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/strings/sys_string_conversions.h" 10 #include "base/strings/sys_string_conversions.h"
11 #include "chrome/browser/chooser_controller/chooser_controller.h" 11 #include "chrome/browser/chooser_controller/chooser_controller.h"
12 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_button.h" 12 #import "chrome/browser/ui/cocoa/constrained_window/constrained_window_button.h"
13 #include "chrome/browser/ui/cocoa/spinner_view.h" 13 #include "chrome/browser/ui/cocoa/spinner_view.h"
14 #include "chrome/grit/generated_resources.h" 14 #include "chrome/grit/generated_resources.h"
15 #include "grit/ui_resources.h"
16 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw eaker.h" 15 #import "third_party/google_toolbox_for_mac/src/AppKit/GTMUILocalizerAndLayoutTw eaker.h"
17 #import "ui/base/cocoa/controls/hyperlink_button_cell.h" 16 #import "ui/base/cocoa/controls/hyperlink_button_cell.h"
18 #include "ui/base/l10n/l10n_util_mac.h" 17 #include "ui/base/l10n/l10n_util_mac.h"
19 #include "ui/base/resource/resource_bundle.h" 18 #include "ui/base/resource/resource_bundle.h"
19 #include "ui/resources/grit/ui_resources.h"
20 20
21 namespace { 21 namespace {
22 22
23 // Chooser width. 23 // Chooser width.
24 const CGFloat kChooserWidth = 350.0f; 24 const CGFloat kChooserWidth = 350.0f;
25 25
26 // Chooser height. 26 // Chooser height.
27 const CGFloat kChooserHeight = 300.0f; 27 const CGFloat kChooserHeight = 300.0f;
28 28
29 // Signal strength level image size. 29 // Signal strength level image size.
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
698 return [tableRowView image]; 698 return [tableRowView image];
699 } 699 }
700 700
701 - (NSTextField*)tableRowViewText:(NSInteger)row { 701 - (NSTextField*)tableRowViewText:(NSInteger)row {
702 ChooserContentTableRowView* tableRowView = 702 ChooserContentTableRowView* tableRowView =
703 [tableView_ viewAtColumn:0 row:row makeIfNecessary:YES]; 703 [tableView_ viewAtColumn:0 row:row makeIfNecessary:YES];
704 return [tableRowView text]; 704 return [tableRowView text];
705 } 705 }
706 706
707 @end 707 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698