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

Side by Side Diff: content/shell/shell_content_browser_client.h

Issue 9150016: Move creation and ownership of ResourceDispatcherHost and PluginService to content. This gives a ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: fix chromeos ui_tests Created 8 years, 11 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) 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 CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 int render_process_id, 131 int render_process_id,
132 int render_view_id, 132 int render_view_id,
133 int notification_id) OVERRIDE; 133 int notification_id) OVERRIDE;
134 virtual bool CanCreateWindow( 134 virtual bool CanCreateWindow(
135 const GURL& origin, 135 const GURL& origin,
136 WindowContainerType container_type, 136 WindowContainerType container_type,
137 const content::ResourceContext& context, 137 const content::ResourceContext& context,
138 int render_process_id) OVERRIDE; 138 int render_process_id) OVERRIDE;
139 virtual std::string GetWorkerProcessTitle( 139 virtual std::string GetWorkerProcessTitle(
140 const GURL& url, const content::ResourceContext& context) OVERRIDE; 140 const GURL& url, const content::ResourceContext& context) OVERRIDE;
141 virtual ResourceDispatcherHost* GetResourceDispatcherHost() OVERRIDE; 141 virtual void ResourceDispatcherHostCreated() OVERRIDE;
142 virtual ui::Clipboard* GetClipboard() OVERRIDE; 142 virtual ui::Clipboard* GetClipboard() OVERRIDE;
143 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE; 143 virtual MHTMLGenerationManager* GetMHTMLGenerationManager() OVERRIDE;
144 virtual net::NetLog* GetNetLog() OVERRIDE; 144 virtual net::NetLog* GetNetLog() OVERRIDE;
145 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE; 145 virtual speech_input::SpeechInputManager* GetSpeechInputManager() OVERRIDE;
146 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE; 146 virtual AccessTokenStore* CreateAccessTokenStore() OVERRIDE;
147 virtual bool IsFastShutdownPossible() OVERRIDE; 147 virtual bool IsFastShutdownPossible() OVERRIDE;
148 virtual WebPreferences GetWebkitPrefs(RenderViewHost* rvh) OVERRIDE; 148 virtual WebPreferences GetWebkitPrefs(RenderViewHost* rvh) OVERRIDE;
149 virtual void UpdateInspectorSetting(RenderViewHost* rvh, 149 virtual void UpdateInspectorSetting(RenderViewHost* rvh,
150 const std::string& key, 150 const std::string& key,
151 const std::string& value) OVERRIDE; 151 const std::string& value) OVERRIDE;
(...skipping 26 matching lines...) Expand all
178 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE; 178 const ViewHostMsg_CreateWindow_Params& params) OVERRIDE;
179 #endif 179 #endif
180 180
181 private: 181 private:
182 ShellBrowserMainParts* shell_browser_main_parts_; 182 ShellBrowserMainParts* shell_browser_main_parts_;
183 }; 183 };
184 184
185 } // namespace content 185 } // namespace content
186 186
187 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_ 187 #endif // CONTENT_SHELL_SHELL_CONTENT_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698