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

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

Issue 26809004: Add a flag for enabling/disabling the new accelerated scrolling path (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: About to reland. Created 7 years, 2 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 | Annotate | Revision Log
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 889 matching lines...) Expand 10 before | Expand all | Expand 10 after
900 switches::kDisablePinch, 900 switches::kDisablePinch,
901 switches::kDisablePrefixedEncryptedMedia, 901 switches::kDisablePrefixedEncryptedMedia,
902 switches::kDisableSeccompFilterSandbox, 902 switches::kDisableSeccompFilterSandbox,
903 switches::kDisableSessionStorage, 903 switches::kDisableSessionStorage,
904 switches::kDisableSharedWorkers, 904 switches::kDisableSharedWorkers,
905 switches::kDisableSpeechInput, 905 switches::kDisableSpeechInput,
906 switches::kDisableThreadedCompositing, 906 switches::kDisableThreadedCompositing,
907 switches::kDisableTouchAdjustment, 907 switches::kDisableTouchAdjustment,
908 switches::kDisableTouchDragDrop, 908 switches::kDisableTouchDragDrop,
909 switches::kDisableTouchEditing, 909 switches::kDisableTouchEditing,
910 switches::kDisableUniversalAcceleratedOverflowScroll,
910 switches::kDisableVp8AlphaPlayback, 911 switches::kDisableVp8AlphaPlayback,
911 switches::kDisableWebAudio, 912 switches::kDisableWebAudio,
912 switches::kDisableWebKitMediaSource, 913 switches::kDisableWebKitMediaSource,
913 switches::kDomAutomationController, 914 switches::kDomAutomationController,
914 switches::kEnableAcceleratedFixedRootBackground, 915 switches::kEnableAcceleratedFixedRootBackground,
915 switches::kEnableAcceleratedOverflowScroll, 916 switches::kEnableAcceleratedOverflowScroll,
916 switches::kEnableAcceleratedScrollableFrames, 917 switches::kEnableAcceleratedScrollableFrames,
917 switches::kEnableAccessibilityLogging, 918 switches::kEnableAccessibilityLogging,
918 switches::kEnableBeginFrameScheduling, 919 switches::kEnableBeginFrameScheduling,
919 switches::kEnableBrowserPluginForAllViewTypes, 920 switches::kEnableBrowserPluginForAllViewTypes,
(...skipping 29 matching lines...) Expand all
949 switches::kEnablePinch, 950 switches::kEnablePinch,
950 switches::kEnablePreparsedJsCaching, 951 switches::kEnablePreparsedJsCaching,
951 switches::kEnablePruneGpuCommandBuffers, 952 switches::kEnablePruneGpuCommandBuffers,
952 switches::kEnableServiceWorker, 953 switches::kEnableServiceWorker,
953 switches::kEnableSkiaBenchmarking, 954 switches::kEnableSkiaBenchmarking,
954 switches::kEnableSoftwareCompositing, 955 switches::kEnableSoftwareCompositing,
955 switches::kEnableSpeechSynthesis, 956 switches::kEnableSpeechSynthesis,
956 switches::kEnableStatsTable, 957 switches::kEnableStatsTable,
957 switches::kEnableStrictSiteIsolation, 958 switches::kEnableStrictSiteIsolation,
958 switches::kEnableThreadedCompositing, 959 switches::kEnableThreadedCompositing,
960 switches::kEnableUniversalAcceleratedOverflowScroll,
959 switches::kEnableTouchDragDrop, 961 switches::kEnableTouchDragDrop,
960 switches::kEnableTouchEditing, 962 switches::kEnableTouchEditing,
961 switches::kEnableViewport, 963 switches::kEnableViewport,
962 switches::kEnableVtune, 964 switches::kEnableVtune,
963 switches::kEnableWebAnimationsCSS, 965 switches::kEnableWebAnimationsCSS,
964 switches::kEnableWebAnimationsSVG, 966 switches::kEnableWebAnimationsSVG,
965 switches::kEnableWebGLDraftExtensions, 967 switches::kEnableWebGLDraftExtensions,
966 switches::kEnableWebMIDI, 968 switches::kEnableWebMIDI,
967 switches::kForceDeviceScaleFactor, 969 switches::kForceDeviceScaleFactor,
968 switches::kFullMemoryCrashReport, 970 switches::kFullMemoryCrashReport,
(...skipping 842 matching lines...) Expand 10 before | Expand all | Expand 10 after
1811 // Skip widgets in other processes. 1813 // Skip widgets in other processes.
1812 if (widget->GetProcess()->GetID() != GetID()) 1814 if (widget->GetProcess()->GetID() != GetID())
1813 continue; 1815 continue;
1814 1816
1815 RenderViewHost* rvh = RenderViewHost::From(widget); 1817 RenderViewHost* rvh = RenderViewHost::From(widget);
1816 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1818 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1817 } 1819 }
1818 } 1820 }
1819 1821
1820 } // namespace content 1822 } // namespace content
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/chrome_restart_request.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698