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

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 on epenner's ManageTiles patch 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 1005 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 switches::kTraceToConsole, 1016 switches::kTraceToConsole,
1017 switches::kEnableDeviceMotion, 1017 switches::kEnableDeviceMotion,
1018 #if defined(OS_ANDROID) 1018 #if defined(OS_ANDROID)
1019 switches::kDisableDeviceMotion, 1019 switches::kDisableDeviceMotion,
1020 #endif 1020 #endif
1021 // Please keep these in alphabetical order. Compositor switches here should 1021 // Please keep these in alphabetical order. Compositor switches here should
1022 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1022 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1023 cc::switches::kBackgroundColorInsteadOfCheckerboard, 1023 cc::switches::kBackgroundColorInsteadOfCheckerboard,
1024 cc::switches::kCompositeToMailbox, 1024 cc::switches::kCompositeToMailbox,
1025 cc::switches::kDisableCompositedAntialiasing, 1025 cc::switches::kDisableCompositedAntialiasing,
1026 cc::switches::kDisableDeadlineScheduling,
1026 cc::switches::kDisableImplSidePainting, 1027 cc::switches::kDisableImplSidePainting,
1027 cc::switches::kDisableLCDText, 1028 cc::switches::kDisableLCDText,
1028 cc::switches::kDisableMapImage, 1029 cc::switches::kDisableMapImage,
1029 cc::switches::kDisableThreadedAnimation, 1030 cc::switches::kDisableThreadedAnimation,
1031 cc::switches::kEnableDeadlineScheduling,
1030 cc::switches::kEnableImplSidePainting, 1032 cc::switches::kEnableImplSidePainting,
1031 cc::switches::kEnableLCDText, 1033 cc::switches::kEnableLCDText,
1032 cc::switches::kEnableMapImage, 1034 cc::switches::kEnableMapImage,
1033 cc::switches::kEnablePartialSwap, 1035 cc::switches::kEnablePartialSwap,
1034 cc::switches::kEnablePerTilePainting, 1036 cc::switches::kEnablePerTilePainting,
1035 cc::switches::kEnablePinchVirtualViewport, 1037 cc::switches::kEnablePinchVirtualViewport,
1036 cc::switches::kEnableTopControlsPositionCalculation, 1038 cc::switches::kEnableTopControlsPositionCalculation,
1037 cc::switches::kForceDirectLayerDrawing, 1039 cc::switches::kForceDirectLayerDrawing,
1038 cc::switches::kLowResolutionContentsScaleFactor, 1040 cc::switches::kLowResolutionContentsScaleFactor,
1039 cc::switches::kMaxTilesForInterestArea, 1041 cc::switches::kMaxTilesForInterestArea,
(...skipping 747 matching lines...) Expand 10 before | Expand all | Expand 10 after
1787 // Skip widgets in other processes. 1789 // Skip widgets in other processes.
1788 if (widget->GetProcess()->GetID() != GetID()) 1790 if (widget->GetProcess()->GetID() != GetID())
1789 continue; 1791 continue;
1790 1792
1791 RenderViewHost* rvh = RenderViewHost::From(widget); 1793 RenderViewHost* rvh = RenderViewHost::From(widget);
1792 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1794 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1793 } 1795 }
1794 } 1796 }
1795 1797
1796 } // namespace content 1798 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698