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 "base/memory/shared_memory.h" | 8 #include "base/memory/shared_memory.h" |
9 #include "base/process/process.h" | 9 #include "base/process/process.h" |
10 #include "base/strings/string16.h" | 10 #include "base/strings/string16.h" |
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
439 // isn't supported). | 439 // isn't supported). |
440 IPC_STRUCT_MEMBER(float, top_controls_height) | 440 IPC_STRUCT_MEMBER(float, top_controls_height) |
441 // The size of the visible viewport, which may be smaller than the view if the | 441 // The size of the visible viewport, which may be smaller than the view if the |
442 // view is partially occluded (e.g. by a virtual keyboard). The size is in | 442 // view is partially occluded (e.g. by a virtual keyboard). The size is in |
443 // DPI-adjusted pixels. | 443 // DPI-adjusted pixels. |
444 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) | 444 IPC_STRUCT_MEMBER(gfx::Size, visible_viewport_size) |
445 // The resizer rect. | 445 // The resizer rect. |
446 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) | 446 IPC_STRUCT_MEMBER(gfx::Rect, resizer_rect) |
447 // Indicates whether a page is fullscreen or not. | 447 // Indicates whether a page is fullscreen or not. |
448 IPC_STRUCT_MEMBER(bool, is_fullscreen) | 448 IPC_STRUCT_MEMBER(bool, is_fullscreen) |
| 449 // If set, requests the renderer to reply with a ViewHostMsg_UpdateRect |
| 450 // with the ViewHostMsg_UpdateRect_Flags::IS_RESIZE_ACK bit set in flags. |
| 451 IPC_STRUCT_MEMBER(bool, needs_resize_ack) |
449 IPC_STRUCT_END() | 452 IPC_STRUCT_END() |
450 | 453 |
451 IPC_STRUCT_BEGIN(ViewMsg_New_Params) | 454 IPC_STRUCT_BEGIN(ViewMsg_New_Params) |
452 // Renderer-wide preferences. | 455 // Renderer-wide preferences. |
453 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) | 456 IPC_STRUCT_MEMBER(content::RendererPreferences, renderer_preferences) |
454 | 457 |
455 // Preferences for this view. | 458 // Preferences for this view. |
456 IPC_STRUCT_MEMBER(content::WebPreferences, web_preferences) | 459 IPC_STRUCT_MEMBER(content::WebPreferences, web_preferences) |
457 | 460 |
458 // The ID of the view to be created. | 461 // The ID of the view to be created. |
(...skipping 1192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1651 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters | 1654 // cached by the OS. Please see RenderMessageFilter::OnPreCacheFontCharacters |
1652 // for details. | 1655 // for details. |
1653 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, | 1656 IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFontCharacters, |
1654 LOGFONT /* font_data */, | 1657 LOGFONT /* font_data */, |
1655 base::string16 /* characters */) | 1658 base::string16 /* characters */) |
1656 #endif | 1659 #endif |
1657 | 1660 |
1658 // Adding a new message? Stick to the sort order above: first platform | 1661 // Adding a new message? Stick to the sort order above: first platform |
1659 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1662 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1660 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1663 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |