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

Side by Side Diff: content/common/view_messages.h

Issue 2370393002: Extracting placeholder information from Webkit to Blimp (Closed)
Patch Set: Extracting info through RHVW Created 4 years, 1 month 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 // IPC messages for page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 561 matching lines...) Expand 10 before | Expand all | Expand 10 after
572 #endif 572 #endif
573 573
574 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer 574 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer
575 // process to release the magnified image. 575 // process to release the magnified image.
576 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap, 576 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap,
577 cc::SharedBitmapId /* id */) 577 cc::SharedBitmapId /* id */)
578 578
579 // Fetches complete rendered content of a web page as plain text. 579 // Fetches complete rendered content of a web page as plain text.
580 IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText) 580 IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText)
581 581
582 // Requests the renderer for information about currenly focused text input
583 // element.
584 IPC_MESSAGE_ROUTED1(ViewMsg_GetFormTextInputInfo, int)
585
582 #if defined(OS_ANDROID) 586 #if defined(OS_ANDROID)
583 // Notifies the renderer whether hiding/showing the top controls is enabled 587 // Notifies the renderer whether hiding/showing the top controls is enabled
584 // and whether or not to animate to the proper state. 588 // and whether or not to animate to the proper state.
585 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateTopControlsState, 589 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateTopControlsState,
586 bool /* enable_hiding */, 590 bool /* enable_hiding */,
587 bool /* enable_showing */, 591 bool /* enable_showing */,
588 bool /* animate */) 592 bool /* animate */)
589 593
590 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) 594 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded)
591 595
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after
788 // A renderer sends this to the browser process when it wants to access a PPAPI 792 // A renderer sends this to the browser process when it wants to access a PPAPI
789 // broker. In contrast to FrameHostMsg_OpenChannelToPpapiBroker, this is called 793 // broker. In contrast to FrameHostMsg_OpenChannelToPpapiBroker, this is called
790 // for every connection. 794 // for every connection.
791 // The browser will respond with ViewMsg_PpapiBrokerPermissionResult. 795 // The browser will respond with ViewMsg_PpapiBrokerPermissionResult.
792 IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission, 796 IPC_MESSAGE_ROUTED3(ViewHostMsg_RequestPpapiBrokerPermission,
793 int /* routing_id */, 797 int /* routing_id */,
794 GURL /* document_url */, 798 GURL /* document_url */,
795 base::FilePath /* plugin_path */) 799 base::FilePath /* plugin_path */)
796 #endif // defined(ENABLE_PLUGINS) 800 #endif // defined(ENABLE_PLUGINS)
797 801
802 // Reply message for ViewMsg_GetFormTextInputInfo. Sends info about the
803 // currently focused form field.
804 IPC_MESSAGE_ROUTED3(ViewHostMsg_SetFormTextInputInfo,
805 int,
806 std::string,
807 std::string)
808
798 // Send the tooltip text for the current mouse position to the browser. 809 // Send the tooltip text for the current mouse position to the browser.
799 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText, 810 IPC_MESSAGE_ROUTED2(ViewHostMsg_SetTooltipText,
800 base::string16 /* tooltip text string */, 811 base::string16 /* tooltip text string */,
801 blink::WebTextDirection /* text direction hint */) 812 blink::WebTextDirection /* text direction hint */)
802 813
803 // Notification that the selection bounds have changed. 814 // Notification that the selection bounds have changed.
804 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged, 815 IPC_MESSAGE_ROUTED1(ViewHostMsg_SelectionBoundsChanged,
805 ViewHostMsg_SelectionBounds_Params) 816 ViewHostMsg_SelectionBounds_Params)
806 817
807 // Asks the browser to enumerate a directory. This is equivalent to running 818 // Asks the browser to enumerate a directory. This is equivalent to running
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
948 int /* y */) 959 int /* y */)
949 960
950 #elif defined(OS_MACOSX) 961 #elif defined(OS_MACOSX)
951 // Receives content of a web page as plain text. 962 // Receives content of a web page as plain text.
952 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 963 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
953 #endif 964 #endif
954 965
955 // Adding a new message? Stick to the sort order above: first platform 966 // Adding a new message? Stick to the sort order above: first platform
956 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 967 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
957 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 968 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698