| 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 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 563 base::ProcessId /* broker_pid */, | 563 base::ProcessId /* broker_pid */, |
| 564 IPC::ChannelHandle /* handle */) | 564 IPC::ChannelHandle /* handle */) |
| 565 | 565 |
| 566 // Reply to ViewHostMsg_RequestPpapiBrokerPermission. | 566 // Reply to ViewHostMsg_RequestPpapiBrokerPermission. |
| 567 // Tells the renderer whether permission to access to PPAPI broker was granted | 567 // Tells the renderer whether permission to access to PPAPI broker was granted |
| 568 // or not. | 568 // or not. |
| 569 IPC_MESSAGE_ROUTED1(ViewMsg_PpapiBrokerPermissionResult, | 569 IPC_MESSAGE_ROUTED1(ViewMsg_PpapiBrokerPermissionResult, |
| 570 bool /* result */) | 570 bool /* result */) |
| 571 #endif | 571 #endif |
| 572 | 572 |
| 573 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer | 573 // An acknowledgement to ViewHostMsg_ShowDisambiguationPopup to notify the |
| 574 // process to release the magnified image. | 574 // renderer process to release the magnified image. |
| 575 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap, | 575 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap, |
| 576 cc::SharedBitmapId /* id */) | 576 cc::SharedBitmapId /* id */) |
| 577 | 577 |
| 578 // If the ViewHostMsg_ShowDisambiguationPopup resulted in the user tapping |
| 579 // inside the popup, instruct the renderer to generate a synthetic tap at that |
| 580 // offset. |
| 581 IPC_MESSAGE_ROUTED3(ViewMsg_ResolveTapDisambiguation, |
| 582 double /* timestamp_seconds */, |
| 583 gfx::Point /* tap_viewport_offset */, |
| 584 bool /* is_long_press */) |
| 585 |
| 578 // Fetches complete rendered content of a web page as plain text. | 586 // Fetches complete rendered content of a web page as plain text. |
| 579 IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText) | 587 IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText) |
| 580 | 588 |
| 581 #if defined(OS_ANDROID) | 589 #if defined(OS_ANDROID) |
| 582 // Notifies the renderer whether hiding/showing the browser controls is enabled | 590 // Notifies the renderer whether hiding/showing the browser controls is enabled |
| 583 // and whether or not to animate to the proper state. | 591 // and whether or not to animate to the proper state. |
| 584 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateBrowserControlsState, | 592 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateBrowserControlsState, |
| 585 bool /* enable_hiding */, | 593 bool /* enable_hiding */, |
| 586 bool /* enable_showing */, | 594 bool /* enable_showing */, |
| 587 bool /* animate */) | 595 bool /* animate */) |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 884 int /* y */) | 892 int /* y */) |
| 885 | 893 |
| 886 #elif defined(OS_MACOSX) | 894 #elif defined(OS_MACOSX) |
| 887 // Receives content of a web page as plain text. | 895 // Receives content of a web page as plain text. |
| 888 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 896 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 889 #endif | 897 #endif |
| 890 | 898 |
| 891 // Adding a new message? Stick to the sort order above: first platform | 899 // Adding a new message? Stick to the sort order above: first platform |
| 892 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 900 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 893 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 901 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |