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

Side by Side Diff: chrome/browser/cocoa/tabpose_window.h

Issue 3855001: Move scoped_cftyperef from base to base/mac, use the new namespace, and name ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 2 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 | « chrome/browser/cocoa/tab_view.mm ('k') | chrome/browser/cocoa/tabpose_window.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
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 #ifndef CHROME_BROWSER_COCOA_TABPOSE_WINDOW_H_ 5 #ifndef CHROME_BROWSER_COCOA_TABPOSE_WINDOW_H_
6 #define CHROME_BROWSER_COCOA_TABPOSE_WINDOW_H_ 6 #define CHROME_BROWSER_COCOA_TABPOSE_WINDOW_H_
7 #pragma once 7 #pragma once
8 8
9 #import <Cocoa/Cocoa.h> 9 #import <Cocoa/Cocoa.h>
10 10
11 #include "base/scoped_cftyperef.h" 11 #include "base/mac/scoped_cftyperef.h"
12 12
13 #include "base/scoped_nsobject.h" 13 #include "base/scoped_nsobject.h"
14 #include "base/scoped_ptr.h" 14 #include "base/scoped_ptr.h"
15 #include "base/scoped_vector.h" 15 #include "base/scoped_vector.h"
16 16
17 namespace tabpose { 17 namespace tabpose {
18 18
19 class Tile; 19 class Tile;
20 class TileSet; 20 class TileSet;
21 21
(...skipping 23 matching lines...) Expand all
45 // The root layer added to the content view. Covers the whole window. 45 // The root layer added to the content view. Covers the whole window.
46 CALayer* rootLayer_; // weak 46 CALayer* rootLayer_; // weak
47 47
48 // The layer showing the background layer. Covers the whole visible area. 48 // The layer showing the background layer. Covers the whole visible area.
49 CALayer* bgLayer_; // weak 49 CALayer* bgLayer_; // weak
50 50
51 // The layer drawn behind the currently selected tile. 51 // The layer drawn behind the currently selected tile.
52 CALayer* selectionHighlight_; // weak 52 CALayer* selectionHighlight_; // weak
53 53
54 // Colors used by the layers. 54 // Colors used by the layers.
55 scoped_cftyperef<CGColorRef> gray_; 55 base::mac::ScopedCFTypeRef<CGColorRef> gray_;
56 scoped_cftyperef<CGColorRef> darkBlue_; 56 base::mac::ScopedCFTypeRef<CGColorRef> darkBlue_;
57 57
58 TabStripModel* tabStripModel_; // weak 58 TabStripModel* tabStripModel_; // weak
59 59
60 // Stores all preview layers. The order in here matches the order in 60 // Stores all preview layers. The order in here matches the order in
61 // the tabstrip model. 61 // the tabstrip model.
62 scoped_nsobject<NSMutableArray> allThumbnailLayers_; 62 scoped_nsobject<NSMutableArray> allThumbnailLayers_;
63 63
64 scoped_nsobject<NSMutableArray> allFaviconLayers_; 64 scoped_nsobject<NSMutableArray> allFaviconLayers_;
65 scoped_nsobject<NSMutableArray> allTitleLayers_; 65 scoped_nsobject<NSMutableArray> allTitleLayers_;
66 66
(...skipping 18 matching lines...) Expand all
85 tabStripModel:(TabStripModel*)tabStripModel; 85 tabStripModel:(TabStripModel*)tabStripModel;
86 @end 86 @end
87 87
88 @interface TabposeWindow (TestingAPI) 88 @interface TabposeWindow (TestingAPI)
89 - (void)selectTileAtIndexWithoutAnimation:(int)newIndex; 89 - (void)selectTileAtIndexWithoutAnimation:(int)newIndex;
90 - (NSUInteger)thumbnailLayerCount; 90 - (NSUInteger)thumbnailLayerCount;
91 - (int)selectedIndex; 91 - (int)selectedIndex;
92 @end 92 @end
93 93
94 #endif // CHROME_BROWSER_COCOA_TABPOSE_WINDOW_H_ 94 #endif // CHROME_BROWSER_COCOA_TABPOSE_WINDOW_H_
OLDNEW
« no previous file with comments | « chrome/browser/cocoa/tab_view.mm ('k') | chrome/browser/cocoa/tabpose_window.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698