| 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/side_tab.h" | 5 #include "chrome/browser/views/tabs/side_tab.h" |
| 6 | 6 |
| 7 #include "app/gfx/canvas.h" | |
| 8 #include "app/resource_bundle.h" | 7 #include "app/resource_bundle.h" |
| 9 #include "app/theme_provider.h" | 8 #include "app/theme_provider.h" |
| 10 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
| 10 #include "gfx/canvas.h" |
| 11 #include "gfx/path.h" | 11 #include "gfx/path.h" |
| 12 #include "gfx/skia_util.h" | 12 #include "gfx/skia_util.h" |
| 13 #include "grit/app_resources.h" | 13 #include "grit/app_resources.h" |
| 14 #include "grit/theme_resources.h" | 14 #include "grit/theme_resources.h" |
| 15 #include "views/controls/button/image_button.h" | 15 #include "views/controls/button/image_button.h" |
| 16 | 16 |
| 17 namespace { | 17 namespace { |
| 18 const int kVerticalTabHeight = 27; | 18 const int kVerticalTabHeight = 27; |
| 19 const int kIconSize = 16; | 19 const int kIconSize = 16; |
| 20 const int kIconTitleSpacing = 4; | 20 const int kIconTitleSpacing = 4; |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 waiting_animation_frame_count = | 250 waiting_animation_frame_count = |
| 251 waiting_animation_frames->width() / waiting_animation_frames->height(); | 251 waiting_animation_frames->width() / waiting_animation_frames->height(); |
| 252 | 252 |
| 253 waiting_to_loading_frame_count_ratio = | 253 waiting_to_loading_frame_count_ratio = |
| 254 waiting_animation_frame_count / loading_animation_frame_count; | 254 waiting_animation_frame_count / loading_animation_frame_count; |
| 255 | 255 |
| 256 initialized = true; | 256 initialized = true; |
| 257 } | 257 } |
| 258 } | 258 } |
| 259 | 259 |
| OLD | NEW |