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

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

Issue 2175163005: Add flag to hide scrollbars completely. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix ShouldHideScrollbars(). Created 4 years, 4 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 1457 matching lines...) Expand 10 before | Expand all | Expand 10 after
1468 switches::kEnableWebFontsInterventionV2, 1468 switches::kEnableWebFontsInterventionV2,
1469 switches::kEnableWebGLDraftExtensions, 1469 switches::kEnableWebGLDraftExtensions,
1470 switches::kEnableWebGLImageChromium, 1470 switches::kEnableWebGLImageChromium,
1471 switches::kEnableWebVR, 1471 switches::kEnableWebVR,
1472 switches::kExplicitlyAllowedPorts, 1472 switches::kExplicitlyAllowedPorts,
1473 switches::kForceDeviceScaleFactor, 1473 switches::kForceDeviceScaleFactor,
1474 switches::kForceDisplayList2dCanvas, 1474 switches::kForceDisplayList2dCanvas,
1475 switches::kEnableCanvas2dDynamicRenderingModeSwitching, 1475 switches::kEnableCanvas2dDynamicRenderingModeSwitching,
1476 switches::kForceOverlayFullscreenVideo, 1476 switches::kForceOverlayFullscreenVideo,
1477 switches::kFullMemoryCrashReport, 1477 switches::kFullMemoryCrashReport,
1478 switches::kHideScrollbars,
1478 switches::kInertVisualViewport, 1479 switches::kInertVisualViewport,
1479 switches::kIPCConnectionTimeout, 1480 switches::kIPCConnectionTimeout,
1480 switches::kIsRunningInMash, 1481 switches::kIsRunningInMash,
1481 switches::kJavaScriptFlags, 1482 switches::kJavaScriptFlags,
1482 switches::kLoggingLevel, 1483 switches::kLoggingLevel,
1483 switches::kMainFrameResizesAreOrientationChanges, 1484 switches::kMainFrameResizesAreOrientationChanges,
1484 switches::kMaxUntiledLayerWidth, 1485 switches::kMaxUntiledLayerWidth,
1485 switches::kMaxUntiledLayerHeight, 1486 switches::kMaxUntiledLayerHeight,
1486 switches::kMemoryMetrics, 1487 switches::kMemoryMetrics,
1487 switches::kMojoLocalStorage, 1488 switches::kMojoLocalStorage,
(...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after
2764 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 2765 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
2765 2766
2766 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias 2767 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. Alias
2767 // enough information here so that we can determine what the bad message was. 2768 // enough information here so that we can determine what the bad message was.
2768 base::debug::Alias(&error); 2769 base::debug::Alias(&error);
2769 bad_message::ReceivedBadMessage(process.get(), 2770 bad_message::ReceivedBadMessage(process.get(),
2770 bad_message::RPH_MOJO_PROCESS_ERROR); 2771 bad_message::RPH_MOJO_PROCESS_ERROR);
2771 } 2772 }
2772 2773
2773 } // namespace content 2774 } // namespace content
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | content/renderer/gpu/render_widget_compositor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698