OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |