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 <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 // Asks the renderer to send back stats on the WebCore cache broken down by | 231 // Asks the renderer to send back stats on the WebCore cache broken down by |
232 // resource types. | 232 // resource types. |
233 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats) | 233 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats) |
234 | 234 |
235 // Tells the renderer to create a FieldTrial, and by using a 100% probability | 235 // Tells the renderer to create a FieldTrial, and by using a 100% probability |
236 // for the FieldTrial, forces the FieldTrial to have assigned group name. | 236 // for the FieldTrial, forces the FieldTrial to have assigned group name. |
237 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup, | 237 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup, |
238 std::string /* field trial name */, | 238 std::string /* field trial name */, |
239 std::string /* group name that was assigned. */) | 239 std::string /* group name that was assigned. */) |
240 | 240 |
241 // Asks the renderer to send back V8 heap stats. | |
242 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetV8HeapStats) | |
243 | |
244 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetPageSequenceNumber, | 241 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetPageSequenceNumber, |
245 int /* page_seq_no */) | 242 int /* page_seq_no */) |
246 | 243 |
247 IPC_MESSAGE_ROUTED0(ChromeViewMsg_DetermineIfPageSupportsInstant) | 244 IPC_MESSAGE_ROUTED0(ChromeViewMsg_DetermineIfPageSupportsInstant) |
248 | 245 |
249 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxSetDisplayInstantResults, | 246 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxSetDisplayInstantResults, |
250 bool /* display_instant_results */) | 247 bool /* display_instant_results */) |
251 | 248 |
252 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxFocusChanged, | 249 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxFocusChanged, |
253 OmniboxFocusState /* new_focus_state */, | 250 OmniboxFocusState /* new_focus_state */, |
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
478 GURL /* osdd_url */, | 475 GURL /* osdd_url */, |
479 search_provider::OSDDType) | 476 search_provider::OSDDType) |
480 | 477 |
481 // Find out if the given url's security origin is installed as a search | 478 // Find out if the given url's security origin is installed as a search |
482 // provider. | 479 // provider. |
483 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, | 480 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, |
484 GURL /* page url */, | 481 GURL /* page url */, |
485 GURL /* inquiry url */, | 482 GURL /* inquiry url */, |
486 search_provider::InstallState /* install */) | 483 search_provider::InstallState /* install */) |
487 | 484 |
488 // Sends back stats about the V8 heap. | |
489 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_V8HeapStats, | |
490 int /* size of heap (allocated from the OS) */, | |
491 int /* bytes in use */) | |
492 | |
493 // Notifies when a plugin couldn't be loaded because it's outdated. | 485 // Notifies when a plugin couldn't be loaded because it's outdated. |
494 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin, | 486 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin, |
495 int /* placeholder ID */, | 487 int /* placeholder ID */, |
496 std::string /* plugin group identifier */) | 488 std::string /* plugin group identifier */) |
497 | 489 |
498 // Notifies when a plugin couldn't be loaded because it requires | 490 // Notifies when a plugin couldn't be loaded because it requires |
499 // user authorization. | 491 // user authorization. |
500 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, | 492 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, |
501 base::string16 /* name */, | 493 base::string16 /* name */, |
502 std::string /* plugin group identifier */) | 494 std::string /* plugin group identifier */) |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 | 612 |
621 // Record a sample string to a Rappor metric. | 613 // Record a sample string to a Rappor metric. |
622 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, | 614 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, |
623 std::string /* metric */, | 615 std::string /* metric */, |
624 std::string /* sample */) | 616 std::string /* sample */) |
625 | 617 |
626 // Record a domain and registry of a url to a Rappor metric. | 618 // Record a domain and registry of a url to a Rappor metric. |
627 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, | 619 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, |
628 std::string /* metric */, | 620 std::string /* metric */, |
629 GURL /* sample url */) | 621 GURL /* sample url */) |
OLD | NEW |