Chromium Code Reviews| Index: chrome/browser/ui/views/tabs/tab_renderer_data.h |
| diff --git a/chrome/browser/ui/views/tabs/tab_renderer_data.h b/chrome/browser/ui/views/tabs/tab_renderer_data.h |
| index ce605ea552a2ba2671a6c3470daf2806414a30d9..2bf91ef3c74d5fd2e0e2896592cfdb23e5118304 100644 |
| --- a/chrome/browser/ui/views/tabs/tab_renderer_data.h |
| +++ b/chrome/browser/ui/views/tabs/tab_renderer_data.h |
| @@ -8,6 +8,8 @@ |
| #include "base/process_util.h" |
| #include "base/string16.h" |
| +#include "chrome/browser/ui/search/search_types.h" |
| +#include "chrome/browser/ui/search/toolbar_search_animator.h" |
| #include "googleurl/src/gurl.h" |
| #include "third_party/skia/include/core/SkBitmap.h" |
| @@ -49,6 +51,13 @@ struct TabRendererData { |
| bool mini; |
| bool blocked; |
| bool app; |
| + bool search_enabled; |
|
sky
2012/06/26 17:11:27
search_enabled shouldn't be per tab. Put a method
kuan
2012/06/26 23:25:49
Done. i assume u meant add the method all the way
sky
2012/06/27 00:06:17
I was thinking you would pass the state into the T
kuan
2012/06/27 00:50:03
Done.
|
| + chrome::search::Mode::Type mode; |
| + // Only applicable if |mode| is chrome::search::Mode::SEARCH. |
| + chrome::search::ToolbarSearchAnimator::BackgroundState background_state; |
| + // Only applicable if |background_state| is or a combination including |
| + // chrome::search::ToolbarSearchAnimator::BACKGROUND_STATE_SHOW_NEW; |
| + int new_background_opacity; |
| }; |
| #endif // CHROME_BROWSER_UI_VIEWS_TABS_TAB_RENDERER_DATA_H_ |