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

Side by Side Diff: chrome/browser/sidebar/sidebar_manager.h

Issue 8566028: Cleanup: Remove more forward declarations in various chrome/browser directories. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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) 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_MANAGER_H_ 5 #ifndef CHROME_BROWSER_SIDEBAR_SIDEBAR_MANAGER_H_
6 #define CHROME_BROWSER_SIDEBAR_SIDEBAR_MANAGER_H_ 6 #define CHROME_BROWSER_SIDEBAR_SIDEBAR_MANAGER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
12 #include "base/string16.h" 12 #include "base/string16.h"
13 #include "chrome/browser/sidebar/sidebar_container.h" 13 #include "chrome/browser/sidebar/sidebar_container.h"
14 #include "content/public/browser/notification_observer.h" 14 #include "content/public/browser/notification_observer.h"
15 #include "content/public/browser/notification_registrar.h" 15 #include "content/public/browser/notification_registrar.h"
16 16
17 class GURL; 17 class GURL;
18 class PrefService;
19 class Profile;
20 class SidebarContainer; 18 class SidebarContainer;
21 class SkBitmap; 19 class SkBitmap;
22 class TabContents; 20 class TabContents;
23 21
24 /////////////////////////////////////////////////////////////////////////////// 22 ///////////////////////////////////////////////////////////////////////////////
25 // SidebarManager 23 // SidebarManager
26 // 24 //
27 // This class is a singleton that manages SidebarContainer instances and 25 // This class is a singleton that manages SidebarContainer instances and
28 // maintains a connection between tabs and sidebars. 26 // maintains a connection between tabs and sidebars.
29 // 27 //
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 typedef std::map<TabContents*, SidebarStateForTab> TabToSidebarHostMap; 140 typedef std::map<TabContents*, SidebarStateForTab> TabToSidebarHostMap;
143 TabToSidebarHostMap tab_to_sidebar_host_; 141 TabToSidebarHostMap tab_to_sidebar_host_;
144 142
145 typedef std::map<SidebarContainer*, TabContents*> SidebarHostToTabMap; 143 typedef std::map<SidebarContainer*, TabContents*> SidebarHostToTabMap;
146 SidebarHostToTabMap sidebar_host_to_tab_; 144 SidebarHostToTabMap sidebar_host_to_tab_;
147 145
148 DISALLOW_COPY_AND_ASSIGN(SidebarManager); 146 DISALLOW_COPY_AND_ASSIGN(SidebarManager);
149 }; 147 };
150 148
151 #endif // CHROME_BROWSER_SIDEBAR_SIDEBAR_MANAGER_H_ 149 #endif // CHROME_BROWSER_SIDEBAR_SIDEBAR_MANAGER_H_
152
OLDNEW
« no previous file with comments | « chrome/browser/sidebar/sidebar_container.h ('k') | chrome/browser/speech/speech_input_extension_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698