OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_SIDEBAR_SIDEBAR_CONTAINER_H_ | 5 #ifndef CHROME_BROWSER_SIDEBAR_SIDEBAR_CONTAINER_H_ |
6 #define CHROME_BROWSER_SIDEBAR_SIDEBAR_CONTAINER_H_ | 6 #define CHROME_BROWSER_SIDEBAR_SIDEBAR_CONTAINER_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/string16.h" | 12 #include "base/string16.h" |
13 #include "chrome/browser/extensions/image_loading_tracker.h" | 13 #include "chrome/browser/extensions/image_loading_tracker.h" |
14 #include "content/browser/tab_contents/tab_contents_delegate.h" | 14 #include "content/browser/tab_contents/tab_contents_delegate.h" |
15 | 15 |
16 class BrowserWindow; | |
17 class Profile; | |
18 class RenderViewHost; | |
19 class SkBitmap; | 16 class SkBitmap; |
20 class TabContents; | 17 class TabContents; |
21 | 18 |
22 /////////////////////////////////////////////////////////////////////////////// | 19 /////////////////////////////////////////////////////////////////////////////// |
23 // SidebarContainer | 20 // SidebarContainer |
24 // | 21 // |
25 // Stores one particular sidebar state: sidebar's content, its content id, | 22 // Stores one particular sidebar state: sidebar's content, its content id, |
26 // tab it is linked to, mini tab icon, title etc. | 23 // tab it is linked to, mini tab icon, title etc. |
27 // | 24 // |
28 class SidebarContainer | 25 class SidebarContainer |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 // icon should be used or discarded. | 136 // icon should be used or discarded. |
140 bool use_default_icon_; | 137 bool use_default_icon_; |
141 | 138 |
142 // Helper to load icons from extension asynchronously. | 139 // Helper to load icons from extension asynchronously. |
143 scoped_ptr<ImageLoadingTracker> image_loading_tracker_; | 140 scoped_ptr<ImageLoadingTracker> image_loading_tracker_; |
144 | 141 |
145 DISALLOW_COPY_AND_ASSIGN(SidebarContainer); | 142 DISALLOW_COPY_AND_ASSIGN(SidebarContainer); |
146 }; | 143 }; |
147 | 144 |
148 #endif // CHROME_BROWSER_SIDEBAR_SIDEBAR_CONTAINER_H_ | 145 #endif // CHROME_BROWSER_SIDEBAR_SIDEBAR_CONTAINER_H_ |
OLD | NEW |