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

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

Issue 8403024: Set extension-related webkit preferences in a common location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove is_web_ui param 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
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | no next file » | 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) 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 #include "content/shell/shell_content_browser_client.h" 5 #include "content/shell/shell_content_browser_client.h"
6 6
7 #include "base/file_path.h" 7 #include "base/file_path.h"
8 #include "content/browser/webui/empty_web_ui_factory.h" 8 #include "content/browser/webui/empty_web_ui_factory.h"
9 #include "content/shell/shell.h" 9 #include "content/shell/shell.h"
10 #include "content/shell/shell_browser_main.h" 10 #include "content/shell/shell_browser_main.h"
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 } 254 }
255 255
256 AccessTokenStore* ShellContentBrowserClient::CreateAccessTokenStore() { 256 AccessTokenStore* ShellContentBrowserClient::CreateAccessTokenStore() {
257 return NULL; 257 return NULL;
258 } 258 }
259 259
260 bool ShellContentBrowserClient::IsFastShutdownPossible() { 260 bool ShellContentBrowserClient::IsFastShutdownPossible() {
261 return true; 261 return true;
262 } 262 }
263 263
264 WebPreferences ShellContentBrowserClient::GetWebkitPrefs( 264 WebPreferences ShellContentBrowserClient::GetWebkitPrefs(RenderViewHost* rvh) {
265 content::BrowserContext* browser_context,
266 bool is_web_ui) {
267 return WebPreferences(); 265 return WebPreferences();
268 } 266 }
269 267
270 void ShellContentBrowserClient::UpdateInspectorSetting( 268 void ShellContentBrowserClient::UpdateInspectorSetting(
271 RenderViewHost* rvh, const std::string& key, const std::string& value) { 269 RenderViewHost* rvh, const std::string& key, const std::string& value) {
272 } 270 }
273 271
274 void ShellContentBrowserClient::ClearInspectorSettings(RenderViewHost* rvh) { 272 void ShellContentBrowserClient::ClearInspectorSettings(RenderViewHost* rvh) {
275 } 273 }
276 274
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 tab_contents_view->tab_contents()->browser_context(), 319 tab_contents_view->tab_contents()->browser_context(),
322 GURL(), 320 GURL(),
323 tab_contents_view->tab_contents()->GetSiteInstance(), 321 tab_contents_view->tab_contents()->GetSiteInstance(),
324 route_id, 322 route_id,
325 tab_contents_view->tab_contents()); 323 tab_contents_view->tab_contents());
326 return shell->tab_contents(); 324 return shell->tab_contents();
327 } 325 }
328 #endif 326 #endif
329 327
330 } // namespace content 328 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_content_browser_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698