| 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_VIEWS_TAB_ICON_VIEW_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_ICON_VIEW_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_TAB_ICON_VIEW_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TAB_ICON_VIEW_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "views/view.h" | 10 #include "ui/views/view.h" |
| 11 | 11 |
| 12 class SkBitmap; | 12 class SkBitmap; |
| 13 | 13 |
| 14 //////////////////////////////////////////////////////////////////////////////// | 14 //////////////////////////////////////////////////////////////////////////////// |
| 15 // | 15 // |
| 16 // A view to display a tab favicon or a throbber. | 16 // A view to display a tab favicon or a throbber. |
| 17 // | 17 // |
| 18 //////////////////////////////////////////////////////////////////////////////// | 18 //////////////////////////////////////////////////////////////////////////////// |
| 19 class TabIconView : public views::View { | 19 class TabIconView : public views::View { |
| 20 public: | 20 public: |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 bool is_light_; | 64 bool is_light_; |
| 65 | 65 |
| 66 // Current frame of the throbber being painted. This is only used if | 66 // Current frame of the throbber being painted. This is only used if |
| 67 // throbber_running_ is true. | 67 // throbber_running_ is true. |
| 68 int throbber_frame_; | 68 int throbber_frame_; |
| 69 | 69 |
| 70 DISALLOW_COPY_AND_ASSIGN(TabIconView); | 70 DISALLOW_COPY_AND_ASSIGN(TabIconView); |
| 71 }; | 71 }; |
| 72 | 72 |
| 73 #endif // CHROME_BROWSER_UI_VIEWS_TAB_ICON_VIEW_H_ | 73 #endif // CHROME_BROWSER_UI_VIEWS_TAB_ICON_VIEW_H_ |
| OLD | NEW |