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

Side by Side Diff: chrome/browser/ui/panels/panel_host.h

Issue 11011002: Switch FaviconTabHelper to use WebContentsUserData. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 8 years, 2 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
« no previous file with comments | « chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc ('k') | chrome/browser/ui/panels/panel_host.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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_UI_PANELS_PANEL_HOST_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_ 6 #define CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "chrome/browser/extensions/extension_function_dispatcher.h" 10 #include "chrome/browser/extensions/extension_function_dispatcher.h"
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 void OnRequest(const ExtensionHostMsg_Request_Params& params); 104 void OnRequest(const ExtensionHostMsg_Request_Params& params);
105 105
106 Panel* panel_; // Weak, owns us. 106 Panel* panel_; // Weak, owns us.
107 Profile* profile_; 107 Profile* profile_;
108 ExtensionFunctionDispatcher extension_function_dispatcher_; 108 ExtensionFunctionDispatcher extension_function_dispatcher_;
109 109
110 // The following factory is used to close the panel via the message loop. 110 // The following factory is used to close the panel via the message loop.
111 base::WeakPtrFactory<PanelHost> weak_factory_; 111 base::WeakPtrFactory<PanelHost> weak_factory_;
112 112
113 scoped_ptr<PrefsTabHelper> prefs_tab_helper_; 113 scoped_ptr<PrefsTabHelper> prefs_tab_helper_;
114 scoped_ptr<FaviconTabHelper> favicon_tab_helper_;
115 scoped_ptr<content::WebContents> web_contents_; 114 scoped_ptr<content::WebContents> web_contents_;
116 115
117 DISALLOW_COPY_AND_ASSIGN(PanelHost); 116 DISALLOW_COPY_AND_ASSIGN(PanelHost);
118 }; 117 };
119 118
120 #endif // CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_ 119 #endif // CHROME_BROWSER_UI_PANELS_PANEL_HOST_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/gtk/tabs/tab_renderer_gtk.cc ('k') | chrome/browser/ui/panels/panel_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698