| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 IPC_STRUCT_TRAITS_MEMBER(rect) | 173 IPC_STRUCT_TRAITS_MEMBER(rect) |
| 174 IPC_STRUCT_TRAITS_MEMBER(available_rect) | 174 IPC_STRUCT_TRAITS_MEMBER(available_rect) |
| 175 IPC_STRUCT_TRAITS_MEMBER(orientation_type) | 175 IPC_STRUCT_TRAITS_MEMBER(orientation_type) |
| 176 IPC_STRUCT_TRAITS_MEMBER(orientation_angle) | 176 IPC_STRUCT_TRAITS_MEMBER(orientation_angle) |
| 177 IPC_STRUCT_TRAITS_END() | 177 IPC_STRUCT_TRAITS_END() |
| 178 | 178 |
| 179 IPC_STRUCT_TRAITS_BEGIN(content::ResizeParams) | 179 IPC_STRUCT_TRAITS_BEGIN(content::ResizeParams) |
| 180 IPC_STRUCT_TRAITS_MEMBER(screen_info) | 180 IPC_STRUCT_TRAITS_MEMBER(screen_info) |
| 181 IPC_STRUCT_TRAITS_MEMBER(new_size) | 181 IPC_STRUCT_TRAITS_MEMBER(new_size) |
| 182 IPC_STRUCT_TRAITS_MEMBER(physical_backing_size) | 182 IPC_STRUCT_TRAITS_MEMBER(physical_backing_size) |
| 183 IPC_STRUCT_TRAITS_MEMBER(top_controls_shrink_blink_size) | 183 IPC_STRUCT_TRAITS_MEMBER(browser_controls_shrink_blink_size) |
| 184 IPC_STRUCT_TRAITS_MEMBER(top_controls_height) | 184 IPC_STRUCT_TRAITS_MEMBER(top_controls_height) |
| 185 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) | 185 IPC_STRUCT_TRAITS_MEMBER(bottom_controls_height) |
| 186 IPC_STRUCT_TRAITS_MEMBER(visible_viewport_size) | 186 IPC_STRUCT_TRAITS_MEMBER(visible_viewport_size) |
| 187 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen_granted) | 187 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen_granted) |
| 188 IPC_STRUCT_TRAITS_MEMBER(display_mode) | 188 IPC_STRUCT_TRAITS_MEMBER(display_mode) |
| 189 IPC_STRUCT_TRAITS_MEMBER(needs_resize_ack) | 189 IPC_STRUCT_TRAITS_MEMBER(needs_resize_ack) |
| 190 IPC_STRUCT_TRAITS_END() | 190 IPC_STRUCT_TRAITS_END() |
| 191 | 191 |
| 192 IPC_STRUCT_TRAITS_BEGIN(content::MenuItem) | 192 IPC_STRUCT_TRAITS_BEGIN(content::MenuItem) |
| 193 IPC_STRUCT_TRAITS_MEMBER(label) | 193 IPC_STRUCT_TRAITS_MEMBER(label) |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 574 | 574 |
| 575 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer | 575 // An acknowledge to ViewHostMsg_MultipleTargetsTouched to notify the renderer |
| 576 // process to release the magnified image. | 576 // process to release the magnified image. |
| 577 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap, | 577 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupBitmap, |
| 578 cc::SharedBitmapId /* id */) | 578 cc::SharedBitmapId /* id */) |
| 579 | 579 |
| 580 // Fetches complete rendered content of a web page as plain text. | 580 // Fetches complete rendered content of a web page as plain text. |
| 581 IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText) | 581 IPC_MESSAGE_ROUTED0(ViewMsg_GetRenderedText) |
| 582 | 582 |
| 583 #if defined(OS_ANDROID) | 583 #if defined(OS_ANDROID) |
| 584 // Notifies the renderer whether hiding/showing the top controls is enabled | 584 // Notifies the renderer whether hiding/showing the browser controls is enabled |
| 585 // and whether or not to animate to the proper state. | 585 // and whether or not to animate to the proper state. |
| 586 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateTopControlsState, | 586 IPC_MESSAGE_ROUTED3(ViewMsg_UpdateBrowserControlsState, |
| 587 bool /* enable_hiding */, | 587 bool /* enable_hiding */, |
| 588 bool /* enable_showing */, | 588 bool /* enable_showing */, |
| 589 bool /* animate */) | 589 bool /* animate */) |
| 590 | 590 |
| 591 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) | 591 IPC_MESSAGE_ROUTED0(ViewMsg_ShowImeIfNeeded) |
| 592 | 592 |
| 593 // Extracts the data at the given rect, returning it through the | 593 // Extracts the data at the given rect, returning it through the |
| 594 // ViewHostMsg_SmartClipDataExtracted IPC. | 594 // ViewHostMsg_SmartClipDataExtracted IPC. |
| 595 IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, | 595 IPC_MESSAGE_ROUTED1(ViewMsg_ExtractSmartClipData, |
| 596 gfx::Rect /* rect */) | 596 gfx::Rect /* rect */) |
| (...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 int /* y */) | 949 int /* y */) |
| 950 | 950 |
| 951 #elif defined(OS_MACOSX) | 951 #elif defined(OS_MACOSX) |
| 952 // Receives content of a web page as plain text. | 952 // Receives content of a web page as plain text. |
| 953 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 953 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
| 954 #endif | 954 #endif |
| 955 | 955 |
| 956 // Adding a new message? Stick to the sort order above: first platform | 956 // Adding a new message? Stick to the sort order above: first platform |
| 957 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 957 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 958 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 958 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |