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 639 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
650 switches::kDisableLocalStorage, | 650 switches::kDisableLocalStorage, |
651 switches::kDisableLogging, | 651 switches::kDisableLogging, |
652 switches::kDisableSeccompSandbox, | 652 switches::kDisableSeccompSandbox, |
653 switches::kDisableSessionStorage, | 653 switches::kDisableSessionStorage, |
654 switches::kDisableSharedWorkers, | 654 switches::kDisableSharedWorkers, |
655 switches::kDisableSpeechInput, | 655 switches::kDisableSpeechInput, |
656 switches::kDisableWebAudio, | 656 switches::kDisableWebAudio, |
657 switches::kDisableWebSockets, | 657 switches::kDisableWebSockets, |
658 switches::kEnableAccessibilityLogging, | 658 switches::kEnableAccessibilityLogging, |
659 switches::kEnableDCHECK, | 659 switches::kEnableDCHECK, |
| 660 switches::kEnableFixedLayout, |
660 switches::kEnableGamepad, | 661 switches::kEnableGamepad, |
661 switches::kEnableGPUServiceLogging, | 662 switches::kEnableGPUServiceLogging, |
662 switches::kEnableGPUClientLogging, | 663 switches::kEnableGPUClientLogging, |
663 switches::kEnableIndexedDBForWorkers, | 664 switches::kEnableIndexedDBForWorkers, |
664 switches::kEnableLogging, | 665 switches::kEnableLogging, |
665 switches::kEnableMediaSource, | 666 switches::kEnableMediaSource, |
666 switches::kEnableMediaStream, | 667 switches::kEnableMediaStream, |
667 switches::kEnableStrictSiteIsolation, | 668 switches::kEnableStrictSiteIsolation, |
668 switches::kDisableFullScreen, | 669 switches::kDisableFullScreen, |
669 switches::kEnablePepperTesting, | 670 switches::kEnablePepperTesting, |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1301 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { | 1302 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { |
1302 // Only honor the request if appropriate persmissions are granted. | 1303 // Only honor the request if appropriate persmissions are granted. |
1303 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(GetID(), path)) | 1304 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(GetID(), path)) |
1304 content::GetContentClient()->browser()->OpenItem(path); | 1305 content::GetContentClient()->browser()->OpenItem(path); |
1305 } | 1306 } |
1306 | 1307 |
1307 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { | 1308 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { |
1308 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> | 1309 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> |
1309 MHTMLGenerated(job_id, data_size); | 1310 MHTMLGenerated(job_id, data_size); |
1310 } | 1311 } |
OLD | NEW |