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

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

Issue 3159001: Mac tabpose: Add favicons and titles. (Closed)
Patch Set: comments 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
« no previous file with comments | « no previous file | 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')
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
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // Colors used by the layers. 54 // Colors used by the layers.
55 scoped_cftyperef<CGColorRef> gray_; 55 scoped_cftyperef<CGColorRef> gray_;
56 scoped_cftyperef<CGColorRef> darkBlue_; 56 scoped_cftyperef<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<NSArray> allThumbnailLayers_; 62 scoped_nsobject<NSArray> allThumbnailLayers_;
63 63
64 scoped_nsobject<NSArray> allFaviconLayers_;
65 scoped_nsobject<NSArray> allTitleLayers_;
66
64 // Manages the state of all layers. 67 // Manages the state of all layers.
65 scoped_ptr<tabpose::TileSet> tileSet_; 68 scoped_ptr<tabpose::TileSet> tileSet_;
66 } 69 }
67 70
68 // Shows a TabposeWindow on top of |parent|, with |rect| being the active area. 71 // Shows a TabposeWindow on top of |parent|, with |rect| being the active area.
69 // If |slomo| is YES, then the appearance animation is shown in slow motion. 72 // If |slomo| is YES, then the appearance animation is shown in slow motion.
70 // The window blocks all keyboard and mouse events and releases itself when 73 // The window blocks all keyboard and mouse events and releases itself when
71 // closed. 74 // closed.
72 + (id)openTabposeFor:(NSWindow*)parent 75 + (id)openTabposeFor:(NSWindow*)parent
73 rect:(NSRect)rect 76 rect:(NSRect)rect
74 slomo:(BOOL)slomo 77 slomo:(BOOL)slomo
75 tabStripModel:(TabStripModel*)tabStripModel; 78 tabStripModel:(TabStripModel*)tabStripModel;
76 @end 79 @end
77 80
78 #endif // CHROME_BROWSER_COCOA_TABPOSE_WINDOW_H_ 81 #endif // CHROME_BROWSER_COCOA_TABPOSE_WINDOW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/cocoa/tabpose_window.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698