Chromium Code Reviews| 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 plugin supporting |mime_type| is registered with Chrome. | |
| 507 // Does not determine whether the plugin could actually be instantiated | |
| 508 // (i.e. by checking Content Settings). | |
| 509 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_IsSupportingPluginAvailable, | |
|
scherkus (not reviewing)
2013/09/11 22:34:41
hmm... this name is a bit ambiguous but I'm having
ddorwin
2013/09/16 17:17:58
Good suggestions. WDYT of IsPluginRegisteredForMim
| |
| 510 std::string /* mime_type */, | |
|
scherkus (not reviewing)
2013/09/11 22:34:41
indent is off
ddorwin
2013/09/16 17:17:58
Done.
| |
| 511 bool /* available */) | |
| 512 | |
| 506 #if defined(ENABLE_PLUGIN_INSTALLATION) | 513 #if defined(ENABLE_PLUGIN_INSTALLATION) |
| 507 // Tells the browser to search for a plug-in that can handle the given MIME | 514 // 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 | 515 // type. The result will be sent asynchronously to the routing ID |
| 509 // |placeholder_id|. | 516 // |placeholder_id|. |
| 510 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FindMissingPlugin, | 517 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FindMissingPlugin, |
| 511 int /* placeholder_id */, | 518 int /* placeholder_id */, |
| 512 std::string /* mime_type */) | 519 std::string /* mime_type */) |
| 513 | 520 |
| 514 // Notifies the browser that a missing plug-in placeholder has been removed, so | 521 // Notifies the browser that a missing plug-in placeholder has been removed, so |
| 515 // the corresponding PluginPlaceholderHost can be deleted. | 522 // the corresponding PluginPlaceholderHost can be deleted. |
| (...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 747 int /* page_id */, | 754 int /* page_id */, |
| 748 bool /* supported */) | 755 bool /* supported */) |
| 749 | 756 |
| 750 // Tells listeners that a detailed message was reported to the console by | 757 // Tells listeners that a detailed message was reported to the console by |
| 751 // WebKit. | 758 // WebKit. |
| 752 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 759 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
| 753 string16 /* message */, | 760 string16 /* message */, |
| 754 string16 /* source */, | 761 string16 /* source */, |
| 755 extensions::StackTrace /* stack trace */, | 762 extensions::StackTrace /* stack trace */, |
| 756 int32 /* severity level */) | 763 int32 /* severity level */) |
| OLD | NEW |