Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Side by Side Diff: chrome/browser/views/tabs/side_tab.h

Issue 1132006: Move app/gfx/canvas and app/gfx/font to gfx/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_SIDE_TAB_H_ 5 #ifndef CHROME_BROWSER_VIEWS_TABS_SIDE_TAB_H_
6 #define CHROME_BROWSER_VIEWS_TABS_SIDE_TAB_H_ 6 #define CHROME_BROWSER_VIEWS_TABS_SIDE_TAB_H_
7 7
8 #include "app/gfx/font.h"
9 #include "app/slide_animation.h" 8 #include "app/slide_animation.h"
10 #include "chrome/browser/views/tabs/side_tab_strip_model.h" 9 #include "chrome/browser/views/tabs/side_tab_strip_model.h"
11 #include "third_party/skia/include/core/SkBitmap.h" 10 #include "third_party/skia/include/core/SkBitmap.h"
11 #include "gfx/font.h"
12 #include "views/controls/button/button.h" 12 #include "views/controls/button/button.h"
13 #include "views/view.h" 13 #include "views/view.h"
14 14
15 class SideTab; 15 class SideTab;
16 16
17 class SideTabModel { 17 class SideTabModel {
18 public: 18 public:
19 // Returns metadata about the specified |tab|. 19 // Returns metadata about the specified |tab|.
20 virtual string16 GetTitle(SideTab* tab) const = 0; 20 virtual string16 GetTitle(SideTab* tab) const = 0;
21 virtual SkBitmap GetIcon(SideTab* tab) const = 0; 21 virtual SkBitmap GetIcon(SideTab* tab) const = 0;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 // The current network state for this tab. 85 // The current network state for this tab.
86 SideTabStripModel::NetworkState current_state_; 86 SideTabStripModel::NetworkState current_state_;
87 87
88 // The current index into the Animation image strip. 88 // The current index into the Animation image strip.
89 int loading_animation_frame_; 89 int loading_animation_frame_;
90 90
91 DISALLOW_COPY_AND_ASSIGN(SideTab); 91 DISALLOW_COPY_AND_ASSIGN(SideTab);
92 }; 92 };
93 93
94 #endif // CHROME_BROWSER_VIEWS_TABS_SIDE_TAB_H_ 94 #endif // CHROME_BROWSER_VIEWS_TABS_SIDE_TAB_H_
OLDNEW
« no previous file with comments | « chrome/browser/views/tabs/native_view_photobooth_win.cc ('k') | chrome/browser/views/tabs/side_tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698