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

Side by Side Diff: content/common/view_messages.h

Issue 10534099: Delete code used to invert web content for high-contrast mode. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Added back include that's needed by other code Created 8 years, 6 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/process.h" 8 #include "base/process.h"
9 #include "base/shared_memory.h" 9 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1231 1231
1232 // Instructs the renderer to save the current page to MHTML. 1232 // Instructs the renderer to save the current page to MHTML.
1233 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML, 1233 IPC_MESSAGE_ROUTED2(ViewMsg_SavePageAsMHTML,
1234 int /* job_id */, 1234 int /* job_id */,
1235 IPC::PlatformFileForTransit /* file handle */) 1235 IPC::PlatformFileForTransit /* file handle */)
1236 1236
1237 // Temporary message to diagnose an unexpected condition in WebContentsImpl. 1237 // Temporary message to diagnose an unexpected condition in WebContentsImpl.
1238 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData, 1238 IPC_MESSAGE_CONTROL1(ViewMsg_TempCrashWithData,
1239 GURL /* data */) 1239 GURL /* data */)
1240 1240
1241 // Enable or disable inverting of web content pixels, for users who prefer
1242 // white-on-black.
1243 IPC_MESSAGE_ROUTED1(ViewMsg_InvertWebContent,
1244 bool /* invert */)
1245
1246 // Change the accessibility mode in the renderer process. 1241 // Change the accessibility mode in the renderer process.
1247 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode, 1242 IPC_MESSAGE_ROUTED1(ViewMsg_SetAccessibilityMode,
1248 AccessibilityMode) 1243 AccessibilityMode)
1249 1244
1250 // ----------------------------------------------------------------------------- 1245 // -----------------------------------------------------------------------------
1251 // Messages sent from the renderer to the browser. 1246 // Messages sent from the renderer to the browser.
1252 1247
1253 // Sent by the renderer when it is creating a new window. The browser creates 1248 // Sent by the renderer when it is creating a new window. The browser creates
1254 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is 1249 // a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
1255 // MSG_ROUTING_NONE, the view couldn't be created. 1250 // MSG_ROUTING_NONE, the view couldn't be created.
(...skipping 837 matching lines...) Expand 10 before | Expand all | Expand 10 after
2093 // (according to the value of is_hung). The browser can give the user the 2088 // (according to the value of is_hung). The browser can give the user the
2094 // option of killing the plugin. 2089 // option of killing the plugin.
2095 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung, 2090 IPC_MESSAGE_ROUTED3(ViewHostMsg_PepperPluginHung,
2096 int /* plugin_child_id */, 2091 int /* plugin_child_id */,
2097 FilePath /* path */, 2092 FilePath /* path */,
2098 bool /* is_hung */) 2093 bool /* is_hung */)
2099 2094
2100 // Screen was rotated. Dispatched to the onorientationchange javascript API. 2095 // Screen was rotated. Dispatched to the onorientationchange javascript API.
2101 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent, 2096 IPC_MESSAGE_ROUTED1(ViewMsg_OrientationChangeEvent,
2102 int /* orientation */) 2097 int /* orientation */)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_view_host_impl.cc ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698