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

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

Issue 2672983003: Implements PrintBrowser mode. (Closed)
Patch Set: Created 3 years, 10 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 1748 matching lines...) Expand 10 before | Expand all | Expand 10 after
1759 switches::kEnableLowResTiling, 1759 switches::kEnableLowResTiling,
1760 switches::kEnableMediaSuspend, 1760 switches::kEnableMediaSuspend,
1761 switches::kEnableInbandTextTracks, 1761 switches::kEnableInbandTextTracks,
1762 switches::kEnableLCDText, 1762 switches::kEnableLCDText,
1763 switches::kEnableLogging, 1763 switches::kEnableLogging,
1764 switches::kEnableNetworkInformation, 1764 switches::kEnableNetworkInformation,
1765 switches::kEnableOverlayScrollbar, 1765 switches::kEnableOverlayScrollbar,
1766 switches::kEnablePinch, 1766 switches::kEnablePinch,
1767 switches::kEnablePluginPlaceholderTesting, 1767 switches::kEnablePluginPlaceholderTesting,
1768 switches::kEnablePreciseMemoryInfo, 1768 switches::kEnablePreciseMemoryInfo,
1769 switches::kEnablePrintBrowser,
1769 switches::kEnablePreferCompositingToLCDText, 1770 switches::kEnablePreferCompositingToLCDText,
1770 switches::kEnableRGBA4444Textures, 1771 switches::kEnableRGBA4444Textures,
1771 switches::kEnableSkiaBenchmarking, 1772 switches::kEnableSkiaBenchmarking,
1772 switches::kEnableSlimmingPaintV2, 1773 switches::kEnableSlimmingPaintV2,
1773 switches::kEnableSlimmingPaintInvalidation, 1774 switches::kEnableSlimmingPaintInvalidation,
1774 switches::kEnableSmoothScrolling, 1775 switches::kEnableSmoothScrolling,
1775 switches::kEnableStatsTable, 1776 switches::kEnableStatsTable,
1776 switches::kEnableThreadedCompositing, 1777 switches::kEnableThreadedCompositing,
1777 switches::kEnableTouchDragDrop, 1778 switches::kEnableTouchDragDrop,
1778 switches::kEnableUseZoomForDSF, 1779 switches::kEnableUseZoomForDSF,
(...skipping 1294 matching lines...) Expand 10 before | Expand all | Expand 10 after
3073 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error; 3074 LOG(ERROR) << "Terminating render process for bad Mojo message: " << error;
3074 3075
3075 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing. 3076 // The ReceivedBadMessage call below will trigger a DumpWithoutCrashing.
3076 // Capture the error message in a crash key value. 3077 // Capture the error message in a crash key value.
3077 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error); 3078 base::debug::ScopedCrashKey error_key_value("mojo-message-error", error);
3078 bad_message::ReceivedBadMessage(render_process_id, 3079 bad_message::ReceivedBadMessage(render_process_id,
3079 bad_message::RPH_MOJO_PROCESS_ERROR); 3080 bad_message::RPH_MOJO_PROCESS_ERROR);
3080 } 3081 }
3081 3082
3082 } // namespace content 3083 } // namespace content
OLDNEW
« no previous file with comments | « no previous file | content/child/runtime_features.cc » ('j') | content/public/common/content_switches.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698