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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 | 64 |
65 #define IPC_MESSAGE_START ChromeMsgStart | 65 #define IPC_MESSAGE_START ChromeMsgStart |
66 | 66 |
67 IPC_ENUM_TRAITS_MAX_VALUE(ChromeViewHostMsg_GetPluginInfo_Status, | 67 IPC_ENUM_TRAITS_MAX_VALUE(ChromeViewHostMsg_GetPluginInfo_Status, |
68 ChromeViewHostMsg_GetPluginInfo_Status::kUnauthorized) | 68 ChromeViewHostMsg_GetPluginInfo_Status::kUnauthorized) |
69 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusChangeReason, | 69 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusChangeReason, |
70 OMNIBOX_FOCUS_CHANGE_REASON_LAST) | 70 OMNIBOX_FOCUS_CHANGE_REASON_LAST) |
71 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusState, OMNIBOX_FOCUS_STATE_LAST) | 71 IPC_ENUM_TRAITS_MAX_VALUE(OmniboxFocusState, OMNIBOX_FOCUS_STATE_LAST) |
72 IPC_ENUM_TRAITS_MAX_VALUE(search_provider::OSDDType, | 72 IPC_ENUM_TRAITS_MAX_VALUE(search_provider::OSDDType, |
73 search_provider::OSDD_TYPE_LAST) | 73 search_provider::OSDD_TYPE_LAST) |
74 IPC_ENUM_TRAITS_MIN_MAX_VALUE(search_provider::InstallState, | |
75 search_provider::DENIED, | |
76 search_provider::INSTALLED_STATE_LAST) | |
77 IPC_ENUM_TRAITS_MAX_VALUE(ThemeBackgroundImageAlignment, | 74 IPC_ENUM_TRAITS_MAX_VALUE(ThemeBackgroundImageAlignment, |
78 THEME_BKGRND_IMAGE_ALIGN_LAST) | 75 THEME_BKGRND_IMAGE_ALIGN_LAST) |
79 IPC_ENUM_TRAITS_MAX_VALUE(ThemeBackgroundImageTiling, THEME_BKGRND_IMAGE_LAST) | 76 IPC_ENUM_TRAITS_MAX_VALUE(ThemeBackgroundImageTiling, THEME_BKGRND_IMAGE_LAST) |
80 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebConsoleMessage::Level, | 77 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebConsoleMessage::Level, |
81 blink::WebConsoleMessage::LevelLast) | 78 blink::WebConsoleMessage::LevelLast) |
82 IPC_ENUM_TRAITS_MAX_VALUE(content::TopControlsState, | 79 IPC_ENUM_TRAITS_MAX_VALUE(content::TopControlsState, |
83 content::TOP_CONTROLS_STATE_LAST) | 80 content::TOP_CONTROLS_STATE_LAST) |
84 | 81 |
85 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. | 82 // Output parameters for ChromeViewHostMsg_GetPluginInfo message. |
86 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) | 83 IPC_STRUCT_BEGIN(ChromeViewHostMsg_GetPluginInfo_Output) |
(...skipping 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
447 // Tells the renderer that a banner has been dismissed. | 444 // Tells the renderer that a banner has been dismissed. |
448 IPC_MESSAGE_ROUTED1(ChromeViewMsg_AppBannerDismissed, | 445 IPC_MESSAGE_ROUTED1(ChromeViewMsg_AppBannerDismissed, |
449 int32_t /* request_id */) | 446 int32_t /* request_id */) |
450 | 447 |
451 // Notification that the page has an OpenSearch description document | 448 // Notification that the page has an OpenSearch description document |
452 // associated with it. | 449 // associated with it. |
453 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_PageHasOSDD, | 450 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_PageHasOSDD, |
454 GURL /* page_url */, | 451 GURL /* page_url */, |
455 GURL /* osdd_url */) | 452 GURL /* osdd_url */) |
456 | 453 |
457 // Find out if the given url's security origin is installed as a search | |
458 // provider. | |
459 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, | |
460 GURL /* page url */, | |
461 GURL /* inquiry url */, | |
462 search_provider::InstallState /* install */) | |
463 | |
464 // Notifies when a plugin couldn't be loaded because it's outdated. | 454 // Notifies when a plugin couldn't be loaded because it's outdated. |
465 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin, | 455 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin, |
466 int /* placeholder ID */, | 456 int /* placeholder ID */, |
467 std::string /* plugin group identifier */) | 457 std::string /* plugin group identifier */) |
468 | 458 |
469 // Notifies when a plugin couldn't be loaded because it requires | 459 // Notifies when a plugin couldn't be loaded because it requires |
470 // user authorization. | 460 // user authorization. |
471 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, | 461 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, |
472 base::string16 /* name */, | 462 base::string16 /* name */, |
473 std::string /* plugin group identifier */) | 463 std::string /* plugin group identifier */) |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
570 | 560 |
571 // Record a sample string to a Rappor metric. | 561 // Record a sample string to a Rappor metric. |
572 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, | 562 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, |
573 std::string /* metric */, | 563 std::string /* metric */, |
574 std::string /* sample */) | 564 std::string /* sample */) |
575 | 565 |
576 // Record a domain and registry of a url to a Rappor metric. | 566 // Record a domain and registry of a url to a Rappor metric. |
577 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, | 567 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, |
578 std::string /* metric */, | 568 std::string /* metric */, |
579 GURL /* sample url */) | 569 GURL /* sample url */) |
OLD | NEW |