Chromium Code Reviews

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

Issue 10454019: Unset the page-scale-factor limits if enable-pinch flag is turned on. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #if defined(OS_WIN) 10 #if defined(OS_WIN)
(...skipping 669 matching lines...)
680 switches::kEnableMediaSource, 680 switches::kEnableMediaSource,
681 switches::kEnablePeerConnection, 681 switches::kEnablePeerConnection,
682 switches::kEnableShadowDOM, 682 switches::kEnableShadowDOM,
683 switches::kEnableStrictSiteIsolation, 683 switches::kEnableStrictSiteIsolation,
684 switches::kEnableStyleScoped, 684 switches::kEnableStyleScoped,
685 switches::kDisableFullScreen, 685 switches::kDisableFullScreen,
686 switches::kEnablePepperTesting, 686 switches::kEnablePepperTesting,
687 switches::kEnablePointerLock, 687 switches::kEnablePointerLock,
688 switches::kEnablePreparsedJsCaching, 688 switches::kEnablePreparsedJsCaching,
689 switches::kEnablePruneGpuCommandBuffers, 689 switches::kEnablePruneGpuCommandBuffers,
690 switches::kEnablePinch,
690 #if defined(OS_MACOSX) 691 #if defined(OS_MACOSX)
691 // Allow this to be set when invoking the browser and relayed along. 692 // Allow this to be set when invoking the browser and relayed along.
692 switches::kEnableSandboxLogging, 693 switches::kEnableSandboxLogging,
693 #endif 694 #endif
694 switches::kEnableSeccompSandbox, 695 switches::kEnableSeccompSandbox,
695 switches::kEnableStatsTable, 696 switches::kEnableStatsTable,
696 switches::kEnableThreadedCompositing, 697 switches::kEnableThreadedCompositing,
697 switches::kDisableThreadedCompositing, 698 switches::kDisableThreadedCompositing,
698 switches::kEnableTouchEvents, 699 switches::kEnableTouchEvents,
699 switches::kEnableVideoTrack, 700 switches::kEnableVideoTrack,
(...skipping 657 matching lines...)
1357 uint64 surface_handle, 1358 uint64 surface_handle,
1358 int32 route_id, 1359 int32 route_id,
1359 int32 gpu_process_host_id) { 1360 int32 gpu_process_host_id) {
1360 TRACE_EVENT0("renderer_host", 1361 TRACE_EVENT0("renderer_host",
1361 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1362 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1362 RenderWidgetHostImpl::AcknowledgeSwapBuffers(route_id, 1363 RenderWidgetHostImpl::AcknowledgeSwapBuffers(route_id,
1363 gpu_process_host_id); 1364 gpu_process_host_id);
1364 } 1365 }
1365 1366
1366 } // namespace content 1367 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine