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

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

Issue 5961007: Move nsimage_cache from base to app/mac. Use the app::mac namespace. Update c... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years 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
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/ui/cocoa/tab_view.h" 5 #import "chrome/browser/ui/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/mac/scoped_cftyperef.h" 9 #include "base/mac/scoped_cftyperef.h"
10 #include "base/nsimage_cache_mac.h"
11 #include "chrome/browser/accessibility/browser_accessibility_state.h" 10 #include "chrome/browser/accessibility/browser_accessibility_state.h"
12 #include "chrome/browser/themes/browser_theme_provider.h" 11 #include "chrome/browser/themes/browser_theme_provider.h"
13 #import "chrome/browser/ui/cocoa/tab_controller.h" 12 #import "chrome/browser/ui/cocoa/tab_controller.h"
14 #import "chrome/browser/ui/cocoa/tab_window_controller.h" 13 #import "chrome/browser/ui/cocoa/tab_window_controller.h"
15 #import "chrome/browser/ui/cocoa/themed_window.h" 14 #import "chrome/browser/ui/cocoa/themed_window.h"
16 #import "chrome/browser/ui/cocoa/view_id_util.h" 15 #import "chrome/browser/ui/cocoa/view_id_util.h"
17 #include "grit/theme_resources.h" 16 #include "grit/theme_resources.h"
18 17
19 namespace { 18 namespace {
20 19
(...skipping 1027 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 controlPoint1:NSMakePoint(topRight.x + bottomControlPointInset, 1047 controlPoint1:NSMakePoint(topRight.x + bottomControlPointInset,
1049 topRight.y) 1048 topRight.y)
1050 controlPoint2:NSMakePoint(bottomRight.x - baseControlPointOutset, 1049 controlPoint2:NSMakePoint(bottomRight.x - baseControlPointOutset,
1051 bottomRight.y)]; 1050 bottomRight.y)];
1052 [path lineToPoint:NSMakePoint(bottomRight.x + 1, bottomRight.y)]; 1051 [path lineToPoint:NSMakePoint(bottomRight.x + 1, bottomRight.y)];
1053 [path lineToPoint:NSMakePoint(bottomRight.x + 1, bottomRight.y - 2)]; 1052 [path lineToPoint:NSMakePoint(bottomRight.x + 1, bottomRight.y - 2)];
1054 return path; 1053 return path;
1055 } 1054 }
1056 1055
1057 @end // @implementation TabView(Private) 1056 @end // @implementation TabView(Private)
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/tab_strip_controller.mm ('k') | chrome/browser/ui/cocoa/toolbar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698