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

Side by Side Diff: chrome/browser/extensions/extension_process_manager.h

Issue 10119003: Pull shell window stuff out of ExtensionHost and put in ShellWindow (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Removed platform app host, merged into shell window Created 8 years, 8 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
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_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_
6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_
7 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 ExtensionHost* CreatePopupHost(const Extension* extension, 48 ExtensionHost* CreatePopupHost(const Extension* extension,
49 const GURL& url, 49 const GURL& url,
50 Browser* browser); 50 Browser* browser);
51 ExtensionHost* CreatePopupHost(const GURL& url, Browser* browser); 51 ExtensionHost* CreatePopupHost(const GURL& url, Browser* browser);
52 ExtensionHost* CreateDialogHost(const GURL& url, Browser* browser); 52 ExtensionHost* CreateDialogHost(const GURL& url, Browser* browser);
53 ExtensionHost* CreateInfobarHost(const Extension* extension, 53 ExtensionHost* CreateInfobarHost(const Extension* extension,
54 const GURL& url, 54 const GURL& url,
55 Browser* browser); 55 Browser* browser);
56 ExtensionHost* CreateInfobarHost(const GURL& url, 56 ExtensionHost* CreateInfobarHost(const GURL& url,
57 Browser* browser); 57 Browser* browser);
58 ExtensionHost* CreateShellHost(const Extension* extension, const GURL& url);
59 58
60 // Open the extension's options page. 59 // Open the extension's options page.
61 void OpenOptionsPage(const Extension* extension, Browser* browser); 60 void OpenOptionsPage(const Extension* extension, Browser* browser);
62 61
63 // Creates a new UI-less extension instance. Like CreateViewHost, but not 62 // Creates a new UI-less extension instance. Like CreateViewHost, but not
64 // displayed anywhere. 63 // displayed anywhere.
65 virtual void CreateBackgroundHost(const Extension* extension, 64 virtual void CreateBackgroundHost(const Extension* extension,
66 const GURL& url); 65 const GURL& url);
67 66
68 // Gets the ExtensionHost for the background page for an extension, or NULL if 67 // Gets the ExtensionHost for the background page for an extension, or NULL if
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 // associated with a WebContents. This allows us to gather information that 177 // associated with a WebContents. This allows us to gather information that
179 // was not available when the host was first registered. 178 // was not available when the host was first registered.
180 void UpdateRegisteredRenderView(content::RenderViewHost* render_view_host); 179 void UpdateRegisteredRenderView(content::RenderViewHost* render_view_host);
181 180
182 BackgroundPageDataMap background_page_data_; 181 BackgroundPageDataMap background_page_data_;
183 182
184 DISALLOW_COPY_AND_ASSIGN(ExtensionProcessManager); 183 DISALLOW_COPY_AND_ASSIGN(ExtensionProcessManager);
185 }; 184 };
186 185
187 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_ 186 #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_PROCESS_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698