Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Side by Side Diff: chrome/common/render_messages.h

Issue 187393005: Make it possible to read CLD data from a file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hack around lack of common IsTranslatableURL Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 392 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 // be treated as a webapp. 403 // be treated as a webapp.
404 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RetrieveWebappInformation, 404 IPC_MESSAGE_ROUTED1(ChromeViewMsg_RetrieveWebappInformation,
405 GURL /* expected_url */) 405 GURL /* expected_url */)
406 406
407 // Asks the renderer to return information about the given meta tag. 407 // Asks the renderer to return information about the given meta tag.
408 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent, 408 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RetrieveMetaTagContent,
409 GURL /* expected_url */, 409 GURL /* expected_url */,
410 std::string /* tag_name */ ) 410 std::string /* tag_name */ )
411 #endif // defined(OS_ANDROID) 411 #endif // defined(OS_ANDROID)
412 412
413 #if defined(CLD2_DYNAMIC_MODE)
414 // Informs the renderer process that Compact Language Detector (CLD) data is
415 // available and provides an IPC::PlatformFileForTransit obtained from
416 // IPC::GetFileHandleForProcess(...)
417 // See also: ChromeViewHostMsg_NeedCLDData
418 IPC_MESSAGE_ROUTED1(ChromeViewMsg_CLDDataAvailable,
419 IPC::PlatformFileForTransit /* ipc_file_handle */)
420 #endif
421
413 // chrome.principals messages ------------------------------------------------ 422 // chrome.principals messages ------------------------------------------------
414 423
415 // Message sent from the renderer to the browser to get the list of browser 424 // Message sent from the renderer to the browser to get the list of browser
416 // managed accounts for the given origin. 425 // managed accounts for the given origin.
417 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetManagedAccounts, 426 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetManagedAccounts,
418 GURL /* current URL */, 427 GURL /* current URL */,
419 std::vector<std::string> /* managed accounts */) 428 std::vector<std::string> /* managed accounts */)
420 429
421 // Message sent from the renderer to the browser to show the browser account 430 // Message sent from the renderer to the browser to show the browser account
422 // management UI. 431 // management UI.
(...skipping 346 matching lines...) Expand 10 before | Expand all | Expand 10 after
769 std::vector<GURL> /* search_urls */, 778 std::vector<GURL> /* search_urls */,
770 GURL /* new_tab_page_url */) 779 GURL /* new_tab_page_url */)
771 780
772 // Tells listeners that a detailed message was reported to the console by 781 // Tells listeners that a detailed message was reported to the console by
773 // WebKit. 782 // WebKit.
774 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, 783 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded,
775 base::string16 /* message */, 784 base::string16 /* message */,
776 base::string16 /* source */, 785 base::string16 /* source */,
777 extensions::StackTrace /* stack trace */, 786 extensions::StackTrace /* stack trace */,
778 int32 /* severity level */) 787 int32 /* severity level */)
788
789 #if defined(CLD2_DYNAMIC_MODE)
790 // Informs the browser process that Compact Language Detector (CLD) data is
791 // required by the originating renderer. The browser process should respond
792 // with a ChromeViewMsg_CLDDataAvailable if the data is available, else it
793 // should go unanswered (the renderer will ask again later)
794 // See also: ChromeViewMsg_CLDDataAvailable
795 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_NeedCLDData)
796 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698