summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/tabpose_window.h
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 23:44:24 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-09 23:44:24 +0000
commit13ad1c76c511fba1901c077886665b175c9de5f2 (patch)
tree4de64e29761b0676b2cc7ac66ed8e3640fb1343a /chrome/browser/cocoa/tabpose_window.h
parent5fe6316e730734e9fb2f60f0a8b861f8c1192420 (diff)
downloadchromium_src-13ad1c76c511fba1901c077886665b175c9de5f2.zip
chromium_src-13ad1c76c511fba1901c077886665b175c9de5f2.tar.gz
chromium_src-13ad1c76c511fba1901c077886665b175c9de5f2.tar.bz2
Mac: Highlight selected tile in tabpose.
BUG=50307 TEST=selected tile now has a blue border TBR=trungl Review URL: http://codereview.chromium.org/3140001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@55505 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tabpose_window.h')
-rw-r--r--chrome/browser/cocoa/tabpose_window.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/tabpose_window.h b/chrome/browser/cocoa/tabpose_window.h
index 3be0b32..bbcbf62 100644
--- a/chrome/browser/cocoa/tabpose_window.h
+++ b/chrome/browser/cocoa/tabpose_window.h
@@ -48,13 +48,18 @@ class TabStripModel;
// The layer showing the background layer. Covers the whole visible area.
CALayer* bgLayer_; // weak
+ // The layer drawn behind the currently selected tile.
+ CALayer* selectionHighlight_; // weak
+
+ // Colors used by the layers.
scoped_cftyperef<CGColorRef> gray_;
+ scoped_cftyperef<CGColorRef> darkBlue_;
TabStripModel* tabStripModel_; // weak
// Stores all preview layers. The order in here matches the order in
// the tabstrip model.
- scoped_nsobject<NSArray> allLayers_;
+ scoped_nsobject<NSArray> allThumbnailLayers_;
// Manages the state of all layers.
scoped_ptr<tabpose::TileSet> tileSet_;