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

Side by Side Diff: ios/chrome/browser/ui/stack_view/card_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 | « no previous file | ios/chrome/browser/ui/tabs/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 // For performance reasons, the composition of the card frame is broken up into 5 // For performance reasons, the composition of the card frame is broken up into
6 // four pieces. The overall structure of the CardView is: 6 // four pieces. The overall structure of the CardView is:
7 // - CardView 7 // - CardView
8 // - Snapshot (UIImageView) 8 // - Snapshot (UIImageView)
9 // - FrameTop (UIImageView) 9 // - FrameTop (UIImageView)
10 // - FrameLeft (UIImageView) 10 // - FrameLeft (UIImageView)
(...skipping 16 matching lines...) Expand all
27 27
28 #import "base/mac/foundation_util.h" 28 #import "base/mac/foundation_util.h"
29 #import "base/mac/objc_property_releaser.h" 29 #import "base/mac/objc_property_releaser.h"
30 #import "base/mac/scoped_nsobject.h" 30 #import "base/mac/scoped_nsobject.h"
31 #include "components/strings/grit/components_strings.h" 31 #include "components/strings/grit/components_strings.h"
32 #import "ios/chrome/browser/ui/animation_util.h" 32 #import "ios/chrome/browser/ui/animation_util.h"
33 #import "ios/chrome/browser/ui/reversed_animation.h" 33 #import "ios/chrome/browser/ui/reversed_animation.h"
34 #import "ios/chrome/browser/ui/rtl_geometry.h" 34 #import "ios/chrome/browser/ui/rtl_geometry.h"
35 #import "ios/chrome/browser/ui/stack_view/close_button.h" 35 #import "ios/chrome/browser/ui/stack_view/close_button.h"
36 #import "ios/chrome/browser/ui/stack_view/title_label.h" 36 #import "ios/chrome/browser/ui/stack_view/title_label.h"
37 #import "ios/chrome/browser/ui/tabs/tab_util.h"
38 #import "ios/chrome/browser/ui/ui_util.h" 37 #import "ios/chrome/browser/ui/ui_util.h"
39 #import "ios/chrome/common/material_timing.h" 38 #import "ios/chrome/common/material_timing.h"
40 #import "ios/third_party/material_components_ios/src/components/Typography/src/M aterialTypography.h" 39 #import "ios/third_party/material_components_ios/src/components/Typography/src/M aterialTypography.h"
41 #include "ui/base/l10n/l10n_util.h" 40 #include "ui/base/l10n/l10n_util.h"
42 #include "ui/base/resource/resource_bundle.h" 41 #include "ui/base/resource/resource_bundle.h"
43 #include "ui/gfx/favicon_size.h" 42 #include "ui/gfx/favicon_size.h"
44 #include "ui/gfx/image/image.h" 43 #include "ui/gfx/image/image.h"
45 #import "ui/gfx/ios/uikit_util.h" 44 #import "ui/gfx/ios/uikit_util.h"
46 45
47 using ios::material::TimingFunction; 46 using ios::material::TimingFunction;
(...skipping 979 matching lines...) Expand 10 before | Expand all | Expand 10 after
1027 DCHECK(!target || [target respondsToSelector:action]); 1026 DCHECK(!target || [target respondsToSelector:action]);
1028 _accessibilityTarget = target; 1027 _accessibilityTarget = target;
1029 _accessibilityAction = action; 1028 _accessibilityAction = action;
1030 } 1029 }
1031 1030
1032 - (void)elementDidBecomeFocused:(id)sender { 1031 - (void)elementDidBecomeFocused:(id)sender {
1033 [_accessibilityTarget performSelector:_accessibilityAction withObject:sender]; 1032 [_accessibilityTarget performSelector:_accessibilityAction withObject:sender];
1034 } 1033 }
1035 1034
1036 @end 1035 @end
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/ui/tabs/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698