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

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

Issue 16114003: Don't send touch move to renderer while scrolling (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 6 months 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
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 #include <algorithm> 10 #include <algorithm>
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after
825 switches::kDisableGpu, 825 switches::kDisableGpu,
826 switches::kDisableHistogramCustomizer, 826 switches::kDisableHistogramCustomizer,
827 switches::kDisableJavaScriptI18NAPI, 827 switches::kDisableJavaScriptI18NAPI,
828 switches::kDisableLocalStorage, 828 switches::kDisableLocalStorage,
829 switches::kDisableLogging, 829 switches::kDisableLogging,
830 switches::kDisableNewDialogStyle, 830 switches::kDisableNewDialogStyle,
831 switches::kDisableSeccompFilterSandbox, 831 switches::kDisableSeccompFilterSandbox,
832 switches::kDisableSessionStorage, 832 switches::kDisableSessionStorage,
833 switches::kDisableSharedWorkers, 833 switches::kDisableSharedWorkers,
834 switches::kDisableSpeechInput, 834 switches::kDisableSpeechInput,
835 switches::kDisableTouchCancelAfterScroll,
835 switches::kDisableTouchDragDrop, 836 switches::kDisableTouchDragDrop,
836 switches::kDisableTouchEditing, 837 switches::kDisableTouchEditing,
837 #if defined(OS_ANDROID) 838 #if defined(OS_ANDROID)
838 switches::kEnableWebAudio, 839 switches::kEnableWebAudio,
839 switches::kDisableWebRTC, 840 switches::kDisableWebRTC,
840 #else 841 #else
841 switches::kDisableWebAudio, 842 switches::kDisableWebAudio,
842 #endif 843 #endif
843 switches::kEnableWebMIDI, 844 switches::kEnableWebMIDI,
844 switches::kEnableExperimentalCanvasFeatures, 845 switches::kEnableExperimentalCanvasFeatures,
845 switches::kEnableExperimentalWebSocket, 846 switches::kEnableExperimentalWebSocket,
846 switches::kDomAutomationController, 847 switches::kDomAutomationController,
847 switches::kEnableAccessibilityLogging, 848 switches::kEnableAccessibilityLogging,
848 switches::kEnableBrowserPluginForAllViewTypes, 849 switches::kEnableBrowserPluginForAllViewTypes,
849 switches::kEnableDCHECK, 850 switches::kEnableDCHECK,
850 switches::kEnableDelegatedRenderer, 851 switches::kEnableDelegatedRenderer,
851 switches::kDisableEncryptedMedia, 852 switches::kDisableEncryptedMedia,
852 switches::kEnableExperimentalWebKitFeatures, 853 switches::kEnableExperimentalWebKitFeatures,
853 switches::kEnableFixedLayout, 854 switches::kEnableFixedLayout,
854 switches::kEnableDeferredImageDecoding, 855 switches::kEnableDeferredImageDecoding,
855 switches::kEnableGPUServiceLogging, 856 switches::kEnableGPUServiceLogging,
856 switches::kEnableGPUClientLogging, 857 switches::kEnableGPUClientLogging,
857 switches::kEnableGpuClientTracing, 858 switches::kEnableGpuClientTracing,
858 switches::kEnableGpuBenchmarking, 859 switches::kEnableGpuBenchmarking,
859 switches::kEnableMemoryBenchmarking, 860 switches::kEnableMemoryBenchmarking,
860 switches::kEnableSkiaBenchmarking, 861 switches::kEnableSkiaBenchmarking,
861 switches::kEnableLogging, 862 switches::kEnableLogging,
862 switches::kEnableSpeechSynthesis, 863 switches::kEnableSpeechSynthesis,
864 switches::kEnableTouchCancelAfterScroll,
863 switches::kEnableTouchDragDrop, 865 switches::kEnableTouchDragDrop,
864 switches::kEnableTouchEditing, 866 switches::kEnableTouchEditing,
865 switches::kEnableVsyncNotification, 867 switches::kEnableVsyncNotification,
866 switches::kEnableWebPInAcceptHeader, 868 switches::kEnableWebPInAcceptHeader,
867 #if defined(ENABLE_WEBRTC) 869 #if defined(ENABLE_WEBRTC)
868 switches::kEnableWebRtcAecRecordings, 870 switches::kEnableWebRtcAecRecordings,
869 #endif 871 #endif
870 switches::kDisableWebKitMediaSource, 872 switches::kDisableWebKitMediaSource,
871 switches::kEnableOverscrollNotifications, 873 switches::kEnableOverscrollNotifications,
872 switches::kEnableStrictSiteIsolation, 874 switches::kEnableStrictSiteIsolation,
(...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after
1759 TRACE_EVENT0("renderer_host", 1761 TRACE_EVENT0("renderer_host",
1760 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); 1762 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost");
1761 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; 1763 AcceleratedSurfaceMsg_BufferPresented_Params ack_params;
1762 ack_params.sync_point = 0; 1764 ack_params.sync_point = 0;
1763 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, 1765 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id,
1764 gpu_process_host_id, 1766 gpu_process_host_id,
1765 ack_params); 1767 ack_params);
1766 } 1768 }
1767 1769
1768 } // namespace content 1770 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698