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 <stdint.h> | 6 #include <stdint.h> |
7 #include <string> | 7 #include <string> |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
430 | 430 |
431 // Tells the browser to open chrome://plugins in a new tab. We use a separate | 431 // Tells the browser to open chrome://plugins in a new tab. We use a separate |
432 // message because renderer processes aren't allowed to directly navigate to | 432 // message because renderer processes aren't allowed to directly navigate to |
433 // chrome:// URLs. | 433 // chrome:// URLs. |
434 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_OpenAboutPlugins) | 434 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_OpenAboutPlugins) |
435 | 435 |
436 // Tells the browser that there was an error loading a plugin. | 436 // Tells the browser that there was an error loading a plugin. |
437 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_CouldNotLoadPlugin, | 437 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_CouldNotLoadPlugin, |
438 base::FilePath /* plugin_path */) | 438 base::FilePath /* plugin_path */) |
439 | 439 |
440 // Tells the browser that we blocked a plugin because NPAPI is not supported. | |
441 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_NPAPINotSupported, | |
442 std::string /* identifer */) | |
443 | |
444 // Asks the renderer whether an app banner should be shown. It will reply with | 440 // Asks the renderer whether an app banner should be shown. It will reply with |
445 // ChromeViewHostMsg_AppBannerPromptReply. | 441 // ChromeViewHostMsg_AppBannerPromptReply. |
446 IPC_MESSAGE_ROUTED2(ChromeViewMsg_AppBannerPromptRequest, | 442 IPC_MESSAGE_ROUTED2(ChromeViewMsg_AppBannerPromptRequest, |
447 int /* request_id */, | 443 int /* request_id */, |
448 std::string /* platform */) | 444 std::string /* platform */) |
449 | 445 |
450 // Tells the renderer that a banner has been accepted. | 446 // Tells the renderer that a banner has been accepted. |
451 IPC_MESSAGE_ROUTED2(ChromeViewMsg_AppBannerAccepted, | 447 IPC_MESSAGE_ROUTED2(ChromeViewMsg_AppBannerAccepted, |
452 int32_t /* request_id */, | 448 int32_t /* request_id */, |
453 std::string /* platform */) | 449 std::string /* platform */) |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
587 | 583 |
588 // Record a sample string to a Rappor metric. | 584 // Record a sample string to a Rappor metric. |
589 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, | 585 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, |
590 std::string /* metric */, | 586 std::string /* metric */, |
591 std::string /* sample */) | 587 std::string /* sample */) |
592 | 588 |
593 // Record a domain and registry of a url to a Rappor metric. | 589 // Record a domain and registry of a url to a Rappor metric. |
594 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, | 590 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, |
595 std::string /* metric */, | 591 std::string /* metric */, |
596 GURL /* sample url */) | 592 GURL /* sample url */) |
OLD | NEW |