| 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 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 int32 /* page_id */, | 481 int32 /* page_id */, |
| 482 bool /* result */) | 482 bool /* result */) |
| 483 | 483 |
| 484 // Updates the content restrictions, i.e. to disable print/copy. | 484 // Updates the content restrictions, i.e. to disable print/copy. |
| 485 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, | 485 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, |
| 486 int /* restrictions */) | 486 int /* restrictions */) |
| 487 | 487 |
| 488 // The currently displayed PDF has an unsupported feature. | 488 // The currently displayed PDF has an unsupported feature. |
| 489 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) | 489 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) |
| 490 | 490 |
| 491 // Brings up SaveAs... dialog (similar to the wrench->SaveAs...). |
| 492 IPC_MESSAGE_ROUTED0(ViewHostMsg_SaveAs) |
| 493 |
| 491 // JavaScript related messages ----------------------------------------------- | 494 // JavaScript related messages ----------------------------------------------- |
| 492 | 495 |
| 493 // Notify the JavaScript engine in the render to change its parameters | 496 // Notify the JavaScript engine in the render to change its parameters |
| 494 // while performing stress testing. | 497 // while performing stress testing. |
| 495 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 498 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 496 int /* cmd */, | 499 int /* cmd */, |
| 497 int /* param */) | 500 int /* param */) |
| 498 | 501 |
| 499 // Register a new handler for URL requests with the given scheme. | 502 // Register a new handler for URL requests with the given scheme. |
| 500 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 503 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
| 501 std::string /* scheme */, | 504 std::string /* scheme */, |
| 502 GURL /* url */, | 505 GURL /* url */, |
| 503 string16 /* title */) | 506 string16 /* title */) |
| OLD | NEW |