OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "chromecast/shell/browser/cast_content_browser_client.h" | 5 #include "chromecast/shell/browser/cast_content_browser_client.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/i18n/rtl.h" | 8 #include "base/i18n/rtl.h" |
9 #include "chromecast/shell/browser/cast_browser_context.h" | 9 #include "chromecast/shell/browser/cast_browser_context.h" |
10 #include "chromecast/shell/browser/cast_browser_main_parts.h" | 10 #include "chromecast/shell/browser/cast_browser_main_parts.h" |
11 #include "chromecast/shell/browser/cast_browser_process.h" | 11 #include "chromecast/shell/browser/cast_browser_process.h" |
| 12 #include "chromecast/shell/browser/devtools/cast_dev_tools_delegate.h" |
12 #include "chromecast/shell/browser/geolocation/cast_access_token_store.h" | 13 #include "chromecast/shell/browser/geolocation/cast_access_token_store.h" |
13 #include "chromecast/shell/browser/url_request_context_factory.h" | 14 #include "chromecast/shell/browser/url_request_context_factory.h" |
14 #include "content/public/browser/certificate_request_result_type.h" | 15 #include "content/public/browser/certificate_request_result_type.h" |
15 #include "content/public/browser/render_process_host.h" | 16 #include "content/public/browser/render_process_host.h" |
16 #include "content/public/common/content_descriptors.h" | 17 #include "content/public/common/content_descriptors.h" |
17 #include "content/public/common/content_switches.h" | 18 #include "content/public/common/content_switches.h" |
18 #include "content/public/common/url_constants.h" | 19 #include "content/public/common/url_constants.h" |
19 #include "content/public/common/web_preferences.h" | 20 #include "content/public/common/web_preferences.h" |
20 | 21 |
21 namespace chromecast { | 22 namespace chromecast { |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 bool user_gesture, | 134 bool user_gesture, |
134 bool opener_suppressed, | 135 bool opener_suppressed, |
135 content::ResourceContext* context, | 136 content::ResourceContext* context, |
136 int render_process_id, | 137 int render_process_id, |
137 int opener_id, | 138 int opener_id, |
138 bool* no_javascript_access) { | 139 bool* no_javascript_access) { |
139 *no_javascript_access = true; | 140 *no_javascript_access = true; |
140 return false; | 141 return false; |
141 } | 142 } |
142 | 143 |
| 144 content::DevToolsManagerDelegate* |
| 145 CastContentBrowserClient::GetDevToolsManagerDelegate() { |
| 146 return new CastDevToolsManagerDelegate(); |
| 147 } |
| 148 |
143 void CastContentBrowserClient::GetAdditionalMappedFilesForChildProcess( | 149 void CastContentBrowserClient::GetAdditionalMappedFilesForChildProcess( |
144 const base::CommandLine& command_line, | 150 const base::CommandLine& command_line, |
145 int child_process_id, | 151 int child_process_id, |
146 std::vector<content::FileDescriptorInfo>* mappings) { | 152 std::vector<content::FileDescriptorInfo>* mappings) { |
147 } | 153 } |
148 | 154 |
149 } // namespace shell | 155 } // namespace shell |
150 } // namespace chromecast | 156 } // namespace chromecast |
OLD | NEW |