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

Side by Side Diff: chrome/common/render_messages.h

Issue 12881005: Allow CopyFromBackingStore to fallback to copying from the renderer side if the accelerated surface… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: uma Created 7 years, 9 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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 255
256 // For WebUI testing, this message stores parameters to do ScriptEvalRequest at 256 // For WebUI testing, this message stores parameters to do ScriptEvalRequest at
257 // a time which is late enough to not be thrown out, and early enough to be 257 // a time which is late enough to not be thrown out, and early enough to be
258 // before onload events are fired. 258 // before onload events are fired.
259 IPC_MESSAGE_ROUTED4(ChromeViewMsg_WebUIJavaScript, 259 IPC_MESSAGE_ROUTED4(ChromeViewMsg_WebUIJavaScript,
260 string16, /* frame_xpath */ 260 string16, /* frame_xpath */
261 string16, /* jscript_url */ 261 string16, /* jscript_url */
262 int, /* ID */ 262 int, /* ID */
263 bool /* If true, result is sent back. */) 263 bool /* If true, result is sent back. */)
264 264
265 // Tells the render view to capture a thumbnail image of the page. The
266 // render view responds with a ChromeViewHostMsg_Snapshot.
267 IPC_MESSAGE_ROUTED0(ChromeViewMsg_CaptureSnapshot)
268
269 // Set the content setting rules stored by the renderer. 265 // Set the content setting rules stored by the renderer.
270 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetContentSettingRules, 266 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetContentSettingRules,
271 RendererContentSettingRules /* rules */) 267 RendererContentSettingRules /* rules */)
272 268
273 // Tells the render view to load all blocked plugins with the given identifier. 269 // Tells the render view to load all blocked plugins with the given identifier.
274 IPC_MESSAGE_ROUTED1(ChromeViewMsg_LoadBlockedPlugins, 270 IPC_MESSAGE_ROUTED1(ChromeViewMsg_LoadBlockedPlugins,
275 std::string /* identifier */) 271 std::string /* identifier */)
276 272
277 // Asks the renderer to send back stats on the WebCore cache broken down by 273 // Asks the renderer to send back stats on the WebCore cache broken down by
278 // resource types. 274 // resource types.
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_OpenAboutPlugins) 543 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_OpenAboutPlugins)
548 544
549 // Tells the browser that there was an error loading a plug-in. 545 // Tells the browser that there was an error loading a plug-in.
550 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_CouldNotLoadPlugin, 546 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_CouldNotLoadPlugin,
551 base::FilePath /* plugin_path */) 547 base::FilePath /* plugin_path */)
552 548
553 // Tells the browser that we blocked a plug-in because NPAPI is not supported. 549 // Tells the browser that we blocked a plug-in because NPAPI is not supported.
554 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_NPAPINotSupported, 550 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_NPAPINotSupported,
555 std::string /* identifer */) 551 std::string /* identifer */)
556 552
557 // Send a snapshot of the tab contents to the render host.
558 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_Snapshot,
559 SkBitmap /* bitmap */)
560
561 // A message for an external host. 553 // A message for an external host.
562 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost, 554 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ForwardMessageToExternalHost,
563 std::string /* message */, 555 std::string /* message */,
564 std::string /* origin */, 556 std::string /* origin */,
565 std::string /* target */) 557 std::string /* target */)
566 558
567 // A renderer sends this to the browser process when it wants to start 559 // A renderer sends this to the browser process when it wants to start
568 // a new instance of the Native Client process. The browser will launch 560 // a new instance of the Native Client process. The browser will launch
569 // the process and return an IPC channel handle. This handle will only 561 // the process and return an IPC channel handle. This handle will only
570 // be valid if the NaCl IPC proxy is enabled. 562 // be valid if the NaCl IPC proxy is enabled.
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
737 // previous SetCookie message to be processed. 729 // previous SetCookie message to be processed.
738 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 730 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
739 GURL /* url */, 731 GURL /* url */,
740 GURL /* first_party_for_cookies */, 732 GURL /* first_party_for_cookies */,
741 std::string /* cookies */) 733 std::string /* cookies */)
742 734
743 // Provide the browser process with current renderer framerate. 735 // Provide the browser process with current renderer framerate.
744 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 736 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
745 int /* routing id */, 737 int /* routing id */,
746 float /* frames per second */) 738 float /* frames per second */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698