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

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

Issue 2851453003: Revert of Rename kDisableGestureRequirementForMediaPlayback and make it a test-only flag. (Closed)
Patch Set: 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 1740 matching lines...) Expand 10 before | Expand all | Expand 10 after
1751 switches::kDisableAcceleratedJpegDecoding, 1751 switches::kDisableAcceleratedJpegDecoding,
1752 switches::kDisableAcceleratedVideoDecode, 1752 switches::kDisableAcceleratedVideoDecode,
1753 switches::kDisableBackgroundTimerThrottling, 1753 switches::kDisableBackgroundTimerThrottling,
1754 switches::kDisableBlinkFeatures, 1754 switches::kDisableBlinkFeatures,
1755 switches::kDisableBreakpad, 1755 switches::kDisableBreakpad,
1756 switches::kDisablePreferCompositingToLCDText, 1756 switches::kDisablePreferCompositingToLCDText,
1757 switches::kDisableDatabases, 1757 switches::kDisableDatabases,
1758 switches::kDisableDisplayList2dCanvas, 1758 switches::kDisableDisplayList2dCanvas,
1759 switches::kDisableDistanceFieldText, 1759 switches::kDisableDistanceFieldText,
1760 switches::kDisableFileSystem, 1760 switches::kDisableFileSystem,
1761 switches::kDisableGestureRequirementForMediaPlayback,
1761 switches::kDisableGestureRequirementForPresentation, 1762 switches::kDisableGestureRequirementForPresentation,
1762 switches::kDisableGpuCompositing, 1763 switches::kDisableGpuCompositing,
1763 switches::kDisableGpuMemoryBufferVideoFrames, 1764 switches::kDisableGpuMemoryBufferVideoFrames,
1764 switches::kDisableGpuVsync, 1765 switches::kDisableGpuVsync,
1765 switches::kDisableLowResTiling, 1766 switches::kDisableLowResTiling,
1766 switches::kDisableHistogramCustomizer, 1767 switches::kDisableHistogramCustomizer,
1767 switches::kDisableLCDText, 1768 switches::kDisableLCDText,
1768 switches::kDisableLocalStorage, 1769 switches::kDisableLocalStorage,
1769 switches::kDisableLogging, 1770 switches::kDisableLogging,
1770 switches::kDisableMediaSuspend, 1771 switches::kDisableMediaSuspend,
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1831 switches::kEnableWebGLImageChromium, 1832 switches::kEnableWebGLImageChromium,
1832 switches::kEnableWebVR, 1833 switches::kEnableWebVR,
1833 switches::kExplicitlyAllowedPorts, 1834 switches::kExplicitlyAllowedPorts,
1834 switches::kForceDeviceScaleFactor, 1835 switches::kForceDeviceScaleFactor,
1835 switches::kForceDisplayList2dCanvas, 1836 switches::kForceDisplayList2dCanvas,
1836 switches::kForceGpuMemAvailableMb, 1837 switches::kForceGpuMemAvailableMb,
1837 switches::kForceGpuRasterization, 1838 switches::kForceGpuRasterization,
1838 switches::kEnableCanvas2dDynamicRenderingModeSwitching, 1839 switches::kEnableCanvas2dDynamicRenderingModeSwitching,
1839 switches::kForceOverlayFullscreenVideo, 1840 switches::kForceOverlayFullscreenVideo,
1840 switches::kFullMemoryCrashReport, 1841 switches::kFullMemoryCrashReport,
1841 switches::kIgnoreAutoplayRestrictionsForTests,
1842 switches::kInertVisualViewport, 1842 switches::kInertVisualViewport,
1843 switches::kIPCConnectionTimeout, 1843 switches::kIPCConnectionTimeout,
1844 switches::kIsRunningInMash, 1844 switches::kIsRunningInMash,
1845 switches::kJavaScriptFlags, 1845 switches::kJavaScriptFlags,
1846 switches::kLoggingLevel, 1846 switches::kLoggingLevel,
1847 switches::kMainFrameResizesAreOrientationChanges, 1847 switches::kMainFrameResizesAreOrientationChanges,
1848 switches::kMaxUntiledLayerWidth, 1848 switches::kMaxUntiledLayerWidth,
1849 switches::kMaxUntiledLayerHeight, 1849 switches::kMaxUntiledLayerHeight,
1850 switches::kMemoryMetrics, 1850 switches::kMemoryMetrics,
1851 switches::kMojoLocalStorage, 1851 switches::kMojoLocalStorage,
(...skipping 1282 matching lines...) Expand 10 before | Expand all | Expand 10 after
3134 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3134 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3135 3135
3136 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3136 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3137 // Capture the error message in a crash key value. 3137 // Capture the error message in a crash key value.
3138 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3138 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3139 bad_message::ReceivedBadMessage(render_process_id, 3139 bad_message::ReceivedBadMessage(render_process_id,
3140 bad_message::RPH_MOJO_PROCESS_ERROR); 3140 bad_message::RPH_MOJO_PROCESS_ERROR);
3141 } 3141 }
3142 3142
3143 } // namespace content 3143 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698