| 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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 int, /* page id */ | 434 int, /* page id */ |
| 435 std::string /* the original language */, | 435 std::string /* the original language */, |
| 436 std::string /* the translated language */, | 436 std::string /* the translated language */, |
| 437 TranslateErrors::Type /* the error type if available */) | 437 TranslateErrors::Type /* the error type if available */) |
| 438 | 438 |
| 439 // Message sent from the renderer to the browser to notify it of events which | 439 // Message sent from the renderer to the browser to notify it of events which |
| 440 // may lead to the cancellation of a prerender. The message is sent only when | 440 // may lead to the cancellation of a prerender. The message is sent only when |
| 441 // the renderer is prerendering. | 441 // the renderer is prerendering. |
| 442 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) | 442 IPC_MESSAGE_ROUTED0(ViewHostMsg_MaybeCancelPrerenderForHTML5Media) |
| 443 | 443 |
| 444 // Sent by the renderer to check if a URL has permission to trigger a clipboard |
| 445 // read/write operation from the DOM. |
| 446 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardRead, |
| 447 GURL /* url */, |
| 448 bool /* allowed */) |
| 449 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_CanTriggerClipboardWrite, |
| 450 GURL /* url */, |
| 451 bool /* allowed */) |
| 452 |
| 444 // Suggest results ----------------------------------------------------------- | 453 // Suggest results ----------------------------------------------------------- |
| 445 | 454 |
| 446 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetSuggestions, | 455 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetSuggestions, |
| 447 int32 /* page_id */, | 456 int32 /* page_id */, |
| 448 std::vector<std::string> /* suggestions */, | 457 std::vector<std::string> /* suggestions */, |
| 449 InstantCompleteBehavior) | 458 InstantCompleteBehavior) |
| 450 | 459 |
| 451 IPC_MESSAGE_ROUTED2(ViewHostMsg_InstantSupportDetermined, | 460 IPC_MESSAGE_ROUTED2(ViewHostMsg_InstantSupportDetermined, |
| 452 int32 /* page_id */, | 461 int32 /* page_id */, |
| 453 bool /* result */) | 462 bool /* result */) |
| 454 | 463 |
| 455 // JavaScript related messages ----------------------------------------------- | 464 // JavaScript related messages ----------------------------------------------- |
| 456 | 465 |
| 457 // Notify the JavaScript engine in the render to change its parameters | 466 // Notify the JavaScript engine in the render to change its parameters |
| 458 // while performing stress testing. | 467 // while performing stress testing. |
| 459 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 468 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 460 int /* cmd */, | 469 int /* cmd */, |
| 461 int /* param */) | 470 int /* param */) |
| OLD | NEW |