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

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

Issue 2871893002: color: Ensure solid color IOSurface layers are sRGB (Closed)
Patch Set: Fix up deps Created 3 years, 7 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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 1751 matching lines...) Expand 10 before | Expand all | Expand 10 after
1762 switches::kDisableSpeechAPI, 1762 switches::kDisableSpeechAPI,
1763 switches::kDisableThreadedCompositing, 1763 switches::kDisableThreadedCompositing,
1764 switches::kDisableThreadedScrolling, 1764 switches::kDisableThreadedScrolling,
1765 switches::kDisableTouchAdjustment, 1765 switches::kDisableTouchAdjustment,
1766 switches::kDisableTouchDragDrop, 1766 switches::kDisableTouchDragDrop,
1767 switches::kDisableV8IdleTasks, 1767 switches::kDisableV8IdleTasks,
1768 switches::kDisableWebGLImageChromium, 1768 switches::kDisableWebGLImageChromium,
1769 switches::kDomAutomationController, 1769 switches::kDomAutomationController,
1770 switches::kEnableBlinkFeatures, 1770 switches::kEnableBlinkFeatures,
1771 switches::kEnableBrowserSideNavigation, 1771 switches::kEnableBrowserSideNavigation,
1772 switches::kEnableColorCorrectRendering,
1772 switches::kEnableColorCorrectRenderingDefaultMode, 1773 switches::kEnableColorCorrectRenderingDefaultMode,
1773 switches::kEnableDisplayList2dCanvas, 1774 switches::kEnableDisplayList2dCanvas,
1774 switches::kEnableDistanceFieldText, 1775 switches::kEnableDistanceFieldText,
1775 switches::kEnableExperimentalCanvasFeatures, 1776 switches::kEnableExperimentalCanvasFeatures,
1776 switches::kEnableExperimentalWebPlatformFeatures, 1777 switches::kEnableExperimentalWebPlatformFeatures,
1777 switches::kEnableHDR, 1778 switches::kEnableHDR,
1778 switches::kEnableHeapProfiling, 1779 switches::kEnableHeapProfiling,
1779 switches::kEnableGPUClientLogging, 1780 switches::kEnableGPUClientLogging,
1780 switches::kEnableGpuClientTracing, 1781 switches::kEnableGpuClientTracing,
1781 switches::kEnableGpuMemoryBufferVideoFrames, 1782 switches::kEnableGpuMemoryBufferVideoFrames,
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
1860 switches::kV, 1861 switches::kV,
1861 switches::kV8CacheStrategiesForCacheStorage, 1862 switches::kV8CacheStrategiesForCacheStorage,
1862 switches::kVideoThreads, 1863 switches::kVideoThreads,
1863 switches::kVideoUnderflowThresholdMs, 1864 switches::kVideoUnderflowThresholdMs,
1864 switches::kVModule, 1865 switches::kVModule,
1865 // Please keep these in alphabetical order. Compositor switches here should 1866 // Please keep these in alphabetical order. Compositor switches here should
1866 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc. 1867 // also be added to chrome/browser/chromeos/login/chrome_restart_request.cc.
1867 cc::switches::kDisableCompositedAntialiasing, 1868 cc::switches::kDisableCompositedAntialiasing,
1868 cc::switches::kDisableThreadedAnimation, 1869 cc::switches::kDisableThreadedAnimation,
1869 cc::switches::kEnableCheckerImaging, 1870 cc::switches::kEnableCheckerImaging,
1870 cc::switches::kEnableColorCorrectRendering,
1871 cc::switches::kEnableGpuBenchmarking, 1871 cc::switches::kEnableGpuBenchmarking,
1872 cc::switches::kEnableLayerLists, 1872 cc::switches::kEnableLayerLists,
1873 cc::switches::kEnableSurfaceSynchronization, 1873 cc::switches::kEnableSurfaceSynchronization,
1874 cc::switches::kEnableTileCompression, 1874 cc::switches::kEnableTileCompression,
1875 cc::switches::kShowCompositedLayerBorders, 1875 cc::switches::kShowCompositedLayerBorders,
1876 cc::switches::kShowFPSCounter, 1876 cc::switches::kShowFPSCounter,
1877 cc::switches::kShowLayerAnimationBounds, 1877 cc::switches::kShowLayerAnimationBounds,
1878 cc::switches::kShowPropertyChangedRects, 1878 cc::switches::kShowPropertyChangedRects,
1879 cc::switches::kShowScreenSpaceRects, 1879 cc::switches::kShowScreenSpaceRects,
1880 cc::switches::kShowSurfaceDamageRects, 1880 cc::switches::kShowSurfaceDamageRects,
(...skipping 1231 matching lines...) Expand 10 before | Expand all | Expand 10 after
3112 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3112 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3113 3113
3114 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3114 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3115 // Capture the error message in a crash key value. 3115 // Capture the error message in a crash key value.
3116 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3116 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3117 bad_message::ReceivedBadMessage(render_process_id, 3117 bad_message::ReceivedBadMessage(render_process_id,
3118 bad_message::RPH_MOJO_PROCESS_ERROR); 3118 bad_message::RPH_MOJO_PROCESS_ERROR);
3119 } 3119 }
3120 3120
3121 } // namespace content 3121 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698