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

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

Issue 92853002: Support for drawing a debug border around animated layers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add ui version of the flag. Created 7 years 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
« no previous file with comments | « cc/layers/layer_impl.h ('k') | content/renderer/gpu/render_widget_compositor.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 #include <algorithm> 10 #include <algorithm>
(...skipping 1040 matching lines...) Expand 10 before | Expand all | Expand 10 after
1051 // --in-process-webgl. 1051 // --in-process-webgl.
1052 switches::kUseGL, 1052 switches::kUseGL,
1053 switches::kUseMobileUserAgent, 1053 switches::kUseMobileUserAgent,
1054 switches::kUserAgent, 1054 switches::kUserAgent,
1055 switches::kV, 1055 switches::kV,
1056 switches::kVideoThreads, 1056 switches::kVideoThreads,
1057 switches::kVModule, 1057 switches::kVModule,
1058 switches::kWebCoreLogChannels, 1058 switches::kWebCoreLogChannels,
1059 switches::kWebGLCommandBufferSizeKb, 1059 switches::kWebGLCommandBufferSizeKb,
1060 // Please keep these in alphabetical order. Compositor switches here should 1060 // Please keep these in alphabetical order. Compositor switches here should
1061 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1061 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
danakj 2013/12/09 21:51:24 You need to duplicate this switch here as well, so
1062 cc::switches::kBackgroundColorInsteadOfCheckerboard, 1062 cc::switches::kBackgroundColorInsteadOfCheckerboard,
1063 cc::switches::kCompositeToMailbox, 1063 cc::switches::kCompositeToMailbox,
1064 cc::switches::kDisableCompositedAntialiasing, 1064 cc::switches::kDisableCompositedAntialiasing,
1065 cc::switches::kDisableCompositorTouchHitTesting, 1065 cc::switches::kDisableCompositorTouchHitTesting,
1066 cc::switches::kDisableImplSidePainting, 1066 cc::switches::kDisableImplSidePainting,
1067 cc::switches::kDisableLCDText, 1067 cc::switches::kDisableLCDText,
1068 cc::switches::kDisableMapImage, 1068 cc::switches::kDisableMapImage,
1069 cc::switches::kDisableThreadedAnimation, 1069 cc::switches::kDisableThreadedAnimation,
1070 cc::switches::kEnableGPURasterization, 1070 cc::switches::kEnableGPURasterization,
1071 cc::switches::kEnableImplSidePainting, 1071 cc::switches::kEnableImplSidePainting,
1072 cc::switches::kEnableLCDText, 1072 cc::switches::kEnableLCDText,
1073 cc::switches::kEnableMapImage, 1073 cc::switches::kEnableMapImage,
1074 cc::switches::kEnablePartialSwap, 1074 cc::switches::kEnablePartialSwap,
1075 cc::switches::kEnablePerTilePainting, 1075 cc::switches::kEnablePerTilePainting,
1076 cc::switches::kEnablePinchVirtualViewport, 1076 cc::switches::kEnablePinchVirtualViewport,
1077 cc::switches::kEnableTopControlsPositionCalculation, 1077 cc::switches::kEnableTopControlsPositionCalculation,
1078 cc::switches::kMaxTilesForInterestArea, 1078 cc::switches::kMaxTilesForInterestArea,
1079 cc::switches::kMaxUnusedResourceMemoryUsagePercentage, 1079 cc::switches::kMaxUnusedResourceMemoryUsagePercentage,
1080 cc::switches::kNumRasterThreads, 1080 cc::switches::kNumRasterThreads,
1081 cc::switches::kShowLayerAnimationBounds,
1081 cc::switches::kShowCompositedLayerBorders, 1082 cc::switches::kShowCompositedLayerBorders,
1082 cc::switches::kShowFPSCounter, 1083 cc::switches::kShowFPSCounter,
1083 cc::switches::kShowNonOccludingRects, 1084 cc::switches::kShowNonOccludingRects,
1084 cc::switches::kShowOccludingRects, 1085 cc::switches::kShowOccludingRects,
1085 cc::switches::kShowPropertyChangedRects, 1086 cc::switches::kShowPropertyChangedRects,
1086 cc::switches::kShowReplicaScreenSpaceRects, 1087 cc::switches::kShowReplicaScreenSpaceRects,
1087 cc::switches::kShowScreenSpaceRects, 1088 cc::switches::kShowScreenSpaceRects,
1088 cc::switches::kShowSurfaceDamageRects, 1089 cc::switches::kShowSurfaceDamageRects,
1089 cc::switches::kSlowDownRasterScaleFactor, 1090 cc::switches::kSlowDownRasterScaleFactor,
1090 cc::switches::kStrictLayerPropertyChangeChecking, 1091 cc::switches::kStrictLayerPropertyChangeChecking,
(...skipping 806 matching lines...) Expand 10 before | Expand all | Expand 10 after
1897 // Skip widgets in other processes. 1898 // Skip widgets in other processes.
1898 if (widget->GetProcess()->GetID() != GetID()) 1899 if (widget->GetProcess()->GetID() != GetID())
1899 continue; 1900 continue;
1900 1901
1901 RenderViewHost* rvh = RenderViewHost::From(widget); 1902 RenderViewHost* rvh = RenderViewHost::From(widget);
1902 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences()); 1903 rvh->UpdateWebkitPreferences(rvh->GetWebkitPreferences());
1903 } 1904 }
1904 } 1905 }
1905 1906
1906 } // namespace content 1907 } // namespace content
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.h ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698