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

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

Issue 2823042: Implement IsSearchProviderInstalled and a test for it. (Closed)
Patch Set: Addressed feedback. Created 10 years, 5 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 // This header is meant to be included in multiple passes, hence no traditional 5 // This header is meant to be included in multiple passes, hence no traditional
6 // header guard. 6 // header guard.
7 // See ipc_message_macros.h for explanation of the macros and passes. 7 // See ipc_message_macros.h for explanation of the macros and passes.
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 1530 matching lines...) Expand 10 before | Expand all | Expand 10 after
1541 // true) focusable element. 1541 // true) focusable element.
1542 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, bool /* reverse */) 1542 IPC_MESSAGE_ROUTED1(ViewHostMsg_TakeFocus, bool /* reverse */)
1543 1543
1544 // Notification that the page has an OpenSearch description document 1544 // Notification that the page has an OpenSearch description document
1545 // associated with it. 1545 // associated with it.
1546 IPC_MESSAGE_ROUTED3(ViewHostMsg_PageHasOSDD, 1546 IPC_MESSAGE_ROUTED3(ViewHostMsg_PageHasOSDD,
1547 int32 /* page_id */, 1547 int32 /* page_id */,
1548 GURL /* url of OS description document */, 1548 GURL /* url of OS description document */,
1549 bool /* autodetected */) 1549 bool /* autodetected */)
1550 1550
1551 // requires for updating text input state. 1551 // Find out if the given url's security origin is installed as a search provid er.
sky 2010/07/15 23:24:49 > 80
1552 IPC_SYNC_MESSAGE_ROUTED1_1(
1553 ViewHostMsg_GetSearchProviderInstallState,
1554 GURL,
1555 ViewHostMsg_GetSearchProviderInstallState_Params /* install */)
1556
1557 // Required for updating text input state.
1552 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeUpdateTextInputState, 1558 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeUpdateTextInputState,
1553 WebKit::WebTextInputType, /* text_input_type */ 1559 WebKit::WebTextInputType, /* text_input_type */
1554 gfx::Rect /* caret_rect */) 1560 gfx::Rect /* caret_rect */)
1555 1561
1556 // requires for cancelling an ongoing input method composition. 1562 // Required for cancelling an ongoing input method composition.
1557 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition) 1563 IPC_MESSAGE_ROUTED0(ViewHostMsg_ImeCancelComposition)
1558 1564
1559 // Tells the browser that the renderer is done calculating the number of 1565 // Tells the browser that the renderer is done calculating the number of
1560 // rendered pages according to the specified settings. 1566 // rendered pages according to the specified settings.
1561 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidGetPrintedPagesCount, 1567 IPC_MESSAGE_ROUTED2(ViewHostMsg_DidGetPrintedPagesCount,
1562 int /* rendered document cookie */, 1568 int /* rendered document cookie */,
1563 int /* number of rendered pages */) 1569 int /* number of rendered pages */)
1564 1570
1565 // Sends back to the browser the rendered "printed page" that was requested by 1571 // Sends back to the browser the rendered "printed page" that was requested by
1566 // a ViewMsg_PrintPage message or from scripted printing. The memory handle in 1572 // a ViewMsg_PrintPage message or from scripted printing. The memory handle in
1567 // this message is already valid in the browser process. 1573 // this message is already valid in the browser process.
1568 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidPrintPage, 1574 IPC_MESSAGE_ROUTED1(ViewHostMsg_DidPrintPage,
1569 ViewHostMsg_DidPrintPage_Params /* page content */) 1575 ViewHostMsg_DidPrintPage_Params /* page content */)
1570 1576
1571 // The renderer wants to know the default print settings. 1577 // The renderer wants to know the default print settings.
1572 IPC_SYNC_MESSAGE_ROUTED0_1(ViewHostMsg_GetDefaultPrintSettings, 1578 IPC_SYNC_MESSAGE_ROUTED0_1(ViewHostMsg_GetDefaultPrintSettings,
1573 ViewMsg_Print_Params /* default_settings */) 1579 ViewMsg_Print_Params /* default_settings */)
1574 1580
1575 #if defined(OS_WIN) || defined(OS_MACOSX) 1581 #if defined(OS_WIN) || defined(OS_MACOSX)
1576 // It's the renderer that controls the printing process when it is generated 1582 // It's the renderer that controls the printing process when it is generated
1577 // by javascript. This step is about showing UI to the user to select the 1583 // by javascript. This step is about showing UI to the user to select the
1578 // final print settings. The output parameter is the same as 1584 // final print settings. The output parameter is the same as
1579 // ViewMsg_PrintPages which is executed implicitly. 1585 // ViewMsg_PrintPages which is executed implicitly.
1580 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_ScriptedPrint, 1586 IPC_SYNC_MESSAGE_ROUTED1_1(ViewHostMsg_ScriptedPrint,
1581 ViewHostMsg_ScriptedPrint_Params, 1587 ViewHostMsg_ScriptedPrint_Params,
1582 ViewMsg_PrintPages_Params 1588 ViewMsg_PrintPages_Params
1583 /* settings choosen by the user*/) 1589 /* settings chosen by the user*/)
1584 #endif // defined(OS_WIN) || defined(OS_MACOSX) 1590 #endif // defined(OS_WIN) || defined(OS_MACOSX)
1585 1591
1586 // WebKit and JavaScript error messages to log to the console 1592 // WebKit and JavaScript error messages to log to the console
1587 // or debugger UI. 1593 // or debugger UI.
1588 IPC_MESSAGE_ROUTED3(ViewHostMsg_AddMessageToConsole, 1594 IPC_MESSAGE_ROUTED3(ViewHostMsg_AddMessageToConsole,
1589 std::wstring, /* msg */ 1595 std::wstring, /* msg */
1590 int32, /* line number */ 1596 int32, /* line number */
1591 std::wstring /* source id */) 1597 std::wstring /* source id */)
1592 1598
1593 // Stores new inspector setting in the profile. 1599 // Stores new inspector setting in the profile.
(...skipping 912 matching lines...) Expand 10 before | Expand all | Expand 10 after
2506 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, 2512 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume,
2507 int /* render_view_id */, 2513 int /* render_view_id */,
2508 int /* bridge_id */) 2514 int /* bridge_id */)
2509 2515
2510 // Send the tree of accessibility data to the browser, where it's cached 2516 // Send the tree of accessibility data to the browser, where it's cached
2511 // in order to respond to OS accessibility queries immediately. 2517 // in order to respond to OS accessibility queries immediately.
2512 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree, 2518 IPC_MESSAGE_ROUTED1(ViewHostMsg_AccessibilityTree,
2513 webkit_glue::WebAccessibility) 2519 webkit_glue::WebAccessibility)
2514 2520
2515 IPC_END_MESSAGES(ViewHost) 2521 IPC_END_MESSAGES(ViewHost)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698