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 490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
501 int32 /* page_id */, | 501 int32 /* page_id */, |
502 bool /* result */) | 502 bool /* result */) |
503 | 503 |
504 // Updates the content restrictions, i.e. to disable print/copy. | 504 // Updates the content restrictions, i.e. to disable print/copy. |
505 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, | 505 IPC_MESSAGE_ROUTED1(ViewHostMsg_UpdateContentRestrictions, |
506 int /* restrictions */) | 506 int /* restrictions */) |
507 | 507 |
508 // The currently displayed PDF has an unsupported feature. | 508 // The currently displayed PDF has an unsupported feature. |
509 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) | 509 IPC_MESSAGE_ROUTED0(ViewHostMsg_PDFHasUnsupportedFeature) |
510 | 510 |
| 511 // Brings up SaveAs... dialog (similar to the wrench->SaveAs...). |
| 512 IPC_MESSAGE_ROUTED0(ViewHostMsg_SaveAs) |
| 513 |
511 // JavaScript related messages ----------------------------------------------- | 514 // JavaScript related messages ----------------------------------------------- |
512 | 515 |
513 // Notify the JavaScript engine in the render to change its parameters | 516 // Notify the JavaScript engine in the render to change its parameters |
514 // while performing stress testing. | 517 // while performing stress testing. |
515 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 518 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
516 int /* cmd */, | 519 int /* cmd */, |
517 int /* param */) | 520 int /* param */) |
518 | 521 |
519 // Register a new handler for URL requests with the given scheme. | 522 // Register a new handler for URL requests with the given scheme. |
520 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 523 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
521 std::string /* scheme */, | 524 std::string /* scheme */, |
522 GURL /* url */, | 525 GURL /* url */, |
523 string16 /* title */) | 526 string16 /* title */) |
OLD | NEW |