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 // 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 556 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
567 IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText) | 567 IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText) |
568 | 568 |
569 #if defined(OS_ANDROID) | 569 #if defined(OS_ANDROID) |
570 // Notifies the renderer whether hiding/showing the browser controls is enabled | 570 // Notifies the renderer whether hiding/showing the browser controls is enabled |
571 // and whether or not to animate to the proper state. | 571 // and whether or not to animate to the proper state. |
572 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateBrowserControlsState, | 572 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateBrowserControlsState, |
573 bool /* enable_hiding */, | 573 bool /* enable_hiding */, |
574 bool /* enable_showing */, | 574 bool /* enable_showing */, |
575 bool /* animate */) | 575 bool /* animate */) |
576 | 576 |
577 // Extracts the data at the given rect, returning it through the | |
578 // ViewHostMsg_SmartClipDataExtracted IPC. | |
579 IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, | |
580 gfx::Rect /* rect */) | |
581 #endif | 577 #endif |
582 | 578 |
583 // Sent by browser to tell renderer compositor that some resources that were | 579 // Sent by browser to tell renderer compositor that some resources that were |
584 // given to the browser in a swap are not being used anymore. | 580 // given to the browser in a swap are not being used anymore. |
585 // If this message is in response to a swap then is_swap_ack is set. | 581 // If this message is in response to a swap then is_swap_ack is set. |
586 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, | 582 IPC_MESSAGE_ROUTED3(ViewMsg_ReclaimCompositorResources, |
587 uint32_t /* compositor_frame_sink_id */, | 583 uint32_t /* compositor_frame_sink_id */, |
588 bool /* is_swap_ack */, | 584 bool /* is_swap_ack */, |
589 cc::ReturnedResourceArray /* resources */) | 585 cc::ReturnedResourceArray /* resources */) |
590 | 586 |
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
862 | 858 |
863 // Sent in reply to ViewMsg_WaitForNextFrameForTests. | 859 // Sent in reply to ViewMsg_WaitForNextFrameForTests. |
864 IPC_MESSAGE_ROUTED0(ViewHostMsg_WaitForNextFrameForTests_ACK) | 860 IPC_MESSAGE_ROUTED0(ViewHostMsg_WaitForNextFrameForTests_ACK) |
865 | 861 |
866 #if defined(OS_ANDROID) | 862 #if defined(OS_ANDROID) |
867 // Start an android intent with the given URI. | 863 // Start an android intent with the given URI. |
868 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent, | 864 IPC_MESSAGE_ROUTED2(ViewHostMsg_StartContentIntent, |
869 GURL /* content_url */, | 865 GURL /* content_url */, |
870 bool /* is_main_frame */) | 866 bool /* is_main_frame */) |
871 | 867 |
872 // Reply to the ViewMsg_ExtractSmartClipData message. | |
873 IPC_MESSAGE_ROUTED3(ViewHostMsg_SmartClipDataExtracted, | |
874 base::string16 /* text */, | |
875 base::string16 /* html */, | |
876 gfx::Rect /* rect */) | |
877 | |
878 // Notifies that an unhandled tap has occurred at the specified x,y position | 868 // Notifies that an unhandled tap has occurred at the specified x,y position |
879 // and that the UI may need to be triggered. | 869 // and that the UI may need to be triggered. |
880 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded, | 870 IPC_MESSAGE_ROUTED2(ViewHostMsg_ShowUnhandledTapUIIfNeeded, |
881 int /* x */, | 871 int /* x */, |
882 int /* y */) | 872 int /* y */) |
883 | 873 |
884 #elif defined(OS_MACOSX) | 874 #elif defined(OS_MACOSX) |
885 // Receives content of a web page as plain text. | 875 // Receives content of a web page as plain text. |
886 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 876 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
887 #endif | 877 #endif |
888 | 878 |
889 // Adding a new message? Stick to the sort order above: first platform | 879 // Adding a new message? Stick to the sort order above: first platform |
890 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 880 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
891 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 881 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |