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