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

Side by Side Diff: ios/chrome/browser/ui/tabs/tab_view.mm

Issue 2603363002: [ios] Deletes tab_util.h and tab_util.mm. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « ios/chrome/browser/ui/tabs/tab_util.mm ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 // Copyright 2012 The Chromium Authors. All rights reserved. 2 // Copyright 2012 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 #import "ios/chrome/browser/ui/tabs/tab_view.h" 6 #import "ios/chrome/browser/ui/tabs/tab_view.h"
7 7
8 #include "base/i18n/rtl.h" 8 #include "base/i18n/rtl.h"
9 #include "base/ios/ios_util.h" 9 #include "base/ios/ios_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/mac/objc_property_releaser.h" 11 #include "base/mac/objc_property_releaser.h"
12 #include "base/strings/sys_string_conversions.h" 12 #include "base/strings/sys_string_conversions.h"
13 #import "ios/chrome/browser/ui/colors/MDCPalette+CrAdditions.h" 13 #import "ios/chrome/browser/ui/colors/MDCPalette+CrAdditions.h"
14 #import "ios/chrome/browser/ui/commands/UIKit+ChromeExecuteCommand.h" 14 #import "ios/chrome/browser/ui/commands/UIKit+ChromeExecuteCommand.h"
15 #import "ios/chrome/browser/ui/commands/generic_chrome_command.h" 15 #import "ios/chrome/browser/ui/commands/generic_chrome_command.h"
16 #import "ios/chrome/browser/ui/image_util.h" 16 #import "ios/chrome/browser/ui/image_util.h"
17 #include "ios/chrome/browser/ui/rtl_geometry.h" 17 #include "ios/chrome/browser/ui/rtl_geometry.h"
18 #include "ios/chrome/browser/ui/tabs/tab_util.h"
19 #include "ios/chrome/browser/ui/ui_util.h" 18 #include "ios/chrome/browser/ui/ui_util.h"
20 #import "ios/chrome/browser/ui/uikit_ui_util.h" 19 #import "ios/chrome/browser/ui/uikit_ui_util.h"
21 #include "ios/chrome/grit/ios_strings.h" 20 #include "ios/chrome/grit/ios_strings.h"
22 #import "ios/third_party/material_components_ios/src/components/ActivityIndicato r/src/MaterialActivityIndicator.h" 21 #import "ios/third_party/material_components_ios/src/components/ActivityIndicato r/src/MaterialActivityIndicator.h"
23 #import "ios/third_party/material_components_ios/src/components/Typography/src/M aterialTypography.h" 22 #import "ios/third_party/material_components_ios/src/components/Typography/src/M aterialTypography.h"
24 #include "third_party/google_toolbox_for_mac/src/iPhone/GTMFadeTruncatingLabel.h " 23 #include "third_party/google_toolbox_for_mac/src/iPhone/GTMFadeTruncatingLabel.h "
25 #include "ui/base/l10n/l10n_util.h" 24 #include "ui/base/l10n/l10n_util.h"
26 #include "ui/base/l10n/l10n_util_mac.h" 25 #include "ui/base/l10n/l10n_util_mac.h"
27 #include "ui/base/resource/resource_bundle.h" 26 #include "ui/base/resource/resource_bundle.h"
28 #include "ui/gfx/image/image.h" 27 #include "ui/gfx/image/image.h"
(...skipping 342 matching lines...) Expand 10 before | Expand all | Expand 10 after
371 [_closeButton setImage:normalImage forState:UIControlStateNormal]; 370 [_closeButton setImage:normalImage forState:UIControlStateNormal];
372 [_closeButton setImage:pressedImage forState:UIControlStateHighlighted]; 371 [_closeButton setImage:pressedImage forState:UIControlStateHighlighted];
373 } 372 }
374 373
375 - (UIImage*)defaultFaviconImage { 374 - (UIImage*)defaultFaviconImage {
376 return self.incognitoStyle ? [UIImage imageNamed:@"default_favicon_incognito"] 375 return self.incognitoStyle ? [UIImage imageNamed:@"default_favicon_incognito"]
377 : [UIImage imageNamed:@"default_favicon"]; 376 : [UIImage imageNamed:@"default_favicon"];
378 } 377 }
379 378
380 @end 379 @end
OLDNEW
« no previous file with comments | « ios/chrome/browser/ui/tabs/tab_util.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698