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

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

Issue 2806263005: Convert the overlay scrollbar flag to use FeatureList (Closed)
Patch Set: move feature_list_ change to SetUpCommandLine Created 3 years, 8 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 #include "services/shape_detection/public/interfaces/facedetection_provider.mojo m.h" 191 #include "services/shape_detection/public/interfaces/facedetection_provider.mojo m.h"
192 #include "services/shape_detection/public/interfaces/textdetection.mojom.h" 192 #include "services/shape_detection/public/interfaces/textdetection.mojom.h"
193 #include "storage/browser/fileapi/sandbox_file_system_backend.h" 193 #include "storage/browser/fileapi/sandbox_file_system_backend.h"
194 #include "third_party/WebKit/public/public_features.h" 194 #include "third_party/WebKit/public/public_features.h"
195 #include "third_party/skia/include/core/SkBitmap.h" 195 #include "third_party/skia/include/core/SkBitmap.h"
196 #include "ui/base/ui_base_switches.h" 196 #include "ui/base/ui_base_switches.h"
197 #include "ui/display/display_switches.h" 197 #include "ui/display/display_switches.h"
198 #include "ui/gfx/switches.h" 198 #include "ui/gfx/switches.h"
199 #include "ui/gl/gl_switches.h" 199 #include "ui/gl/gl_switches.h"
200 #include "ui/gl/gpu_switching_manager.h" 200 #include "ui/gl/gpu_switching_manager.h"
201 #include "ui/native_theme/native_theme_switches.h" 201 #include "ui/native_theme/native_theme_features.h"
202 202
203 #if defined(OS_ANDROID) 203 #if defined(OS_ANDROID)
204 #include "content/public/browser/android/java_interfaces.h" 204 #include "content/public/browser/android/java_interfaces.h"
205 #include "ipc/ipc_sync_channel.h" 205 #include "ipc/ipc_sync_channel.h"
206 #include "media/audio/android/audio_manager_android.h" 206 #include "media/audio/android/audio_manager_android.h"
207 #endif 207 #endif
208 208
209 #if defined(OS_WIN) 209 #if defined(OS_WIN)
210 #include "base/win/scoped_com_initializer.h" 210 #include "base/win/scoped_com_initializer.h"
211 #include "base/win/windows_version.h" 211 #include "base/win/windows_version.h"
(...skipping 1495 matching lines...) Expand 10 before | Expand all | Expand 10 after
1707 switches::kDisableGpuCompositing, 1707 switches::kDisableGpuCompositing,
1708 switches::kDisableGpuMemoryBufferVideoFrames, 1708 switches::kDisableGpuMemoryBufferVideoFrames,
1709 switches::kDisableGpuVsync, 1709 switches::kDisableGpuVsync,
1710 switches::kDisableLowResTiling, 1710 switches::kDisableLowResTiling,
1711 switches::kDisableHistogramCustomizer, 1711 switches::kDisableHistogramCustomizer,
1712 switches::kDisableLCDText, 1712 switches::kDisableLCDText,
1713 switches::kDisableLocalStorage, 1713 switches::kDisableLocalStorage,
1714 switches::kDisableLogging, 1714 switches::kDisableLogging,
1715 switches::kDisableMediaSuspend, 1715 switches::kDisableMediaSuspend,
1716 switches::kDisableNotifications, 1716 switches::kDisableNotifications,
1717 switches::kDisableOverlayScrollbar,
1718 switches::kDisablePepper3DImageChromium, 1717 switches::kDisablePepper3DImageChromium,
1719 switches::kDisablePermissionsAPI, 1718 switches::kDisablePermissionsAPI,
1720 switches::kDisablePresentationAPI, 1719 switches::kDisablePresentationAPI,
1721 switches::kDisablePinch, 1720 switches::kDisablePinch,
1722 switches::kDisableRGBA4444Textures, 1721 switches::kDisableRGBA4444Textures,
1723 switches::kDisableRTCSmoothnessAlgorithm, 1722 switches::kDisableRTCSmoothnessAlgorithm,
1724 switches::kDisableSeccompFilterSandbox, 1723 switches::kDisableSeccompFilterSandbox,
1725 switches::kDisableSharedWorkers, 1724 switches::kDisableSharedWorkers,
1726 switches::kDisableSlimmingPaintInvalidation, 1725 switches::kDisableSlimmingPaintInvalidation,
1727 switches::kDisableSmoothScrolling, 1726 switches::kDisableSmoothScrolling,
(...skipping 18 matching lines...) Expand all
1746 switches::kEnableGpuClientTracing, 1745 switches::kEnableGpuClientTracing,
1747 switches::kEnableGpuMemoryBufferVideoFrames, 1746 switches::kEnableGpuMemoryBufferVideoFrames,
1748 switches::kEnableGPUServiceLogging, 1747 switches::kEnableGPUServiceLogging,
1749 switches::kEnableLowResTiling, 1748 switches::kEnableLowResTiling,
1750 switches::kEnableMediaSuspend, 1749 switches::kEnableMediaSuspend,
1751 switches::kEnableInbandTextTracks, 1750 switches::kEnableInbandTextTracks,
1752 switches::kEnableLCDText, 1751 switches::kEnableLCDText,
1753 switches::kEnableLogging, 1752 switches::kEnableLogging,
1754 switches::kEnableNetworkInformation, 1753 switches::kEnableNetworkInformation,
1755 switches::kEnableNetworkService, 1754 switches::kEnableNetworkService,
1756 switches::kEnableOverlayScrollbar,
1757 switches::kEnableNewVp9CodecString, 1755 switches::kEnableNewVp9CodecString,
1758 switches::kEnablePinch, 1756 switches::kEnablePinch,
1759 switches::kEnablePluginPlaceholderTesting, 1757 switches::kEnablePluginPlaceholderTesting,
1760 switches::kEnablePreciseMemoryInfo, 1758 switches::kEnablePreciseMemoryInfo,
1761 switches::kEnablePrintBrowser, 1759 switches::kEnablePrintBrowser,
1762 switches::kEnablePreferCompositingToLCDText, 1760 switches::kEnablePreferCompositingToLCDText,
1763 switches::kEnableRGBA4444Textures, 1761 switches::kEnableRGBA4444Textures,
1764 switches::kEnableSkiaBenchmarking, 1762 switches::kEnableSkiaBenchmarking,
1765 switches::kEnableSlimmingPaintV2, 1763 switches::kEnableSlimmingPaintV2,
1766 switches::kEnableSlimmingPaintInvalidation, 1764 switches::kEnableSlimmingPaintInvalidation,
(...skipping 1318 matching lines...) Expand 10 before | Expand all | Expand 10 after
3085 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3083 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3086 3084
3087 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3085 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3088 // Capture the error message in a crash key value. 3086 // Capture the error message in a crash key value.
3089 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3087 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3090 bad_message::ReceivedBadMessage(render_process_id, 3088 bad_message::ReceivedBadMessage(render_process_id,
3091 bad_message::RPH_MOJO_PROCESS_ERROR); 3089 bad_message::RPH_MOJO_PROCESS_ERROR);
3092 } 3090 }
3093 3091
3094 } // namespace content 3092 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/android/content_startup_flags.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698