Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(284)

Side by Side Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 8678037: Render Core Animation plugins through WebKit's compositor rather than (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Final patch to be committed Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/browser/plugin_process_host.cc ('k') | content/common/plugin_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/render_process_host_impl.h" 8 #include "content/browser/renderer_host/render_process_host_impl.h"
9 9
10 #include <algorithm> 10 #include <algorithm>
(...skipping 637 matching lines...) Expand 10 before | Expand all | Expand 10 after
648 // We propagate the Chrome Frame command line here as well in case the 648 // We propagate the Chrome Frame command line here as well in case the
649 // renderer is not run in the sandbox. 649 // renderer is not run in the sandbox.
650 switches::kAuditAllHandles, 650 switches::kAuditAllHandles,
651 switches::kAuditHandles, 651 switches::kAuditHandles,
652 switches::kChromeFrame, 652 switches::kChromeFrame,
653 switches::kDisable3DAPIs, 653 switches::kDisable3DAPIs,
654 switches::kDisableAcceleratedCompositing, 654 switches::kDisableAcceleratedCompositing,
655 switches::kDisableApplicationCache, 655 switches::kDisableApplicationCache,
656 switches::kDisableAudio, 656 switches::kDisableAudio,
657 switches::kDisableBreakpad, 657 switches::kDisableBreakpad,
658 #if defined(OS_MACOSX)
659 switches::kDisableCompositedCoreAnimationPlugins,
660 #endif
658 switches::kDisableDataTransferItems, 661 switches::kDisableDataTransferItems,
659 switches::kDisableDatabases, 662 switches::kDisableDatabases,
660 switches::kDisableDesktopNotifications, 663 switches::kDisableDesktopNotifications,
661 switches::kDisableDeviceOrientation, 664 switches::kDisableDeviceOrientation,
662 switches::kDisableFileSystem, 665 switches::kDisableFileSystem,
663 switches::kDisableGeolocation, 666 switches::kDisableGeolocation,
664 switches::kDisableGLMultisampling, 667 switches::kDisableGLMultisampling,
665 switches::kDisableGLSLTranslator, 668 switches::kDisableGLSLTranslator,
666 switches::kDisableGpuDriverBugWorkarounds, 669 switches::kDisableGpuDriverBugWorkarounds,
667 switches::kDisableGpuVsync, 670 switches::kDisableGpuVsync,
(...skipping 639 matching lines...) Expand 10 before | Expand all | Expand 10 after
1307 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { 1310 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) {
1308 // Only honor the request if appropriate persmissions are granted. 1311 // Only honor the request if appropriate persmissions are granted.
1309 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(GetID(), path)) 1312 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(GetID(), path))
1310 content::GetContentClient()->browser()->OpenItem(path); 1313 content::GetContentClient()->browser()->OpenItem(path);
1311 } 1314 }
1312 1315
1313 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { 1316 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) {
1314 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> 1317 content::GetContentClient()->browser()->GetMHTMLGenerationManager()->
1315 MHTMLGenerated(job_id, data_size); 1318 MHTMLGenerated(job_id, data_size);
1316 } 1319 }
OLDNEW
« no previous file with comments | « content/browser/plugin_process_host.cc ('k') | content/common/plugin_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698