OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
8 #include "base/process_util.h" | 8 #include "base/process_util.h" |
9 #include "base/string16.h" | 9 #include "base/string16.h" |
10 #include "chrome/browser/ui/search/search_types.h" | 10 #include "chrome/browser/ui/search/search_types.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 string16 title; | 44 string16 title; |
45 GURL url; | 45 GURL url; |
46 bool loading; | 46 bool loading; |
47 base::TerminationStatus crashed_status; | 47 base::TerminationStatus crashed_status; |
48 bool incognito; | 48 bool incognito; |
49 bool show_icon; | 49 bool show_icon; |
50 bool mini; | 50 bool mini; |
51 bool blocked; | 51 bool blocked; |
52 bool app; | 52 bool app; |
53 chrome::search::Mode::Type mode; | 53 chrome::search::Mode::Type mode; |
54 // Only applicable if |mode| is chrome::search::Mode::SEARCH. | 54 double gradient_background_opacity; |
55 chrome::search::ToolbarSearchAnimator::BackgroundState background_state; | |
56 // Only applicable if |background_state| is or a combination including | |
57 // chrome::search::ToolbarSearchAnimator::BACKGROUND_STATE_SHOW_NEW; | |
58 double search_background_opacity; | |
59 }; | 55 }; |
60 | 56 |
61 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_ | 57 #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_ |
OLD | NEW |