| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 448 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 459 int, /* page id */ | 459 int, /* page id */ |
| 460 std::string /* the original language */, | 460 std::string /* the original language */, |
| 461 std::string /* the translated language */, | 461 std::string /* the translated language */, |
| 462 TranslateErrors::Type /* the error type if available */) | 462 TranslateErrors::Type /* the error type if available */) |
| 463 | 463 |
| 464 // Message sent from the renderer to the browser to notify it of events which | 464 // Message sent from the renderer to the browser to notify it of events which |
| 465 // may lead to the cancellation of a prerender. The message is sent only when | 465 // may lead to the cancellation of a prerender. The message is sent only when |
| 466 // the renderer is prerendering. | 466 // the renderer is prerendering. |
| 467 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) | 467 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) |
| 468 | 468 |
| 469 // Message sent from the renderer to the browser to notify it of a |
| 470 // window.print() call which should cancel the prerender. The message is sent |
| 471 // only when the renderer is prerendering. |
| 472 IPC_MESSAGE_ROUTED0(ViewHostMsg_CancelPrerenderForPrinting) |
| 473 |
| 469 // Sent by the renderer to check if a URL has permission to trigger a clipboard | 474 // Sent by the renderer to check if a URL has permission to trigger a clipboard |
| 470 // read/write operation from the DOM. | 475 // read/write operation from the DOM. |
| 471 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardRead, | 476 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardRead, |
| 472 GURL /* url */, | 477 GURL /* url */, |
| 473 bool /* allowed */) | 478 bool /* allowed */) |
| 474 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardWrite, | 479 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardWrite, |
| 475 GURL /* url */, | 480 GURL /* url */, |
| 476 bool /* allowed */) | 481 bool /* allowed */) |
| 477 | 482 |
| 478 // Suggest results ----------------------------------------------------------- | 483 // Suggest results ----------------------------------------------------------- |
| 479 | 484 |
| 480 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetSuggestions, | 485 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetSuggestions, |
| 481 int32 /* page_id */, | 486 int32 /* page_id */, |
| 482 std::vector<std::string> /* suggestions */, | 487 std::vector<std::string> /* suggestions */, |
| 483 InstantCompleteBehavior) | 488 InstantCompleteBehavior) |
| 484 | 489 |
| 485 IPC_MESSAGE_ROUTED2(ViewHostMsg_InstantSupportDetermined, | 490 IPC_MESSAGE_ROUTED2(ViewHostMsg_InstantSupportDetermined, |
| 486 int32 /* page_id */, | 491 int32 /* page_id */, |
| 487 bool /* result */) | 492 bool /* result */) |
| 488 | 493 |
| 489 // JavaScript related messages ----------------------------------------------- | 494 // JavaScript related messages ----------------------------------------------- |
| 490 | 495 |
| 491 // Notify the JavaScript engine in the render to change its parameters | 496 // Notify the JavaScript engine in the render to change its parameters |
| 492 // while performing stress testing. | 497 // while performing stress testing. |
| 493 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 498 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 494 int /* cmd */, | 499 int /* cmd */, |
| 495 int /* param */) | 500 int /* param */) |
| OLD | NEW |