| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/browser_render_process_host.h" | 8 #include "content/browser/renderer_host/browser_render_process_host.h" |
| 9 | 9 |
| 10 #include <algorithm> | 10 #include <algorithm> |
| (...skipping 537 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 548 switches::kDisableIndexedDatabase, | 548 switches::kDisableIndexedDatabase, |
| 549 switches::kDisableJavaScriptI18NAPI, | 549 switches::kDisableJavaScriptI18NAPI, |
| 550 switches::kDisableLocalStorage, | 550 switches::kDisableLocalStorage, |
| 551 switches::kDisableLogging, | 551 switches::kDisableLogging, |
| 552 switches::kDisableSeccompSandbox, | 552 switches::kDisableSeccompSandbox, |
| 553 switches::kDisableSessionStorage, | 553 switches::kDisableSessionStorage, |
| 554 switches::kDisableSharedWorkers, | 554 switches::kDisableSharedWorkers, |
| 555 switches::kDisableSpeechInput, | 555 switches::kDisableSpeechInput, |
| 556 switches::kDisableWebAudio, | 556 switches::kDisableWebAudio, |
| 557 switches::kDisableWebSockets, | 557 switches::kDisableWebSockets, |
| 558 switches::kEnableAccessibilityLogging, |
| 558 switches::kEnableAdaptive, | 559 switches::kEnableAdaptive, |
| 559 switches::kEnableBenchmarking, | 560 switches::kEnableBenchmarking, |
| 560 switches::kEnableDCHECK, | 561 switches::kEnableDCHECK, |
| 561 switches::kEnableGPUServiceLogging, | 562 switches::kEnableGPUServiceLogging, |
| 562 switches::kEnableGPUClientLogging, | 563 switches::kEnableGPUClientLogging, |
| 563 switches::kEnableLogging, | 564 switches::kEnableLogging, |
| 564 switches::kEnableMediaStream, | 565 switches::kEnableMediaStream, |
| 565 switches::kEnableFullScreen, | 566 switches::kEnableFullScreen, |
| 566 switches::kEnablePepperTesting, | 567 switches::kEnablePepperTesting, |
| 567 #if defined(OS_MACOSX) | 568 #if defined(OS_MACOSX) |
| (...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 930 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) { | 931 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) { |
| 931 // Only honor the request if appropriate persmissions are granted. | 932 // Only honor the request if appropriate persmissions are granted. |
| 932 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path)) | 933 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path)) |
| 933 content::GetContentClient()->browser()->OpenItem(path); | 934 content::GetContentClient()->browser()->OpenItem(path); |
| 934 } | 935 } |
| 935 | 936 |
| 936 void BrowserRenderProcessHost::OnSavedPageAsMHTML(int job_id, bool success) { | 937 void BrowserRenderProcessHost::OnSavedPageAsMHTML(int job_id, bool success) { |
| 937 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> | 938 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> |
| 938 MHTMLGenerated(job_id, success); | 939 MHTMLGenerated(job_id, success); |
| 939 } | 940 } |
| OLD | NEW |