Chromium Code Reviews| 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 676 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 687 switches::kEnableFixedLayout, | 687 switches::kEnableFixedLayout, |
| 688 switches::kEnableGamepad, | 688 switches::kEnableGamepad, |
| 689 switches::kEnableGPUServiceLogging, | 689 switches::kEnableGPUServiceLogging, |
| 690 switches::kEnableGPUClientLogging, | 690 switches::kEnableGPUClientLogging, |
| 691 switches::kEnableLogging, | 691 switches::kEnableLogging, |
| 692 switches::kEnableMediaSource, | 692 switches::kEnableMediaSource, |
| 693 switches::kEnableMediaStream, | 693 switches::kEnableMediaStream, |
| 694 switches::kEnableShadowDOM, | 694 switches::kEnableShadowDOM, |
| 695 switches::kEnableStrictSiteIsolation, | 695 switches::kEnableStrictSiteIsolation, |
| 696 switches::kEnableStyleScoped, | 696 switches::kEnableStyleScoped, |
| 697 switches::kEnableAudioMixer, | |
|
scherkus (not reviewing)
2012/03/29 22:46:39
I don't believe this is needed anymore as no code
| |
| 697 switches::kDisableFullScreen, | 698 switches::kDisableFullScreen, |
| 698 switches::kEnablePepperTesting, | 699 switches::kEnablePepperTesting, |
| 699 switches::kEnablePointerLock, | 700 switches::kEnablePointerLock, |
| 700 switches::kEnablePreparsedJsCaching, | 701 switches::kEnablePreparsedJsCaching, |
| 701 switches::kEnablePruneGpuCommandBuffers, | 702 switches::kEnablePruneGpuCommandBuffers, |
| 702 #if defined(OS_MACOSX) | 703 #if defined(OS_MACOSX) |
| 703 // Allow this to be set when invoking the browser and relayed along. | 704 // Allow this to be set when invoking the browser and relayed along. |
| 704 switches::kEnableSandboxLogging, | 705 switches::kEnableSandboxLogging, |
| 705 #endif | 706 #endif |
| 706 switches::kEnableSeccompSandbox, | 707 switches::kEnableSeccompSandbox, |
| (...skipping 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1365 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { | 1366 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { |
| 1366 // Only honor the request if appropriate persmissions are granted. | 1367 // Only honor the request if appropriate persmissions are granted. |
| 1367 if (ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(GetID(), | 1368 if (ChildProcessSecurityPolicyImpl::GetInstance()->CanReadFile(GetID(), |
| 1368 path)) | 1369 path)) |
| 1369 content::GetContentClient()->browser()->OpenItem(path); | 1370 content::GetContentClient()->browser()->OpenItem(path); |
| 1370 } | 1371 } |
| 1371 | 1372 |
| 1372 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { | 1373 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { |
| 1373 MHTMLGenerationManager::GetInstance()->MHTMLGenerated(job_id, data_size); | 1374 MHTMLGenerationManager::GetInstance()->MHTMLGenerated(job_id, data_size); |
| 1374 } | 1375 } |
| OLD | NEW |