Disable view source for Developer Tools.
[chromium-blink-merge.git] / chrome / browser / ui / views / tab_icon_view_model.h
blobae3ab2b1883125dd8ccf338f0bea00269589a3df
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_
8 namespace gfx {
9 class ImageSkia;
12 namespace chrome {
14 // Classes implement this interface to provide state for the TabIconView.
15 class TabIconViewModel {
16 public:
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;
23 protected:
24 virtual ~TabIconViewModel() {}
27 } // namespace chrome
29 #endif // CHROME_BROWSER_UI_VIEWS_TAB_ICON_VIEW_MODEL_H_