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 664 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
675 switches::kDisableSessionStorage, | 675 switches::kDisableSessionStorage, |
676 switches::kDisableSharedWorkers, | 676 switches::kDisableSharedWorkers, |
677 switches::kDisableSpeechInput, | 677 switches::kDisableSpeechInput, |
678 switches::kEnableScriptedSpeech, | 678 switches::kEnableScriptedSpeech, |
679 switches::kDisableWebAudio, | 679 switches::kDisableWebAudio, |
680 switches::kDisableWebSockets, | 680 switches::kDisableWebSockets, |
681 switches::kDomAutomationController, | 681 switches::kDomAutomationController, |
682 switches::kEnableAccessibilityLogging, | 682 switches::kEnableAccessibilityLogging, |
683 switches::kEnableBrowserPlugin, | 683 switches::kEnableBrowserPlugin, |
684 switches::kEnableDCHECK, | 684 switches::kEnableDCHECK, |
| 685 switches::kEnableEncryptedMedia, |
685 switches::kEnableFixedLayout, | 686 switches::kEnableFixedLayout, |
686 switches::kEnableGamepad, | 687 switches::kEnableGamepad, |
687 switches::kEnableGPUServiceLogging, | 688 switches::kEnableGPUServiceLogging, |
688 switches::kEnableGPUClientLogging, | 689 switches::kEnableGPUClientLogging, |
689 switches::kEnableLogging, | 690 switches::kEnableLogging, |
690 switches::kEnableMediaSource, | 691 switches::kEnableMediaSource, |
691 switches::kEnableMediaStream, | 692 switches::kEnableMediaStream, |
692 switches::kEnableShadowDOM, | 693 switches::kEnableShadowDOM, |
693 switches::kEnableStrictSiteIsolation, | 694 switches::kEnableStrictSiteIsolation, |
694 switches::kEnableStyleScoped, | 695 switches::kEnableStyleScoped, |
(...skipping 646 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1341 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { | 1342 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { |
1342 // Only honor the request if appropriate persmissions are granted. | 1343 // Only honor the request if appropriate persmissions are granted. |
1343 if (ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(GetID(), | 1344 if (ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(GetID(), |
1344 path)) | 1345 path)) |
1345 content::GetContentClient()->browser()->OpenItem(path); | 1346 content::GetContentClient()->browser()->OpenItem(path); |
1346 } | 1347 } |
1347 | 1348 |
1348 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { | 1349 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { |
1349 MHTMLGenerationManager::GetInstance()->MHTMLGenerated(job_id, data_size); | 1350 MHTMLGenerationManager::GetInstance()->MHTMLGenerated(job_id, data_size); |
1350 } | 1351 } |
OLD | NEW |