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

Side by Side Diff: content/browser/renderer_host/browser_render_process_host.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: pointer lock rename 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
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 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 switches::kEnableDCHECK, 572 switches::kEnableDCHECK,
573 switches::kEnableGamepad, 573 switches::kEnableGamepad,
574 switches::kEnableGPUServiceLogging, 574 switches::kEnableGPUServiceLogging,
575 switches::kEnableGPUClientLogging, 575 switches::kEnableGPUClientLogging,
576 switches::kEnableLogging, 576 switches::kEnableLogging,
577 switches::kEnableMediaSource, 577 switches::kEnableMediaSource,
578 switches::kEnableMediaStream, 578 switches::kEnableMediaStream,
579 switches::kEnableStrictSiteIsolation, 579 switches::kEnableStrictSiteIsolation,
580 switches::kDisableFullScreen, 580 switches::kDisableFullScreen,
581 switches::kEnablePepperTesting, 581 switches::kEnablePepperTesting,
582 switches::kEnablePointerLock,
582 #if defined(OS_MACOSX) 583 #if defined(OS_MACOSX)
583 // Allow this to be set when invoking the browser and relayed along. 584 // Allow this to be set when invoking the browser and relayed along.
584 switches::kEnableSandboxLogging, 585 switches::kEnableSandboxLogging,
585 #endif 586 #endif
586 switches::kEnableSeccompSandbox, 587 switches::kEnableSeccompSandbox,
587 switches::kEnableStatsTable, 588 switches::kEnableStatsTable,
588 switches::kEnableThreadedCompositing, 589 switches::kEnableThreadedCompositing,
589 switches::kEnableVideoFullscreen, 590 switches::kEnableVideoFullscreen,
590 switches::kEnableVideoLogging, 591 switches::kEnableVideoLogging,
591 switches::kEnableVideoTrack, 592 switches::kEnableVideoTrack,
(...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after
997 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) { 998 void BrowserRenderProcessHost::OnRevealFolderInOS(const FilePath& path) {
998 // Only honor the request if appropriate persmissions are granted. 999 // Only honor the request if appropriate persmissions are granted.
999 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path)) 1000 if (ChildProcessSecurityPolicy::GetInstance()->CanReadFile(id(), path))
1000 content::GetContentClient()->browser()->OpenItem(path); 1001 content::GetContentClient()->browser()->OpenItem(path);
1001 } 1002 }
1002 1003
1003 void BrowserRenderProcessHost::OnSavedPageAsMHTML(int job_id, int64 data_size) { 1004 void BrowserRenderProcessHost::OnSavedPageAsMHTML(int job_id, int64 data_size) {
1004 content::GetContentClient()->browser()->GetMHTMLGenerationManager()-> 1005 content::GetContentClient()->browser()->GetMHTMLGenerationManager()->
1005 MHTMLGenerated(job_id, data_size); 1006 MHTMLGenerated(job_id, data_size);
1006 } 1007 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698