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

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

Issue 2339873002: Replace hide-scrollbars flag with a web setting. (Closed)
Patch Set: replace viewport test b/c overlay bars are hidden in layout tests. Created 4 years, 3 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 1641 matching lines...) Expand 10 before | Expand all | Expand 10 after
1652 switches::kEnableWebFontsInterventionV2, 1652 switches::kEnableWebFontsInterventionV2,
1653 switches::kEnableWebGLDraftExtensions, 1653 switches::kEnableWebGLDraftExtensions,
1654 switches::kEnableWebGLImageChromium, 1654 switches::kEnableWebGLImageChromium,
1655 switches::kEnableWebVR, 1655 switches::kEnableWebVR,
1656 switches::kExplicitlyAllowedPorts, 1656 switches::kExplicitlyAllowedPorts,
1657 switches::kForceDeviceScaleFactor, 1657 switches::kForceDeviceScaleFactor,
1658 switches::kForceDisplayList2dCanvas, 1658 switches::kForceDisplayList2dCanvas,
1659 switches::kEnableCanvas2dDynamicRenderingModeSwitching, 1659 switches::kEnableCanvas2dDynamicRenderingModeSwitching,
1660 switches::kForceOverlayFullscreenVideo, 1660 switches::kForceOverlayFullscreenVideo,
1661 switches::kFullMemoryCrashReport, 1661 switches::kFullMemoryCrashReport,
1662 switches::kHideScrollbars,
1663 switches::kInertVisualViewport, 1662 switches::kInertVisualViewport,
1664 switches::kIPCConnectionTimeout, 1663 switches::kIPCConnectionTimeout,
1665 switches::kIsRunningInMash, 1664 switches::kIsRunningInMash,
1666 switches::kJavaScriptFlags, 1665 switches::kJavaScriptFlags,
1667 switches::kLoggingLevel, 1666 switches::kLoggingLevel,
1668 switches::kMainFrameResizesAreOrientationChanges, 1667 switches::kMainFrameResizesAreOrientationChanges,
1669 switches::kMaxUntiledLayerWidth, 1668 switches::kMaxUntiledLayerWidth,
1670 switches::kMaxUntiledLayerHeight, 1669 switches::kMaxUntiledLayerHeight,
1671 switches::kMemoryMetrics, 1670 switches::kMemoryMetrics,
1672 switches::kMojoLocalStorage, 1671 switches::kMojoLocalStorage,
(...skipping 1292 matching lines...) Expand 10 before | Expand all | Expand 10 after
2965 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 2964 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
2966 2965
2967 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 2966 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
2968 // enough information here so that we can determine what the bad message was. 2967 // enough information here so that we can determine what the bad message was.
2969 base::debug::Alias(&error); 2968 base::debug::Alias(&error);
2970 bad_message::ReceivedBadMessage(process.get(), 2969 bad_message::ReceivedBadMessage(process.get(),
2971 bad_message::RPH_MOJO_PROCESS_ERROR); 2970 bad_message::RPH_MOJO_PROCESS_ERROR);
2972 } 2971 }
2973 2972
2974 } // namespace content 2973 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698