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

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: update histograms.xml 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 #include "services/shape_detection/public/interfaces/facedetection_provider.mojo m.h" 193 #include "services/shape_detection/public/interfaces/facedetection_provider.mojo m.h"
194 #include "services/shape_detection/public/interfaces/textdetection.mojom.h" 194 #include "services/shape_detection/public/interfaces/textdetection.mojom.h"
195 #include "storage/browser/fileapi/sandbox_file_system_backend.h" 195 #include "storage/browser/fileapi/sandbox_file_system_backend.h"
196 #include "third_party/WebKit/public/public_features.h" 196 #include "third_party/WebKit/public/public_features.h"
197 #include "third_party/skia/include/core/SkBitmap.h" 197 #include "third_party/skia/include/core/SkBitmap.h"
198 #include "ui/base/ui_base_switches.h" 198 #include "ui/base/ui_base_switches.h"
199 #include "ui/display/display_switches.h" 199 #include "ui/display/display_switches.h"
200 #include "ui/gfx/switches.h" 200 #include "ui/gfx/switches.h"
201 #include "ui/gl/gl_switches.h" 201 #include "ui/gl/gl_switches.h"
202 #include "ui/gl/gpu_switching_manager.h" 202 #include "ui/gl/gpu_switching_manager.h"
203 #include "ui/native_theme/native_theme_switches.h" 203 #include "ui/native_theme/native_theme_features.h"
204 204
205 #if defined(OS_ANDROID) 205 #if defined(OS_ANDROID)
206 #include "content/public/browser/android/java_interfaces.h" 206 #include "content/public/browser/android/java_interfaces.h"
207 #include "ipc/ipc_sync_channel.h" 207 #include "ipc/ipc_sync_channel.h"
208 #include "media/audio/android/audio_manager_android.h" 208 #include "media/audio/android/audio_manager_android.h"
209 #endif 209 #endif
210 210
211 #if defined(OS_WIN) 211 #if defined(OS_WIN)
212 #include "base/win/scoped_com_initializer.h" 212 #include "base/win/scoped_com_initializer.h"
213 #include "base/win/windows_version.h" 213 #include "base/win/windows_version.h"
(...skipping 1484 matching lines...) Expand 10 before | Expand all | Expand 10 after
1698 switches::kDisableGpuCompositing, 1698 switches::kDisableGpuCompositing,
1699 switches::kDisableGpuMemoryBufferVideoFrames, 1699 switches::kDisableGpuMemoryBufferVideoFrames,
1700 switches::kDisableGpuVsync, 1700 switches::kDisableGpuVsync,
1701 switches::kDisableLowResTiling, 1701 switches::kDisableLowResTiling,
1702 switches::kDisableHistogramCustomizer, 1702 switches::kDisableHistogramCustomizer,
1703 switches::kDisableLCDText, 1703 switches::kDisableLCDText,
1704 switches::kDisableLocalStorage, 1704 switches::kDisableLocalStorage,
1705 switches::kDisableLogging, 1705 switches::kDisableLogging,
1706 switches::kDisableMediaSuspend, 1706 switches::kDisableMediaSuspend,
1707 switches::kDisableNotifications, 1707 switches::kDisableNotifications,
1708 switches::kDisableOverlayScrollbar,
1709 switches::kDisablePepper3DImageChromium, 1708 switches::kDisablePepper3DImageChromium,
1710 switches::kDisablePermissionsAPI, 1709 switches::kDisablePermissionsAPI,
1711 switches::kDisablePresentationAPI, 1710 switches::kDisablePresentationAPI,
1712 switches::kDisablePinch, 1711 switches::kDisablePinch,
1713 switches::kDisableRGBA4444Textures, 1712 switches::kDisableRGBA4444Textures,
1714 switches::kDisableRTCSmoothnessAlgorithm, 1713 switches::kDisableRTCSmoothnessAlgorithm,
1715 switches::kDisableSeccompFilterSandbox, 1714 switches::kDisableSeccompFilterSandbox,
1716 switches::kDisableSharedWorkers, 1715 switches::kDisableSharedWorkers,
1717 switches::kDisableSlimmingPaintInvalidation, 1716 switches::kDisableSlimmingPaintInvalidation,
1718 switches::kDisableSmoothScrolling, 1717 switches::kDisableSmoothScrolling,
(...skipping 17 matching lines...) Expand all
1736 switches::kEnableGPUClientLogging, 1735 switches::kEnableGPUClientLogging,
1737 switches::kEnableGpuClientTracing, 1736 switches::kEnableGpuClientTracing,
1738 switches::kEnableGpuMemoryBufferVideoFrames, 1737 switches::kEnableGpuMemoryBufferVideoFrames,
1739 switches::kEnableGPUServiceLogging, 1738 switches::kEnableGPUServiceLogging,
1740 switches::kEnableLowResTiling, 1739 switches::kEnableLowResTiling,
1741 switches::kEnableMediaSuspend, 1740 switches::kEnableMediaSuspend,
1742 switches::kEnableInbandTextTracks, 1741 switches::kEnableInbandTextTracks,
1743 switches::kEnableLCDText, 1742 switches::kEnableLCDText,
1744 switches::kEnableLogging, 1743 switches::kEnableLogging,
1745 switches::kEnableNetworkInformation, 1744 switches::kEnableNetworkInformation,
1746 switches::kEnableOverlayScrollbar,
1747 switches::kEnableNewVp9CodecString, 1745 switches::kEnableNewVp9CodecString,
1748 switches::kEnablePinch, 1746 switches::kEnablePinch,
1749 switches::kEnablePluginPlaceholderTesting, 1747 switches::kEnablePluginPlaceholderTesting,
1750 switches::kEnablePreciseMemoryInfo, 1748 switches::kEnablePreciseMemoryInfo,
1751 switches::kEnablePrintBrowser, 1749 switches::kEnablePrintBrowser,
1752 switches::kEnablePreferCompositingToLCDText, 1750 switches::kEnablePreferCompositingToLCDText,
1753 switches::kEnableRGBA4444Textures, 1751 switches::kEnableRGBA4444Textures,
1754 switches::kEnableSkiaBenchmarking, 1752 switches::kEnableSkiaBenchmarking,
1755 switches::kEnableSlimmingPaintV2, 1753 switches::kEnableSlimmingPaintV2,
1756 switches::kEnableSlimmingPaintInvalidation, 1754 switches::kEnableSlimmingPaintInvalidation,
(...skipping 1301 matching lines...) Expand 10 before | Expand all | Expand 10 after
3058 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3056 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3059 3057
3060 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3058 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3061 // Capture the error message in a crash key value. 3059 // Capture the error message in a crash key value.
3062 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3060 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3063 bad_message::ReceivedBadMessage(render_process_id, 3061 bad_message::ReceivedBadMessage(render_process_id,
3064 bad_message::RPH_MOJO_PROCESS_ERROR); 3062 bad_message::RPH_MOJO_PROCESS_ERROR);
3065 } 3063 }
3066 3064
3067 } // namespace content 3065 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698