OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_TOUCH_TABS_TOUCH_TAB_H_ | 5 #ifndef CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_H_ |
6 #define CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_H_ | 6 #define CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
11 #include "base/scoped_ptr.h" | 11 #include "base/scoped_ptr.h" |
12 #include "chrome/browser/ui/views/tabs/base_tab.h" | 12 #include "chrome/browser/ui/views/tabs/base_tab.h" |
13 #include "gfx/point.h" | 13 #include "ui/gfx/point.h" |
14 | 14 |
15 | 15 |
16 /////////////////////////////////////////////////////////////////////////////// | 16 /////////////////////////////////////////////////////////////////////////////// |
17 // | 17 // |
18 // TouchTab | 18 // TouchTab |
19 // | 19 // |
20 // A View that renders a TouchTab in a TouchTabStrip | 20 // A View that renders a TouchTab in a TouchTabStrip |
21 // | 21 // |
22 /////////////////////////////////////////////////////////////////////////////// | 22 /////////////////////////////////////////////////////////////////////////////// |
23 class TouchTab : public BaseTab { | 23 class TouchTab : public BaseTab { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 int y_offset; | 82 int y_offset; |
83 }; | 83 }; |
84 static TouchTabImage tab_active; | 84 static TouchTabImage tab_active; |
85 static TouchTabImage tab_inactive; | 85 static TouchTabImage tab_inactive; |
86 static TouchTabImage tab_alpha; | 86 static TouchTabImage tab_alpha; |
87 | 87 |
88 DISALLOW_COPY_AND_ASSIGN(TouchTab); | 88 DISALLOW_COPY_AND_ASSIGN(TouchTab); |
89 }; | 89 }; |
90 | 90 |
91 #endif // CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_H_ | 91 #endif // CHROME_BROWSER_UI_TOUCH_TABS_TOUCH_TAB_H_ |
OLD | NEW |