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

Side by Side Diff: chrome/browser/cocoa/tab_view.mm

Issue 3028035: Fix tab_view.mm build break in 472 branch. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/472/src/
Patch Set: Created 10 years, 4 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
« no previous file with comments | « no previous file | 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 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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/cocoa/tab_view.h" 5 #import "chrome/browser/cocoa/tab_view.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #import "base/mac_util.h" 8 #import "base/mac_util.h"
9 #include "base/nsimage_cache_mac.h" 9 #include "base/nsimage_cache_mac.h"
10 #include "base/scoped_cftyperef.h" 10 #include "base/scoped_cftyperef.h"
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 if ([child isKindOfClass:[NSButtonCell class]]) 842 if ([child isKindOfClass:[NSButtonCell class]])
843 [okChildren addObject:child]; 843 [okChildren addObject:child];
844 } 844 }
845 845
846 return okChildren; 846 return okChildren;
847 } 847 }
848 848
849 return [super accessibilityAttributeValue:attribute]; 849 return [super accessibilityAttributeValue:attribute];
850 } 850 }
851 851
852 - (ViewID)viewID {
853 return VIEW_ID_TAB;
854 }
855
856 @end // @implementation TabView 852 @end // @implementation TabView
857 853
858 @implementation TabView (TabControllerInterface) 854 @implementation TabView (TabControllerInterface)
859 855
860 - (void)setController:(TabController*)controller { 856 - (void)setController:(TabController*)controller {
861 controller_ = controller; 857 controller_ = controller;
862 } 858 }
863 859
864 @end // @implementation TabView (TabControllerInterface) 860 @end // @implementation TabView (TabControllerInterface)
865 861
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 controlPoint1:NSMakePoint(topRight.x + bottomControlPointInset, 1032 controlPoint1:NSMakePoint(topRight.x + bottomControlPointInset,
1037 topRight.y) 1033 topRight.y)
1038 controlPoint2:NSMakePoint(bottomRight.x - baseControlPointOutset, 1034 controlPoint2:NSMakePoint(bottomRight.x - baseControlPointOutset,
1039 bottomRight.y)]; 1035 bottomRight.y)];
1040 [path lineToPoint:NSMakePoint(bottomRight.x + 1, bottomRight.y)]; 1036 [path lineToPoint:NSMakePoint(bottomRight.x + 1, bottomRight.y)];
1041 [path lineToPoint:NSMakePoint(bottomRight.x + 1, bottomRight.y - 2)]; 1037 [path lineToPoint:NSMakePoint(bottomRight.x + 1, bottomRight.y - 2)];
1042 return path; 1038 return path;
1043 } 1039 }
1044 1040
1045 @end // @implementation TabView(Private) 1041 @end // @implementation TabView(Private)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698