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

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

Issue 8536003: Pointer Lock (was Mouse Lock) added to about:flags and passed to WebKit runtime flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase TOT 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 | « chrome/browser/about_flags.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/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 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 switches::kEnableDCHECK, 679 switches::kEnableDCHECK,
680 switches::kEnableGamepad, 680 switches::kEnableGamepad,
681 switches::kEnableGPUServiceLogging, 681 switches::kEnableGPUServiceLogging,
682 switches::kEnableGPUClientLogging, 682 switches::kEnableGPUClientLogging,
683 switches::kEnableLogging, 683 switches::kEnableLogging,
684 switches::kEnableMediaSource, 684 switches::kEnableMediaSource,
685 switches::kEnableMediaStream, 685 switches::kEnableMediaStream,
686 switches::kEnableStrictSiteIsolation, 686 switches::kEnableStrictSiteIsolation,
687 switches::kDisableFullScreen, 687 switches::kDisableFullScreen,
688 switches::kEnablePepperTesting, 688 switches::kEnablePepperTesting,
689 switches::kEnablePointerLock,
689 #if defined(OS_MACOSX) 690 #if defined(OS_MACOSX)
690 // Allow this to be set when invoking the browser and relayed along. 691 // Allow this to be set when invoking the browser and relayed along.
691 switches::kEnableSandboxLogging, 692 switches::kEnableSandboxLogging,
692 #endif 693 #endif
693 switches::kEnableSeccompSandbox, 694 switches::kEnableSeccompSandbox,
694 switches::kEnableStatsTable, 695 switches::kEnableStatsTable,
695 switches::kEnableThreadedCompositing, 696 switches::kEnableThreadedCompositing,
696 switches::kEnableVideoFullscreen, 697 switches::kEnableVideoFullscreen,
697 switches::kEnableVideoLogging, 698 switches::kEnableVideoLogging,
698 switches::kEnableVideoTrack, 699 switches::kEnableVideoTrack,
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
1294 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) { 1295 void RenderProcessHostImpl::OnRevealFolderInOS(const FilePath& path) {
1295 // Only honor the request if appropriate persmissions are granted. 1296 // Only honor the request if appropriate persmissions are granted.
1296 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(GetID(), path)) 1297 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(GetID(), path))
1297 content::GetContentClient()->browser()->OpenItem(path); 1298 content::GetContentClient()->browser()->OpenItem(path);
1298 } 1299 }
1299 1300
1300 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) { 1301 void RenderProcessHostImpl::OnSavedPageAsMHTML(int job_id, int64 data_size) {
1301 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> 1302 content::GetContentClient()->browser()->GetMHTMLGenerationManager()->
1302 MHTMLGenerated(job_id, data_size); 1303 MHTMLGenerated(job_id, data_size);
1303 } 1304 }
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698