OLD | NEW |
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 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_GTK_TABS_TAB_RENDERER_GTK_H_ | 5 #ifndef CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ |
6 #define CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ | 6 #define CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ |
7 | 7 |
8 #include <gtk/gtk.h> | 8 #include <gtk/gtk.h> |
9 | 9 |
10 #include "app/animation.h" | 10 #include "app/animation.h" |
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 gfx::Rect title_bounds_; | 200 gfx::Rect title_bounds_; |
201 gfx::Rect close_button_bounds_; | 201 gfx::Rect close_button_bounds_; |
202 | 202 |
203 TabData data_; | 203 TabData data_; |
204 | 204 |
205 static TabImage tab_active_; | 205 static TabImage tab_active_; |
206 static TabImage tab_inactive_; | 206 static TabImage tab_inactive_; |
207 static TabImage tab_alpha; | 207 static TabImage tab_alpha; |
208 static TabImage tab_hover_; | 208 static TabImage tab_hover_; |
209 | 209 |
210 static ChromeFont* title_font_; | 210 static gfx::Font* title_font_; |
211 static int title_font_height_; | 211 static int title_font_height_; |
212 | 212 |
213 static SkBitmap* download_icon_; | 213 static SkBitmap* download_icon_; |
214 static int download_icon_width_; | 214 static int download_icon_width_; |
215 static int download_icon_height_; | 215 static int download_icon_height_; |
216 | 216 |
217 static int close_button_width_; | 217 static int close_button_width_; |
218 static int close_button_height_; | 218 static int close_button_height_; |
219 | 219 |
220 // The GtkDrawingArea we draw the tab on. | 220 // The GtkDrawingArea we draw the tab on. |
(...skipping 26 matching lines...) Expand all Loading... |
247 LoadingAnimation loading_animation_; | 247 LoadingAnimation loading_animation_; |
248 | 248 |
249 // TODO(jhawkins): If the theme is changed after the tab is created, we'll | 249 // TODO(jhawkins): If the theme is changed after the tab is created, we'll |
250 // still render the old theme for this tab. | 250 // still render the old theme for this tab. |
251 ThemeProvider* theme_provider_; | 251 ThemeProvider* theme_provider_; |
252 | 252 |
253 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk); | 253 DISALLOW_COPY_AND_ASSIGN(TabRendererGtk); |
254 }; | 254 }; |
255 | 255 |
256 #endif // CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ | 256 #endif // CHROME_BROWSER_GTK_TABS_TAB_RENDERER_GTK_H_ |
OLD | NEW |