| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 GURL /* osdd_url */, | 457 GURL /* osdd_url */, |
| 461 search_provider::OSDDType) | 458 search_provider::OSDDType) |
| 462 | 459 |
| 463 // Find out if the given url's security origin is installed as a search | 460 // Find out if the given url's security origin is installed as a search |
| 464 // provider. | 461 // provider. |
| 465 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, | 462 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetSearchProviderInstallState, |
| 466 GURL /* page url */, | 463 GURL /* page url */, |
| 467 GURL /* inquiry url */, | 464 GURL /* inquiry url */, |
| 468 search_provider::InstallState /* install */) | 465 search_provider::InstallState /* install */) |
| 469 | 466 |
| 470 // Sends back stats about the V8 heap. | |
| 471 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_V8HeapStats, | |
| 472 int /* size of heap (allocated from the OS) */, | |
| 473 int /* bytes in use */) | |
| 474 | |
| 475 // Notifies when a plugin couldn't be loaded because it's outdated. | 467 // Notifies when a plugin couldn't be loaded because it's outdated. |
| 476 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin, | 468 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedOutdatedPlugin, |
| 477 int /* placeholder ID */, | 469 int /* placeholder ID */, |
| 478 std::string /* plugin group identifier */) | 470 std::string /* plugin group identifier */) |
| 479 | 471 |
| 480 // Notifies when a plugin couldn't be loaded because it requires | 472 // Notifies when a plugin couldn't be loaded because it requires |
| 481 // user authorization. | 473 // user authorization. |
| 482 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, | 474 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_BlockedUnauthorizedPlugin, |
| 483 base::string16 /* name */, | 475 base::string16 /* name */, |
| 484 std::string /* plugin group identifier */) | 476 std::string /* plugin group identifier */) |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 602 | 594 |
| 603 // Record a sample string to a Rappor metric. | 595 // Record a sample string to a Rappor metric. |
| 604 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, | 596 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRappor, |
| 605 std::string /* metric */, | 597 std::string /* metric */, |
| 606 std::string /* sample */) | 598 std::string /* sample */) |
| 607 | 599 |
| 608 // Record a domain and registry of a url to a Rappor metric. | 600 // Record a domain and registry of a url to a Rappor metric. |
| 609 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, | 601 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_RecordRapporURL, |
| 610 std::string /* metric */, | 602 std::string /* metric */, |
| 611 GURL /* sample url */) | 603 GURL /* sample url */) |
| OLD | NEW |