| 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" |
| 11 #include "cc/output/begin_frame_args.h" | 11 #include "cc/output/begin_frame_args.h" |
| 12 #include "cc/output/compositor_frame.h" | 12 #include "cc/output/compositor_frame.h" |
| 13 #include "cc/output/compositor_frame_ack.h" | 13 #include "cc/output/compositor_frame_ack.h" |
| 14 #include "content/common/browser_rendering_stats.h" | 14 #include "content/common/browser_rendering_stats.h" |
| 15 #include "content/common/content_export.h" | 15 #include "content/common/content_export.h" |
| 16 #include "content/common/content_param_traits.h" | 16 #include "content/common/content_param_traits.h" |
| 17 #include "content/common/cookie_data.h" | 17 #include "content/common/cookie_data.h" |
| 18 #include "content/common/date_time_suggestion.h" |
| 18 #include "content/common/navigation_gesture.h" | 19 #include "content/common/navigation_gesture.h" |
| 19 #include "content/common/pepper_renderer_instance_data.h" | 20 #include "content/common/pepper_renderer_instance_data.h" |
| 20 #include "content/common/view_message_enums.h" | 21 #include "content/common/view_message_enums.h" |
| 21 #include "content/common/webplugin_geometry.h" | 22 #include "content/common/webplugin_geometry.h" |
| 22 #include "content/port/common/input_event_ack_state.h" | 23 #include "content/port/common/input_event_ack_state.h" |
| 23 #include "content/public/common/common_param_traits.h" | 24 #include "content/public/common/common_param_traits.h" |
| 24 #include "content/public/common/context_menu_params.h" | 25 #include "content/public/common/context_menu_params.h" |
| 25 #include "content/public/common/favicon_url.h" | 26 #include "content/public/common/favicon_url.h" |
| 26 #include "content/public/common/file_chooser_params.h" | 27 #include "content/public/common/file_chooser_params.h" |
| 27 #include "content/public/common/frame_navigate_params.h" | 28 #include "content/public/common/frame_navigate_params.h" |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 IPC_STRUCT_TRAITS_MEMBER(tool_tip) | 153 IPC_STRUCT_TRAITS_MEMBER(tool_tip) |
| 153 IPC_STRUCT_TRAITS_MEMBER(type) | 154 IPC_STRUCT_TRAITS_MEMBER(type) |
| 154 IPC_STRUCT_TRAITS_MEMBER(action) | 155 IPC_STRUCT_TRAITS_MEMBER(action) |
| 155 IPC_STRUCT_TRAITS_MEMBER(rtl) | 156 IPC_STRUCT_TRAITS_MEMBER(rtl) |
| 156 IPC_STRUCT_TRAITS_MEMBER(has_directional_override) | 157 IPC_STRUCT_TRAITS_MEMBER(has_directional_override) |
| 157 IPC_STRUCT_TRAITS_MEMBER(enabled) | 158 IPC_STRUCT_TRAITS_MEMBER(enabled) |
| 158 IPC_STRUCT_TRAITS_MEMBER(checked) | 159 IPC_STRUCT_TRAITS_MEMBER(checked) |
| 159 IPC_STRUCT_TRAITS_MEMBER(submenu) | 160 IPC_STRUCT_TRAITS_MEMBER(submenu) |
| 160 IPC_STRUCT_TRAITS_END() | 161 IPC_STRUCT_TRAITS_END() |
| 161 | 162 |
| 163 IPC_STRUCT_TRAITS_BEGIN(content::DateTimeSuggestion) |
| 164 IPC_STRUCT_TRAITS_MEMBER(value) |
| 165 IPC_STRUCT_TRAITS_MEMBER(localizedValue) |
| 166 IPC_STRUCT_TRAITS_MEMBER(label) |
| 167 IPC_STRUCT_TRAITS_END() |
| 168 |
| 162 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) | 169 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) |
| 163 IPC_STRUCT_TRAITS_MEMBER(media_type) | 170 IPC_STRUCT_TRAITS_MEMBER(media_type) |
| 164 IPC_STRUCT_TRAITS_MEMBER(x) | 171 IPC_STRUCT_TRAITS_MEMBER(x) |
| 165 IPC_STRUCT_TRAITS_MEMBER(y) | 172 IPC_STRUCT_TRAITS_MEMBER(y) |
| 166 IPC_STRUCT_TRAITS_MEMBER(link_url) | 173 IPC_STRUCT_TRAITS_MEMBER(link_url) |
| 167 IPC_STRUCT_TRAITS_MEMBER(link_text) | 174 IPC_STRUCT_TRAITS_MEMBER(link_text) |
| 168 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url) | 175 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url) |
| 169 IPC_STRUCT_TRAITS_MEMBER(src_url) | 176 IPC_STRUCT_TRAITS_MEMBER(src_url) |
| 170 IPC_STRUCT_TRAITS_MEMBER(has_image_contents) | 177 IPC_STRUCT_TRAITS_MEMBER(has_image_contents) |
| 171 IPC_STRUCT_TRAITS_MEMBER(page_url) | 178 IPC_STRUCT_TRAITS_MEMBER(page_url) |
| (...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 // from, only valid for shared workers. | 398 // from, only valid for shared workers. |
| 392 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) | 399 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) |
| 393 IPC_STRUCT_END() | 400 IPC_STRUCT_END() |
| 394 | 401 |
| 395 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) | 402 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) |
| 396 IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type) | 403 IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type) |
| 397 IPC_STRUCT_MEMBER(double, dialog_value) | 404 IPC_STRUCT_MEMBER(double, dialog_value) |
| 398 IPC_STRUCT_MEMBER(double, minimum) | 405 IPC_STRUCT_MEMBER(double, minimum) |
| 399 IPC_STRUCT_MEMBER(double, maximum) | 406 IPC_STRUCT_MEMBER(double, maximum) |
| 400 IPC_STRUCT_MEMBER(double, step) | 407 IPC_STRUCT_MEMBER(double, step) |
| 408 IPC_STRUCT_MEMBER(std::vector<content::DateTimeSuggestion>, suggestions) |
| 401 IPC_STRUCT_END() | 409 IPC_STRUCT_END() |
| 402 | 410 |
| 403 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) | 411 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) |
| 404 // The frame ID for the failure report. | 412 // The frame ID for the failure report. |
| 405 IPC_STRUCT_MEMBER(int64, frame_id) | 413 IPC_STRUCT_MEMBER(int64, frame_id) |
| 406 // The WebFrame's uniqueName(). | 414 // The WebFrame's uniqueName(). |
| 407 IPC_STRUCT_MEMBER(string16, frame_unique_name) | 415 IPC_STRUCT_MEMBER(string16, frame_unique_name) |
| 408 // True if this is the top-most frame. | 416 // True if this is the top-most frame. |
| 409 IPC_STRUCT_MEMBER(bool, is_main_frame) | 417 IPC_STRUCT_MEMBER(bool, is_main_frame) |
| 410 // Error code as reported in the DidFailProvisionalLoad callback. | 418 // Error code as reported in the DidFailProvisionalLoad callback. |
| (...skipping 1936 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2347 // synchronously (see crbug.com/120597). This IPC message sends the character | 2355 // synchronously (see crbug.com/120597). This IPC message sends the character |
| 2348 // bounds after every composition change to always have correct bound info. | 2356 // bounds after every composition change to always have correct bound info. |
| 2349 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2357 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
| 2350 gfx::Range /* composition range */, | 2358 gfx::Range /* composition range */, |
| 2351 std::vector<gfx::Rect> /* character bounds */) | 2359 std::vector<gfx::Rect> /* character bounds */) |
| 2352 #endif | 2360 #endif |
| 2353 | 2361 |
| 2354 // Adding a new message? Stick to the sort order above: first platform | 2362 // Adding a new message? Stick to the sort order above: first platform |
| 2355 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2363 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
| 2356 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2364 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
| OLD | NEW |