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

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

Issue 8474007: Disable accelerated 2d canvas and put it back as an option in about:flags. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/912/src/
Patch Set: Created 9 years, 1 month 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/gpu/gpu_data_manager.cc ('k') | content/public/common/content_switches.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/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 542 matching lines...) Expand 10 before | Expand all | Expand 10 after
553 switches::kDisableIndexedDatabase, 553 switches::kDisableIndexedDatabase,
554 switches::kDisableJavaScriptI18NAPI, 554 switches::kDisableJavaScriptI18NAPI,
555 switches::kDisableLocalStorage, 555 switches::kDisableLocalStorage,
556 switches::kDisableLogging, 556 switches::kDisableLogging,
557 switches::kDisableSeccompSandbox, 557 switches::kDisableSeccompSandbox,
558 switches::kDisableSessionStorage, 558 switches::kDisableSessionStorage,
559 switches::kDisableSharedWorkers, 559 switches::kDisableSharedWorkers,
560 switches::kDisableSpeechInput, 560 switches::kDisableSpeechInput,
561 switches::kDisableWebAudio, 561 switches::kDisableWebAudio,
562 switches::kDisableWebSockets, 562 switches::kDisableWebSockets,
563 switches::kEnableAccelerated2dCanvas,
563 switches::kEnableAccessibilityLogging, 564 switches::kEnableAccessibilityLogging,
564 switches::kEnableDCHECK, 565 switches::kEnableDCHECK,
565 switches::kEnableGPUServiceLogging, 566 switches::kEnableGPUServiceLogging,
566 switches::kEnableGPUClientLogging, 567 switches::kEnableGPUClientLogging,
567 switches::kEnableLogging, 568 switches::kEnableLogging,
568 switches::kEnableMediaStream, 569 switches::kEnableMediaStream,
569 switches::kDisableFullScreen, 570 switches::kDisableFullScreen,
570 switches::kEnablePepperTesting, 571 switches::kEnablePepperTesting,
571 #if defined(OS_MACOSX) 572 #if defined(OS_MACOSX)
572 // Allow this to be set when invoking the browser and relayed along. 573 // Allow this to be set when invoking the browser and relayed along.
(...skipping 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
976 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) { 977 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) {
977 // Only honor the request if appropriate persmissions are granted. 978 // Only honor the request if appropriate persmissions are granted.
978 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path)) 979 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path))
979 content::GetContentClient()->browser()->OpenItem(path); 980 content::GetContentClient()->browser()->OpenItem(path);
980 } 981 }
981 982
982 void BrowserRenderProcessHost::OnSavedPageAsMHTML(int job_id, int64 data_size) { 983 void BrowserRenderProcessHost::OnSavedPageAsMHTML(int job_id, int64 data_size) {
983 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> 984 content::GetContentClient()->browser()->GetMHTMLGenerationManager()->
984 MHTMLGenerated(job_id, data_size); 985 MHTMLGenerated(job_id, data_size);
985 } 986 }
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698