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
3 // found in the LICENSE file.
5 #ifndef CHROME_BROWSER_UI_VIEWS_TAB_ICON_VIEW_MODEL_H_
6 #define CHROME_BROWSER_UI_VIEWS_TAB_ICON_VIEW_MODEL_H_
14 // Classes implement this interface to provide state for the TabIconView.
15 class TabIconViewModel
{
17 // Returns true if the TabIconView should show a loading animation.
18 virtual bool ShouldTabIconViewAnimate() const = 0;
20 // Returns the favicon to display in the icon view
21 virtual gfx::ImageSkia
GetFaviconForTabIconView() = 0;
24 virtual ~TabIconViewModel() {}
29 #endif // CHROME_BROWSER_UI_VIEWS_TAB_ICON_VIEW_MODEL_H_