| OLD | NEW |
| 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 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
| 6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
| 7 | 7 |
| 8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
| 9 | 9 |
| 10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
| (...skipping 641 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 652 switches::kDisableSpeechInput, | 652 switches::kDisableSpeechInput, |
| 653 switches::kDisableWebAudio, | 653 switches::kDisableWebAudio, |
| 654 switches::kDisableWebSockets, | 654 switches::kDisableWebSockets, |
| 655 switches::kDomAutomationController, | 655 switches::kDomAutomationController, |
| 656 switches::kEnableAccessibilityLogging, | 656 switches::kEnableAccessibilityLogging, |
| 657 switches::kEnableDCHECK, | 657 switches::kEnableDCHECK, |
| 658 switches::kEnableGamepad, | 658 switches::kEnableGamepad, |
| 659 switches::kEnableGPUServiceLogging, | 659 switches::kEnableGPUServiceLogging, |
| 660 switches::kEnableGPUClientLogging, | 660 switches::kEnableGPUClientLogging, |
| 661 switches::kEnableLogging, | 661 switches::kEnableLogging, |
| 662 switches::kEnableMediaEncrypted, |
| 662 switches::kEnableMediaSource, | 663 switches::kEnableMediaSource, |
| 663 switches::kEnableMediaStream, | 664 switches::kEnableMediaStream, |
| 664 switches::kEnableShadowDOM, | 665 switches::kEnableShadowDOM, |
| 665 switches::kEnableStrictSiteIsolation, | 666 switches::kEnableStrictSiteIsolation, |
| 666 switches::kDisableFullScreen, | 667 switches::kDisableFullScreen, |
| 667 switches::kEnablePepperTesting, | 668 switches::kEnablePepperTesting, |
| 668 switches::kEnablePointerLock, | 669 switches::kEnablePointerLock, |
| 669 switches::kEnablePreparsedJsCaching, | 670 switches::kEnablePreparsedJsCaching, |
| 670 #if defined(OS_MACOSX) | 671 #if defined(OS_MACOSX) |
| 671 // Allow this to be set when invoking the browser and relayed along. | 672 // Allow this to be set when invoking the browser and relayed along. |
| (...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1291 // Only honor the request if appropriate persmissions are granted. | 1292 // Only honor the request if appropriate persmissions are granted. |
| 1292 if (ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(GetID(), | 1293 if (ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(GetID(), |
| 1293 path)) | 1294 path)) |
| 1294 content::GetContentClient()->browser()->OpenItem(path); | 1295 content::GetContentClient()->browser()->OpenItem(path); |
| 1295 } | 1296 } |
| 1296 | 1297 |
| 1297 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { | 1298 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { |
| 1298 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> | 1299 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> |
| 1299 MHTMLGenerated(job_id, data_size); | 1300 MHTMLGenerated(job_id, data_size); |
| 1300 } | 1301 } |
| OLD | NEW |