| 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 #include "ui/gfx/point.h" | 58 #include "ui/gfx/point.h" |
| 59 #include "ui/gfx/range/range.h" | 59 #include "ui/gfx/range/range.h" |
| 60 #include "ui/gfx/rect.h" | 60 #include "ui/gfx/rect.h" |
| 61 #include "ui/gfx/rect_f.h" | 61 #include "ui/gfx/rect_f.h" |
| 62 #include "ui/gfx/vector2d.h" | 62 #include "ui/gfx/vector2d.h" |
| 63 #include "ui/gfx/vector2d_f.h" | 63 #include "ui/gfx/vector2d_f.h" |
| 64 #include "ui/shell_dialogs/selected_file_info.h" | 64 #include "ui/shell_dialogs/selected_file_info.h" |
| 65 | 65 |
| 66 #if defined(OS_MACOSX) | 66 #if defined(OS_MACOSX) |
| 67 #include "content/common/mac/font_descriptor.h" | 67 #include "content/common/mac/font_descriptor.h" |
| 68 #include "third_party/WebKit/public/web/mac/WebScrollbarTheme.h" |
| 68 #endif | 69 #endif |
| 69 | 70 |
| 70 #undef IPC_MESSAGE_EXPORT | 71 #undef IPC_MESSAGE_EXPORT |
| 71 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT | 72 #define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
| 72 | 73 |
| 73 #define IPC_MESSAGE_START ViewMsgStart | 74 #define IPC_MESSAGE_START ViewMsgStart |
| 74 | 75 |
| 75 IPC_ENUM_TRAITS(AccessibilityMode) | 76 IPC_ENUM_TRAITS(AccessibilityMode) |
| 76 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) | 77 IPC_ENUM_TRAITS(ViewMsg_Navigate_Type::Value) |
| 77 IPC_ENUM_TRAITS(blink::WebContextMenuData::MediaType) | 78 IPC_ENUM_TRAITS(blink::WebContextMenuData::MediaType) |
| (...skipping 1200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1278 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB, | 1279 IPC_MESSAGE_ROUTED1(ViewMsg_ReleaseDisambiguationPopupDIB, |
| 1279 TransportDIB::Handle /* DIB handle */) | 1280 TransportDIB::Handle /* DIB handle */) |
| 1280 | 1281 |
| 1281 // Notifies the renderer that a snapshot has been retrieved. | 1282 // Notifies the renderer that a snapshot has been retrieved. |
| 1282 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, | 1283 IPC_MESSAGE_ROUTED3(ViewMsg_WindowSnapshotCompleted, |
| 1283 int /* snapshot_id */, | 1284 int /* snapshot_id */, |
| 1284 gfx::Size /* size */, | 1285 gfx::Size /* size */, |
| 1285 std::vector<unsigned char> /* png */) | 1286 std::vector<unsigned char> /* png */) |
| 1286 | 1287 |
| 1287 #if defined(OS_MACOSX) | 1288 #if defined(OS_MACOSX) |
| 1289 IPC_ENUM_TRAITS_MAX_VALUE(blink::ScrollerStyle, blink::ScrollerStyleOverlay); |
| 1290 |
| 1288 // Notification of a change in scrollbar appearance and/or behavior. | 1291 // Notification of a change in scrollbar appearance and/or behavior. |
| 1289 IPC_MESSAGE_CONTROL4(ViewMsg_UpdateScrollbarTheme, | 1292 IPC_MESSAGE_CONTROL5(ViewMsg_UpdateScrollbarTheme, |
| 1290 float /* initial_button_delay */, | 1293 float /* initial_button_delay */, |
| 1291 float /* autoscroll_button_delay */, | 1294 float /* autoscroll_button_delay */, |
| 1292 bool /* jump_on_track_click */, | 1295 bool /* jump_on_track_click */, |
| 1296 blink::ScrollerStyle /* preferred_scroller_style */, |
| 1293 bool /* redraw */) | 1297 bool /* redraw */) |
| 1294 #endif | 1298 #endif |
| 1295 | 1299 |
| 1296 #if defined(OS_ANDROID) | 1300 #if defined(OS_ANDROID) |
| 1297 // Tells the renderer to suspend/resume the webkit timers. | 1301 // Tells the renderer to suspend/resume the webkit timers. |
| 1298 IPC_MESSAGE_CONTROL1(ViewMsg_SetWebKitSharedTimersSuspended, | 1302 IPC_MESSAGE_CONTROL1(ViewMsg_SetWebKitSharedTimersSuspended, |
| 1299 bool /* suspend */) | 1303 bool /* suspend */) |
| 1300 | 1304 |
| 1301 // Sent when the browser wants the bounding boxes of the current find matches. | 1305 // Sent when the browser wants the bounding boxes of the current find matches. |
| 1302 // | 1306 // |
| (...skipping 1028 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2331 // synchronously (see crbug.com/120597). This IPC message sends the character | 2335 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2332 // bounds after every composition change to always have correct bound info. | 2336 // bounds after every composition change to always have correct bound info. |
| 2333 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2337 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2334 gfx::Range /* composition range */, | 2338 gfx::Range /* composition range */, |
| 2335 std::vector<gfx::Rect> /* character bounds */) | 2339 std::vector<gfx::Rect> /* character bounds */) |
| 2336 #endif | 2340 #endif |
| 2337 | 2341 |
| 2338 // Adding a new message? Stick to the sort order above: first platform | 2342 // Adding a new message? Stick to the sort order above: first platform |
| 2339 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2343 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2340 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2344 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |