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 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 // be treated as a webapp. | 397 // be treated as a webapp. |
398 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RetrieveWebappInformation, | 398 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RetrieveWebappInformation, |
399 GURL /* expected_url */) | 399 GURL /* expected_url */) |
400 | 400 |
401 // Asks the renderer to return information about the given meta tag. | 401 // Asks the renderer to return information about the given meta tag. |
402 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent, | 402 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent, |
403 GURL /* expected_url */, | 403 GURL /* expected_url */, |
404 std::string /* tag_name */ ) | 404 std::string /* tag_name */ ) |
405 #endif // defined(OS_ANDROID) | 405 #endif // defined(OS_ANDROID) |
406 | 406 |
| 407 #if defined(CLD2_DYNAMIC_MODE) |
| 408 // Informs the renderer process that Compact Language Detector (CLD) data is |
| 409 // available and provides an IPC::PlatformFileForTransit obtained from |
| 410 // IPC::GetFileHandleForProcess(...) |
| 411 // See also: ChromeViewHostMsg_NeedCLDData |
| 412 IPC_MESSAGE_ROUTED1(ChromeViewMsg_CLDDataAvailable, |
| 413 IPC::PlatformFileForTransit /* ipc_file_handle */) |
| 414 #endif |
| 415 |
407 // chrome.principals messages ------------------------------------------------ | 416 // chrome.principals messages ------------------------------------------------ |
408 | 417 |
409 // Message sent from the renderer to the browser to get the list of browser | 418 // Message sent from the renderer to the browser to get the list of browser |
410 // managed accounts for the given origin. | 419 // managed accounts for the given origin. |
411 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetManagedAccounts, | 420 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetManagedAccounts, |
412 GURL /* current URL */, | 421 GURL /* current URL */, |
413 std::vector<std::string> /* managed accounts */) | 422 std::vector<std::string> /* managed accounts */) |
414 | 423 |
415 // Message sent from the renderer to the browser to show the browser account | 424 // Message sent from the renderer to the browser to show the browser account |
416 // management UI. | 425 // management UI. |
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
770 std::vector<GURL> /* search_urls */, | 779 std::vector<GURL> /* search_urls */, |
771 GURL /* new_tab_page_url */) | 780 GURL /* new_tab_page_url */) |
772 | 781 |
773 // Tells listeners that a detailed message was reported to the console by | 782 // Tells listeners that a detailed message was reported to the console by |
774 // WebKit. | 783 // WebKit. |
775 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, | 784 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, |
776 base::string16 /* message */, | 785 base::string16 /* message */, |
777 base::string16 /* source */, | 786 base::string16 /* source */, |
778 extensions::StackTrace /* stack trace */, | 787 extensions::StackTrace /* stack trace */, |
779 int32 /* severity level */) | 788 int32 /* severity level */) |
| 789 |
| 790 #if defined(CLD2_DYNAMIC_MODE) |
| 791 // Informs the browser process that Compact Language Detector (CLD) data is |
| 792 // required by the originating renderer. The browser process should respond |
| 793 // with a ChromeViewMsg_CLDDataAvailable if the data is available, else it |
| 794 // should go unanswered (the renderer will ask again later) |
| 795 // See also: ChromeViewMsg_CLDDataAvailable |
| 796 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_NeedCLDData) |
| 797 #endif |
OLD | NEW |