OLD | NEW |
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 #include "chrome/browser/views/tabs/tab.h" | 5 #include "chrome/browser/views/tabs/tab.h" |
6 | 6 |
7 #include <limits> | 7 #include <limits> |
8 | 8 |
9 #include "app/multi_animation.h" | 9 #include "app/multi_animation.h" |
10 #include "app/resource_bundle.h" | 10 #include "app/resource_bundle.h" |
11 #include "app/slide_animation.h" | 11 #include "app/slide_animation.h" |
12 #include "app/throb_animation.h" | 12 #include "app/throb_animation.h" |
13 #include "base/utf_string_conversions.h" | 13 #include "base/utf_string_conversions.h" |
14 #include "chrome/browser/browser_theme_provider.h" | |
15 #include "chrome/browser/defaults.h" | 14 #include "chrome/browser/defaults.h" |
| 15 #include "chrome/browser/themes/browser_theme_provider.h" |
16 #include "gfx/canvas_skia.h" | 16 #include "gfx/canvas_skia.h" |
17 #include "gfx/favicon_size.h" | 17 #include "gfx/favicon_size.h" |
18 #include "gfx/font.h" | 18 #include "gfx/font.h" |
19 #include "gfx/path.h" | 19 #include "gfx/path.h" |
20 #include "gfx/skbitmap_operations.h" | 20 #include "gfx/skbitmap_operations.h" |
21 #include "grit/app_resources.h" | 21 #include "grit/app_resources.h" |
22 #include "grit/generated_resources.h" | 22 #include "grit/generated_resources.h" |
23 #include "grit/theme_resources.h" | 23 #include "grit/theme_resources.h" |
24 #include "third_party/skia/include/effects/SkGradientShader.h" | 24 #include "third_party/skia/include/effects/SkGradientShader.h" |
25 #include "views/controls/button/image_button.h" | 25 #include "views/controls/button/image_button.h" |
(...skipping 577 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
603 tab_active.image_r = rb.GetBitmapNamed(IDR_TAB_ACTIVE_RIGHT); | 603 tab_active.image_r = rb.GetBitmapNamed(IDR_TAB_ACTIVE_RIGHT); |
604 tab_active.l_width = tab_active.image_l->width(); | 604 tab_active.l_width = tab_active.image_l->width(); |
605 tab_active.r_width = tab_active.image_r->width(); | 605 tab_active.r_width = tab_active.image_r->width(); |
606 | 606 |
607 tab_inactive.image_l = rb.GetBitmapNamed(IDR_TAB_INACTIVE_LEFT); | 607 tab_inactive.image_l = rb.GetBitmapNamed(IDR_TAB_INACTIVE_LEFT); |
608 tab_inactive.image_c = rb.GetBitmapNamed(IDR_TAB_INACTIVE_CENTER); | 608 tab_inactive.image_c = rb.GetBitmapNamed(IDR_TAB_INACTIVE_CENTER); |
609 tab_inactive.image_r = rb.GetBitmapNamed(IDR_TAB_INACTIVE_RIGHT); | 609 tab_inactive.image_r = rb.GetBitmapNamed(IDR_TAB_INACTIVE_RIGHT); |
610 tab_inactive.l_width = tab_inactive.image_l->width(); | 610 tab_inactive.l_width = tab_inactive.image_l->width(); |
611 tab_inactive.r_width = tab_inactive.image_r->width(); | 611 tab_inactive.r_width = tab_inactive.image_r->width(); |
612 } | 612 } |
OLD | NEW |