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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 #include "third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h" | 53 #include "third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h" |
54 #include "third_party/WebKit/public/web/WebTextDirection.h" | 54 #include "third_party/WebKit/public/web/WebTextDirection.h" |
55 #include "ui/base/ime/text_input_mode.h" | 55 #include "ui/base/ime/text_input_mode.h" |
56 #include "ui/base/ime/text_input_type.h" | 56 #include "ui/base/ime/text_input_type.h" |
57 #include "ui/base/ui_base_types.h" | 57 #include "ui/base/ui_base_types.h" |
58 #include "ui/gfx/geometry/point.h" | 58 #include "ui/gfx/geometry/point.h" |
59 #include "ui/gfx/geometry/rect.h" | 59 #include "ui/gfx/geometry/rect.h" |
60 #include "ui/gfx/geometry/rect_f.h" | 60 #include "ui/gfx/geometry/rect_f.h" |
61 #include "ui/gfx/geometry/vector2d.h" | 61 #include "ui/gfx/geometry/vector2d.h" |
62 #include "ui/gfx/geometry/vector2d_f.h" | 62 #include "ui/gfx/geometry/vector2d_f.h" |
| 63 #include "ui/gfx/ipc/color/gfx_param_traits.h" |
63 #include "ui/gfx/ipc/gfx_param_traits.h" | 64 #include "ui/gfx/ipc/gfx_param_traits.h" |
64 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" | 65 #include "ui/gfx/ipc/skia/gfx_skia_param_traits.h" |
65 #include "ui/gfx/range/range.h" | 66 #include "ui/gfx/range/range.h" |
66 | 67 |
67 #if defined(OS_MACOSX) | 68 #if defined(OS_MACOSX) |
68 #include "third_party/WebKit/public/platform/WebScrollbarButtonsPlacement.h" | 69 #include "third_party/WebKit/public/platform/WebScrollbarButtonsPlacement.h" |
69 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" | 70 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" |
70 #endif | 71 #endif |
71 | 72 |
72 #undef IPC_MESSAGE_EXPORT | 73 #undef IPC_MESSAGE_EXPORT |
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 | 483 |
483 // The minimum size to layout the page if auto-resize is enabled. | 484 // The minimum size to layout the page if auto-resize is enabled. |
484 IPC_STRUCT_MEMBER(gfx::Size, min_size) | 485 IPC_STRUCT_MEMBER(gfx::Size, min_size) |
485 | 486 |
486 // The maximum size to layout the page if auto-resize is enabled. | 487 // The maximum size to layout the page if auto-resize is enabled. |
487 IPC_STRUCT_MEMBER(gfx::Size, max_size) | 488 IPC_STRUCT_MEMBER(gfx::Size, max_size) |
488 | 489 |
489 // The page zoom level. | 490 // The page zoom level. |
490 IPC_STRUCT_MEMBER(double, page_zoom_level) | 491 IPC_STRUCT_MEMBER(double, page_zoom_level) |
491 | 492 |
492 // The color profile to use for image decode. | 493 // The color space to use for image decode. |
493 IPC_STRUCT_MEMBER(std::vector<char>, image_decode_color_profile) | 494 IPC_STRUCT_MEMBER(gfx::ColorSpace, image_decode_color_space) |
494 IPC_STRUCT_END() | 495 IPC_STRUCT_END() |
495 | 496 |
496 #if defined(OS_MACOSX) | 497 #if defined(OS_MACOSX) |
497 IPC_STRUCT_BEGIN(ViewMsg_UpdateScrollbarTheme_Params) | 498 IPC_STRUCT_BEGIN(ViewMsg_UpdateScrollbarTheme_Params) |
498 IPC_STRUCT_MEMBER(float, initial_button_delay) | 499 IPC_STRUCT_MEMBER(float, initial_button_delay) |
499 IPC_STRUCT_MEMBER(float, autoscroll_button_delay) | 500 IPC_STRUCT_MEMBER(float, autoscroll_button_delay) |
500 IPC_STRUCT_MEMBER(bool, jump_on_track_click) | 501 IPC_STRUCT_MEMBER(bool, jump_on_track_click) |
501 IPC_STRUCT_MEMBER(blink::ScrollerStyle, preferred_scroller_style) | 502 IPC_STRUCT_MEMBER(blink::ScrollerStyle, preferred_scroller_style) |
502 IPC_STRUCT_MEMBER(bool, redraw) | 503 IPC_STRUCT_MEMBER(bool, redraw) |
503 IPC_STRUCT_MEMBER(blink::WebScrollbarButtonsPlacement, button_placement) | 504 IPC_STRUCT_MEMBER(blink::WebScrollbarButtonsPlacement, button_placement) |
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1178 int /* y */) | 1179 int /* y */) |
1179 | 1180 |
1180 #elif defined(OS_MACOSX) | 1181 #elif defined(OS_MACOSX) |
1181 // Receives content of a web page as plain text. | 1182 // Receives content of a web page as plain text. |
1182 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) | 1183 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) |
1183 #endif | 1184 #endif |
1184 | 1185 |
1185 // Adding a new message? Stick to the sort order above: first platform | 1186 // Adding a new message? Stick to the sort order above: first platform |
1186 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 1187 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
1187 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 1188 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |