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