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_TABS_TAB_RENDERER_DATA_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_ |
6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "base/process_util.h" | 9 #include "base/process_util.h" |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
(...skipping 24 matching lines...) Expand all Loading... |
35 } | 35 } |
36 | 36 |
37 // Returns true if the TabRendererData is same as given |data|. Two favicons | 37 // Returns true if the TabRendererData is same as given |data|. Two favicons |
38 // are considered equals if two SkBitmaps point to the same SkPixelRef object. | 38 // are considered equals if two SkBitmaps point to the same SkPixelRef object. |
39 bool Equals(const TabRendererData& data); | 39 bool Equals(const TabRendererData& data); |
40 | 40 |
41 SkBitmap favicon; | 41 SkBitmap favicon; |
42 NetworkState network_state; | 42 NetworkState network_state; |
43 string16 title; | 43 string16 title; |
44 GURL url; | 44 GURL url; |
45 // Identifies the number of chars at the beginning of the string | |
46 // that are common to other tab titles. | |
47 size_t common_prefix_length; | |
48 bool loading; | 45 bool loading; |
49 base::TerminationStatus crashed_status; | 46 base::TerminationStatus crashed_status; |
50 bool incognito; | 47 bool incognito; |
51 bool show_icon; | 48 bool show_icon; |
52 bool mini; | 49 bool mini; |
53 bool blocked; | 50 bool blocked; |
54 bool app; | 51 bool app; |
55 }; | 52 }; |
56 | 53 |
57 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_ | 54 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_ |
OLD | NEW |