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

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

Issue 9950040: Get chrome:// dev tool urls hooked up in content_shell. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: 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 | Annotate | Revision Log
« no previous file with comments | « content/shell/shell_content_client.h ('k') | content/shell/shell_main_delegate.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 #include "content/shell/shell_content_client.h" 5 #include "content/shell/shell_content_client.h"
6 6
7 #include "base/string_piece.h" 7 #include "base/string_piece.h"
8 #include "ui/base/resource/resource_bundle.h" 8 #include "ui/base/resource/resource_bundle.h"
9 #include "webkit/glue/user_agent.h" 9 #include "webkit/glue/user_agent.h"
10 10
11 namespace content { 11 namespace content {
12 12
13 ShellContentClient::~ShellContentClient() { 13 ShellContentClient::~ShellContentClient() {
14 } 14 }
15 15
16 void ShellContentClient::SetActiveURL(const GURL& url) { 16 void ShellContentClient::SetActiveURL(const GURL& url) {
17 } 17 }
18 18
19 void ShellContentClient::SetGpuInfo(const GPUInfo& gpu_info) { 19 void ShellContentClient::SetGpuInfo(const GPUInfo& gpu_info) {
20 } 20 }
21 21
22 void ShellContentClient::AddPepperPlugins( 22 void ShellContentClient::AddPepperPlugins(
23 std::vector<content::PepperPluginInfo>* plugins) { 23 std::vector<content::PepperPluginInfo>* plugins) {
24 } 24 }
25 25
26 void ShellContentClient::AddNPAPIPlugins( 26 void ShellContentClient::AddNPAPIPlugins(
27 webkit::npapi::PluginList* plugin_list) { 27 webkit::npapi::PluginList* plugin_list) {
28 } 28 }
29 29
30 void ShellContentClient::AddAdditionalSchemes(
31 std::vector<std::string>* standard_schemes,
32 std::vector<std::string>* savable_schemes) {
33 }
34
30 bool ShellContentClient::HasWebUIScheme(const GURL& url) const { 35 bool ShellContentClient::HasWebUIScheme(const GURL& url) const {
31 // There are no WebUI URLs in content_shell. 36 // There are no WebUI URLs in content_shell.
32 return false; 37 return false;
33 } 38 }
34 39
35 bool ShellContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) { 40 bool ShellContentClient::CanHandleWhileSwappedOut(const IPC::Message& msg) {
36 return false; 41 return false;
37 } 42 }
38 43
39 std::string ShellContentClient::GetUserAgent() const { 44 std::string ShellContentClient::GetUserAgent() const {
(...skipping 20 matching lines...) Expand all
60 65
61 #if defined(OS_MACOSX) 66 #if defined(OS_MACOSX)
62 bool ShellContentClient::GetSandboxProfileForSandboxType( 67 bool ShellContentClient::GetSandboxProfileForSandboxType(
63 int sandbox_type, 68 int sandbox_type,
64 int* sandbox_profile_resource_id) const { 69 int* sandbox_profile_resource_id) const {
65 return false; 70 return false;
66 } 71 }
67 #endif 72 #endif
68 73
69 } // namespace content 74 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_content_client.h ('k') | content/shell/shell_main_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698