Index: chrome/browser/ui/touch/tabs/touch_tab.h |
diff --git a/chrome/browser/ui/touch/tabs/touch_tab.h b/chrome/browser/ui/touch/tabs/touch_tab.h |
index b4ff409ed756abae2066c2952e6425e6a214d2d6..b3c36bcb5bf0ca131e6e8f6d3b55502630698d1f 100644 |
--- a/chrome/browser/ui/touch/tabs/touch_tab.h |
+++ b/chrome/browser/ui/touch/tabs/touch_tab.h |
@@ -34,6 +34,14 @@ class TouchTab : public BaseTab { |
background_offset_ = offset; |
} |
+ // get and set touch icon |
+ void set_touch_icon(const SkBitmap& bitmap) { |
+ touch_icon_ = bitmap; |
+ } |
+ const SkBitmap& get_touch_icon() { |
sky
2011/06/16 15:43:41
For getters like this the name should match the fi
Emmanuel Saint-loubert-Bié
2011/06/17 00:01:44
Done.
|
+ return touch_icon_; |
+ } |
+ |
// Returns the minimum possible size of a single unselected Tab. |
static gfx::Size GetMinimumUnselectedSize(); |
@@ -74,6 +82,9 @@ class TouchTab : public BaseTab { |
// The offset used to paint the inactive background image. |
gfx::Point background_offset_; |
+ // The touch icon found |
+ SkBitmap touch_icon_; |
+ |
// 'l' is for left |
// 'c' is for center |
// 'r' is for right |