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

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

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test 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
« no previous file with comments | « content/common/resize_params.cc ('k') | content/public/android/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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.
OLDNEW
« no previous file with comments | « content/common/resize_params.cc ('k') | content/public/android/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698