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

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

Issue 23796002: cc: Implement deadine scheduling disabled by default (Closed) Base URL: http://git.chromium.org/chromium/src.git@schedReadback4
Patch Set: rebase? Created 7 years, 3 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 990 matching lines...) Expand 10 before | Expand all | Expand 10 after
1001 switches::kTraceToConsole, 1001 switches::kTraceToConsole,
1002 switches::kEnableDeviceMotion, 1002 switches::kEnableDeviceMotion,
1003 #if defined(OS_ANDROID) 1003 #if defined(OS_ANDROID)
1004 switches::kDisableDeviceMotion, 1004 switches::kDisableDeviceMotion,
1005 #endif 1005 #endif
1006 // Please keep these in alphabetical order. Compositor switches here should 1006 // Please keep these in alphabetical order. Compositor switches here should
1007 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1007 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1008 cc::switches::kBackgroundColorInsteadOfCheckerboard, 1008 cc::switches::kBackgroundColorInsteadOfCheckerboard,
1009 cc::switches::kCompositeToMailbox, 1009 cc::switches::kCompositeToMailbox,
1010 cc::switches::kDisableCompositedAntialiasing, 1010 cc::switches::kDisableCompositedAntialiasing,
1011 cc::switches::kDisableDeadlineScheduling,
1011 cc::switches::kDisableImplSidePainting, 1012 cc::switches::kDisableImplSidePainting,
1012 cc::switches::kDisableMapImage, 1013 cc::switches::kDisableMapImage,
1013 cc::switches::kDisableThreadedAnimation, 1014 cc::switches::kDisableThreadedAnimation,
1015 cc::switches::kEnableDeadlineScheduling,
1014 cc::switches::kEnableImplSidePainting, 1016 cc::switches::kEnableImplSidePainting,
1015 cc::switches::kEnableMapImage, 1017 cc::switches::kEnableMapImage,
1016 cc::switches::kEnablePartialSwap, 1018 cc::switches::kEnablePartialSwap,
1017 cc::switches::kEnablePerTilePainting, 1019 cc::switches::kEnablePerTilePainting,
1018 cc::switches::kEnablePinchVirtualViewport, 1020 cc::switches::kEnablePinchVirtualViewport,
1019 cc::switches::kEnableTopControlsPositionCalculation, 1021 cc::switches::kEnableTopControlsPositionCalculation,
1020 cc::switches::kForceDirectLayerDrawing, 1022 cc::switches::kForceDirectLayerDrawing,
1021 cc::switches::kLowResolutionContentsScaleFactor, 1023 cc::switches::kLowResolutionContentsScaleFactor,
1022 cc::switches::kMaxTilesForInterestArea, 1024 cc::switches::kMaxTilesForInterestArea,
1023 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 1025 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
(...skipping 745 matching lines...) Expand 10 before | Expand all | Expand 10 after
1769 // Skip widgets in other processes. 1771 // Skip widgets in other processes.
1770 if (widgets[i]->GetProcess()->GetID() != GetID()) 1772 if (widgets[i]->GetProcess()->GetID() != GetID())
1771 continue; 1773 continue;
1772 1774
1773 RenderViewHost* rvh = RenderViewHost::From(widgets[i]); 1775 RenderViewHost* rvh = RenderViewHost::From(widgets[i]);
1774 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1776 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1775 } 1777 }
1776 } 1778 }
1777 1779
1778 } // namespace content 1780 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698