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

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

Issue 8413042: Add enable-gamepad to content switches (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
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
« no previous file with comments | « no previous file | 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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after
561 switches::kDisableLocalStorage, 561 switches::kDisableLocalStorage,
562 switches::kDisableLogging, 562 switches::kDisableLogging,
563 switches::kDisableSeccompSandbox, 563 switches::kDisableSeccompSandbox,
564 switches::kDisableSessionStorage, 564 switches::kDisableSessionStorage,
565 switches::kDisableSharedWorkers, 565 switches::kDisableSharedWorkers,
566 switches::kDisableSpeechInput, 566 switches::kDisableSpeechInput,
567 switches::kDisableWebAudio, 567 switches::kDisableWebAudio,
568 switches::kDisableWebSockets, 568 switches::kDisableWebSockets,
569 switches::kEnableAccessibilityLogging, 569 switches::kEnableAccessibilityLogging,
570 switches::kEnableDCHECK, 570 switches::kEnableDCHECK,
571 switches::kEnableGamepad,
571 switches::kEnableGPUServiceLogging, 572 switches::kEnableGPUServiceLogging,
572 switches::kEnableGPUClientLogging, 573 switches::kEnableGPUClientLogging,
573 switches::kEnableLogging, 574 switches::kEnableLogging,
574 switches::kEnableMediaSource, 575 switches::kEnableMediaSource,
575 switches::kEnableMediaStream, 576 switches::kEnableMediaStream,
576 switches::kEnableStrictSiteIsolation, 577 switches::kEnableStrictSiteIsolation,
577 switches::kDisableFullScreen, 578 switches::kDisableFullScreen,
578 switches::kEnablePepperTesting, 579 switches::kEnablePepperTesting,
579 #if defined(OS_MACOSX) 580 #if defined(OS_MACOSX)
580 // Allow this to be set when invoking the browser and relayed along. 581 // Allow this to be set when invoking the browser and relayed along.
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
993 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) { 994 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) {
994 // Only honor the request if appropriate persmissions are granted. 995 // Only honor the request if appropriate persmissions are granted.
995 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path)) 996 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path))
996 content::GetContentClient()->browser()->OpenItem(path); 997 content::GetContentClient()->browser()->OpenItem(path);
997 } 998 }
998 999
999 void BrowserRenderProcessHost::OnSavedPageAsMHTML(int job_id, int64 data_size) { 1000 void BrowserRenderProcessHost::OnSavedPageAsMHTML(int job_id, int64 data_size) {
1000 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> 1001 content::GetContentClient()->browser()->GetMHTMLGenerationManager()->
1001 MHTMLGenerated(job_id, data_size); 1002 MHTMLGenerated(job_id, data_size);
1002 } 1003 }
OLDNEW
« no previous file with comments | « no previous file | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698