| 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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 307 | 307 |
| 308 IPC_STRUCT_TRAITS_BEGIN(content::BrowserRenderingStats) | 308 IPC_STRUCT_TRAITS_BEGIN(content::BrowserRenderingStats) |
| 309 IPC_STRUCT_TRAITS_MEMBER(input_event_count) | 309 IPC_STRUCT_TRAITS_MEMBER(input_event_count) |
| 310 IPC_STRUCT_TRAITS_MEMBER(total_input_latency) | 310 IPC_STRUCT_TRAITS_MEMBER(total_input_latency) |
| 311 IPC_STRUCT_TRAITS_MEMBER(touch_ui_count) | 311 IPC_STRUCT_TRAITS_MEMBER(touch_ui_count) |
| 312 IPC_STRUCT_TRAITS_MEMBER(total_touch_ui_latency) | 312 IPC_STRUCT_TRAITS_MEMBER(total_touch_ui_latency) |
| 313 IPC_STRUCT_TRAITS_MEMBER(touch_acked_count) | 313 IPC_STRUCT_TRAITS_MEMBER(touch_acked_count) |
| 314 IPC_STRUCT_TRAITS_MEMBER(total_touch_acked_latency) | 314 IPC_STRUCT_TRAITS_MEMBER(total_touch_acked_latency) |
| 315 IPC_STRUCT_TRAITS_MEMBER(scroll_update_count) | 315 IPC_STRUCT_TRAITS_MEMBER(scroll_update_count) |
| 316 IPC_STRUCT_TRAITS_MEMBER(total_scroll_update_latency) | 316 IPC_STRUCT_TRAITS_MEMBER(total_scroll_update_latency) |
| 317 IPC_STRUCT_TRAITS_MEMBER(impl_to_main_touch_event_count) |
| 318 IPC_STRUCT_TRAITS_MEMBER(total_impl_to_main_touch_event_latency) |
| 319 IPC_STRUCT_TRAITS_MEMBER(impl_to_main_gesture_scroll_event_count) |
| 320 IPC_STRUCT_TRAITS_MEMBER(total_impl_to_main_gesture_scroll_event_latency) |
| 317 IPC_STRUCT_TRAITS_END() | 321 IPC_STRUCT_TRAITS_END() |
| 318 | 322 |
| 319 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) | 323 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWindow_Params) |
| 320 // Routing ID of the view initiating the open. | 324 // Routing ID of the view initiating the open. |
| 321 IPC_STRUCT_MEMBER(int, opener_id) | 325 IPC_STRUCT_MEMBER(int, opener_id) |
| 322 | 326 |
| 323 // True if this open request came in the context of a user gesture. | 327 // True if this open request came in the context of a user gesture. |
| 324 IPC_STRUCT_MEMBER(bool, user_gesture) | 328 IPC_STRUCT_MEMBER(bool, user_gesture) |
| 325 | 329 |
| 326 // Type of window requested. | 330 // Type of window requested. |
| (...skipping 2037 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2364 // synchronously (see crbug.com/120597). This IPC message sends the character | 2368 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2365 // bounds after every composition change to always have correct bound info. | 2369 // bounds after every composition change to always have correct bound info. |
| 2366 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2370 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2367 ui::Range /* composition range */, | 2371 ui::Range /* composition range */, |
| 2368 std::vector<gfx::Rect> /* character bounds */) | 2372 std::vector<gfx::Rect> /* character bounds */) |
| 2369 #endif | 2373 #endif |
| 2370 | 2374 |
| 2371 // Adding a new message? Stick to the sort order above: first platform | 2375 // Adding a new message? Stick to the sort order above: first platform |
| 2372 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2376 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2373 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2377 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |