| 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 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_DATA_H_ | 5 #ifndef CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_DATA_H_ |
| 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_DATA_H_ | 6 #define CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_DATA_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | |
| 10 | |
| 11 #include "base/string16.h" | 9 #include "base/string16.h" |
| 12 #include "third_party/skia/include/core/SkBitmap.h" | 10 #include "third_party/skia/include/core/SkBitmap.h" |
| 13 | 11 |
| 14 // Wraps the state needed by the renderers. | 12 // Wraps the state needed by the renderers. |
| 15 struct TabRendererData { | 13 struct TabRendererData { |
| 16 // Different types of network activity for a tab. The NetworkState of a tab | 14 // Different types of network activity for a tab. The NetworkState of a tab |
| 17 // may be used to alter the UI (e.g. show different kinds of loading | 15 // may be used to alter the UI (e.g. show different kinds of loading |
| 18 // animations). | 16 // animations). |
| 19 enum NetworkState { | 17 enum NetworkState { |
| 20 NETWORK_STATE_NONE, // no network activity. | 18 NETWORK_STATE_NONE, // no network activity. |
| (...skipping 20 matching lines...) Expand all Loading... |
| 41 bool crashed; | 39 bool crashed; |
| 42 bool off_the_record; | 40 bool off_the_record; |
| 43 bool show_icon; | 41 bool show_icon; |
| 44 bool mini; | 42 bool mini; |
| 45 bool blocked; | 43 bool blocked; |
| 46 bool phantom; | 44 bool phantom; |
| 47 bool app; | 45 bool app; |
| 48 }; | 46 }; |
| 49 | 47 |
| 50 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_DATA_H_ | 48 #endif // CHROME_BROWSER_VIEWS_TABS_TAB_RENDERER_DATA_H_ |
| OLD | NEW |