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/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
(...skipping 26 matching lines...) Expand all Loading... |
37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPluginAction.h" |
38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h" |
41 #include "ui/base/dialogs/selected_file_info.h" | 41 #include "ui/base/dialogs/selected_file_info.h" |
42 #include "ui/base/ime/text_input_type.h" | 42 #include "ui/base/ime/text_input_type.h" |
43 #include "ui/base/range/range.h" | 43 #include "ui/base/range/range.h" |
44 #include "ui/gfx/point.h" | 44 #include "ui/gfx/point.h" |
45 #include "ui/gfx/rect.h" | 45 #include "ui/gfx/rect.h" |
46 #include "ui/gfx/rect_f.h" | 46 #include "ui/gfx/rect_f.h" |
| 47 #include "ui/gfx/vector2d.h" |
47 #include "webkit/glue/webcookie.h" | 48 #include "webkit/glue/webcookie.h" |
48 #include "webkit/glue/webmenuitem.h" | 49 #include "webkit/glue/webmenuitem.h" |
49 #include "webkit/glue/webpreferences.h" | 50 #include "webkit/glue/webpreferences.h" |
50 #include "webkit/plugins/npapi/webplugin.h" | 51 #include "webkit/plugins/npapi/webplugin.h" |
51 | 52 |
52 #if defined(OS_MACOSX) | 53 #if defined(OS_MACOSX) |
53 #include "content/common/mac/font_descriptor.h" | 54 #include "content/common/mac/font_descriptor.h" |
54 #endif | 55 #endif |
55 | 56 |
56 #undef IPC_MESSAGE_EXPORT | 57 #undef IPC_MESSAGE_EXPORT |
(...skipping 489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
546 // The scroll offset. Only one of these can be non-zero, and if they are | 547 // The scroll offset. Only one of these can be non-zero, and if they are |
547 // both zero, then it means there is no scrolling and the scroll_rect is | 548 // both zero, then it means there is no scrolling and the scroll_rect is |
548 // ignored. | 549 // ignored. |
549 IPC_STRUCT_MEMBER(int, dx) | 550 IPC_STRUCT_MEMBER(int, dx) |
550 IPC_STRUCT_MEMBER(int, dy) | 551 IPC_STRUCT_MEMBER(int, dy) |
551 | 552 |
552 // The rectangular region to scroll. | 553 // The rectangular region to scroll. |
553 IPC_STRUCT_MEMBER(gfx::Rect, scroll_rect) | 554 IPC_STRUCT_MEMBER(gfx::Rect, scroll_rect) |
554 | 555 |
555 // The scroll offset of the render view. | 556 // The scroll offset of the render view. |
556 IPC_STRUCT_MEMBER(gfx::Point, scroll_offset) | 557 IPC_STRUCT_MEMBER(gfx::Vector2d, scroll_offset) |
557 | 558 |
558 // The regions of the bitmap (in view coords) that contain updated pixels. | 559 // The regions of the bitmap (in view coords) that contain updated pixels. |
559 // In the case of scrolling, this includes the scroll damage rect. | 560 // In the case of scrolling, this includes the scroll damage rect. |
560 IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects) | 561 IPC_STRUCT_MEMBER(std::vector<gfx::Rect>, copy_rects) |
561 | 562 |
562 // The size of the RenderView when this message was generated. This is | 563 // The size of the RenderView when this message was generated. This is |
563 // included so the host knows how large the view is from the perspective of | 564 // included so the host knows how large the view is from the perspective of |
564 // the renderer process. This is necessary in case a resize operation is in | 565 // the renderer process. This is necessary in case a resize operation is in |
565 // progress. If auto-resize is enabled, this should update the corresponding | 566 // progress. If auto-resize is enabled, this should update the corresponding |
566 // view size. | 567 // view size. |
(...skipping 1831 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2398 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, | 2399 IPC_MESSAGE_ROUTED1(ViewHostMsg_StartContentIntent, |
2399 GURL /* content_url */) | 2400 GURL /* content_url */) |
2400 #endif | 2401 #endif |
2401 | 2402 |
2402 // Notifies that multiple touch targets may have been pressed, and to show | 2403 // Notifies that multiple touch targets may have been pressed, and to show |
2403 // the disambiguation popup. | 2404 // the disambiguation popup. |
2404 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, | 2405 IPC_MESSAGE_ROUTED3(ViewHostMsg_ShowDisambiguationPopup, |
2405 gfx::Rect, /* Border of touched targets */ | 2406 gfx::Rect, /* Border of touched targets */ |
2406 gfx::Size, /* Size of zoomed image */ | 2407 gfx::Size, /* Size of zoomed image */ |
2407 TransportDIB::Id /* DIB of zoomed image */) | 2408 TransportDIB::Id /* DIB of zoomed image */) |
OLD | NEW |