OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
496 // In contrast to ViewHostMsg_GetPluginInfo in content/, this IPC call knows | 496 // In contrast to ViewHostMsg_GetPluginInfo in content/, this IPC call knows |
497 // about specific reasons why a plug-in can't be used, for example because it's | 497 // about specific reasons why a plug-in can't be used, for example because it's |
498 // disabled. | 498 // disabled. |
499 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_GetPluginInfo, | 499 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_GetPluginInfo, |
500 int /* render_view_id */, | 500 int /* render_view_id */, |
501 GURL /* url */, | 501 GURL /* url */, |
502 GURL /* top origin url */, | 502 GURL /* top origin url */, |
503 std::string /* mime_type */, | 503 std::string /* mime_type */, |
504 ChromeViewHostMsg_GetPluginInfo_Output /* output */) | 504 ChromeViewHostMsg_GetPluginInfo_Output /* output */) |
505 | 505 |
506 // Returns whether any Pepper plugin supporting |mime_type| is registered | |
507 // Does not determine whether the plugin could actually be instantiated | |
508 // (i.e. by checking Content Settings). | |
scherkus (not reviewing)
2013/09/16 17:42:05
ditto on grammar (see my other comment)
ddorwin
2013/09/16 18:28:58
Done.
| |
509 IPC_SYNC_MESSAGE_CONTROL1_1( | |
510 ChromeViewHostMsg_IsPepperPluginRegisteredForMimeType, | |
511 std::string /* mime_type */, | |
512 bool /* registered */) | |
513 | |
506 #if defined(ENABLE_PLUGIN_INSTALLATION) | 514 #if defined(ENABLE_PLUGIN_INSTALLATION) |
507 // Tells the browser to search for a plug-in that can handle the given MIME | 515 // Tells the browser to search for a plug-in that can handle the given MIME |
508 // type. The result will be sent asynchronously to the routing ID | 516 // type. The result will be sent asynchronously to the routing ID |
509 // |placeholder_id|. | 517 // |placeholder_id|. |
510 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FindMissingPlugin, | 518 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FindMissingPlugin, |
511 int /* placeholder_id */, | 519 int /* placeholder_id */, |
512 std::string /* mime_type */) | 520 std::string /* mime_type */) |
513 | 521 |
514 // Notifies the browser that a missing plug-in placeholder has been removed, so | 522 // Notifies the browser that a missing plug-in placeholder has been removed, so |
515 // the corresponding PluginPlaceholderHost can be deleted. | 523 // the corresponding PluginPlaceholderHost can be deleted. |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
747 int /* page_id */, | 755 int /* page_id */, |
748 bool /* supported */) | 756 bool /* supported */) |
749 | 757 |
750 // Tells listeners that a detailed message was reported to the console by | 758 // Tells listeners that a detailed message was reported to the console by |
751 // WebKit. | 759 // WebKit. |
752 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 760 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
753 string16 /* message */, | 761 string16 /* message */, |
754 string16 /* source */, | 762 string16 /* source */, |
755 extensions::StackTrace /* stack trace */, | 763 extensions::StackTrace /* stack trace */, |
756 int32 /* severity level */) | 764 int32 /* severity level */) |
OLD | NEW |