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

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

Issue 2395393003: Remove grow box rect support, renderer part. (Closed)
Patch Set: rebase Created 4 years, 2 months 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.h ('k') | content/public/test/render_view_test.h » ('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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
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(top_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(resizer_rect)
188 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen_granted) 187 IPC_STRUCT_TRAITS_MEMBER(is_fullscreen_granted)
189 IPC_STRUCT_TRAITS_MEMBER(display_mode) 188 IPC_STRUCT_TRAITS_MEMBER(display_mode)
190 IPC_STRUCT_TRAITS_MEMBER(needs_resize_ack) 189 IPC_STRUCT_TRAITS_MEMBER(needs_resize_ack)
191 IPC_STRUCT_TRAITS_END() 190 IPC_STRUCT_TRAITS_END()
192 191
193 IPC_STRUCT_TRAITS_BEGIN(content::MenuItem) 192 IPC_STRUCT_TRAITS_BEGIN(content::MenuItem)
194 IPC_STRUCT_TRAITS_MEMBER(label) 193 IPC_STRUCT_TRAITS_MEMBER(label)
195 IPC_STRUCT_TRAITS_MEMBER(tool_tip) 194 IPC_STRUCT_TRAITS_MEMBER(tool_tip)
196 IPC_STRUCT_TRAITS_MEMBER(type) 195 IPC_STRUCT_TRAITS_MEMBER(type)
197 IPC_STRUCT_TRAITS_MEMBER(action) 196 IPC_STRUCT_TRAITS_MEMBER(action)
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 // we don't have to fetch it every time WebKit asks for it. 412 // we don't have to fetch it every time WebKit asks for it.
414 IPC_MESSAGE_ROUTED1(ViewMsg_Resize, content::ResizeParams /* params */) 413 IPC_MESSAGE_ROUTED1(ViewMsg_Resize, content::ResizeParams /* params */)
415 414
416 // Enables device emulation. See WebDeviceEmulationParams for description. 415 // Enables device emulation. See WebDeviceEmulationParams for description.
417 IPC_MESSAGE_ROUTED1(ViewMsg_EnableDeviceEmulation, 416 IPC_MESSAGE_ROUTED1(ViewMsg_EnableDeviceEmulation,
418 blink::WebDeviceEmulationParams /* params */) 417 blink::WebDeviceEmulationParams /* params */)
419 418
420 // Disables device emulation, enabled previously by EnableDeviceEmulation. 419 // Disables device emulation, enabled previously by EnableDeviceEmulation.
421 IPC_MESSAGE_ROUTED0(ViewMsg_DisableDeviceEmulation) 420 IPC_MESSAGE_ROUTED0(ViewMsg_DisableDeviceEmulation)
422 421
423 // Tells the render view that the resize rect has changed.
424 IPC_MESSAGE_ROUTED1(ViewMsg_ChangeResizeRect,
425 gfx::Rect /* resizer_rect */)
426
427 // Sent to inform the view that it was hidden. This allows it to reduce its 422 // Sent to inform the view that it was hidden. This allows it to reduce its
428 // resource utilization. 423 // resource utilization.
429 IPC_MESSAGE_ROUTED0(ViewMsg_WasHidden) 424 IPC_MESSAGE_ROUTED0(ViewMsg_WasHidden)
430 425
431 // Tells the render view that it is no longer hidden (see WasHidden), and the 426 // Tells the render view that it is no longer hidden (see WasHidden), and the
432 // render view is expected to respond with a full repaint if needs_repainting 427 // render view is expected to respond with a full repaint if needs_repainting
433 // is true. If needs_repainting is false, then this message does not trigger a 428 // is true. If needs_repainting is false, then this message does not trigger a
434 // message in response. 429 // message in response.
435 IPC_MESSAGE_ROUTED2(ViewMsg_WasShown, 430 IPC_MESSAGE_ROUTED2(ViewMsg_WasShown,
436 bool /* needs_repainting */, 431 bool /* needs_repainting */,
(...skipping 566 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 int /* y */) 998 int /* y */)
1004 999
1005 #elif defined(OS_MACOSX) 1000 #elif defined(OS_MACOSX)
1006 // Receives content of a web page as plain text. 1001 // Receives content of a web page as plain text.
1007 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 1002 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
1008 #endif 1003 #endif
1009 1004
1010 // Adding a new message? Stick to the sort order above: first platform 1005 // Adding a new message? Stick to the sort order above: first platform
1011 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 1006 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
1012 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 1007 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/resize_params.h ('k') | content/public/test/render_view_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698