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 17 matching lines...) Expand all Loading... |
28 #include "content/public/common/frame_navigate_params.h" | 28 #include "content/public/common/frame_navigate_params.h" |
29 #include "content/public/common/javascript_message_type.h" | 29 #include "content/public/common/javascript_message_type.h" |
30 #include "content/public/common/menu_item.h" | 30 #include "content/public/common/menu_item.h" |
31 #include "content/public/common/page_state.h" | 31 #include "content/public/common/page_state.h" |
32 #include "content/public/common/page_zoom.h" | 32 #include "content/public/common/page_zoom.h" |
33 #include "content/public/common/referrer.h" | 33 #include "content/public/common/referrer.h" |
34 #include "content/public/common/renderer_preferences.h" | 34 #include "content/public/common/renderer_preferences.h" |
35 #include "content/public/common/stop_find_action.h" | 35 #include "content/public/common/stop_find_action.h" |
36 #include "content/public/common/three_d_api_types.h" | 36 #include "content/public/common/three_d_api_types.h" |
37 #include "content/public/common/window_container_type.h" | 37 #include "content/public/common/window_container_type.h" |
| 38 #include "content/common/date_time_suggestion.h" |
38 #include "ipc/ipc_channel_handle.h" | 39 #include "ipc/ipc_channel_handle.h" |
39 #include "ipc/ipc_message_macros.h" | 40 #include "ipc/ipc_message_macros.h" |
40 #include "ipc/ipc_platform_file.h" | 41 #include "ipc/ipc_platform_file.h" |
41 #include "media/audio/audio_parameters.h" | 42 #include "media/audio/audio_parameters.h" |
42 #include "media/base/channel_layout.h" | 43 #include "media/base/channel_layout.h" |
43 #include "media/base/media_log_event.h" | 44 #include "media/base/media_log_event.h" |
44 #include "third_party/WebKit/public/platform/WebFloatPoint.h" | 45 #include "third_party/WebKit/public/platform/WebFloatPoint.h" |
45 #include "third_party/WebKit/public/platform/WebFloatRect.h" | 46 #include "third_party/WebKit/public/platform/WebFloatRect.h" |
46 #include "third_party/WebKit/public/platform/WebScreenInfo.h" | 47 #include "third_party/WebKit/public/platform/WebScreenInfo.h" |
47 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" | 48 #include "third_party/WebKit/public/web/WebCompositionUnderline.h" |
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
158 IPC_STRUCT_TRAITS_MEMBER(enabled) | 159 IPC_STRUCT_TRAITS_MEMBER(enabled) |
159 IPC_STRUCT_TRAITS_MEMBER(checked) | 160 IPC_STRUCT_TRAITS_MEMBER(checked) |
160 IPC_STRUCT_TRAITS_MEMBER(submenu) | 161 IPC_STRUCT_TRAITS_MEMBER(submenu) |
161 IPC_STRUCT_TRAITS_END() | 162 IPC_STRUCT_TRAITS_END() |
162 | 163 |
163 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion) | 164 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion) |
164 IPC_STRUCT_TRAITS_MEMBER(color) | 165 IPC_STRUCT_TRAITS_MEMBER(color) |
165 IPC_STRUCT_TRAITS_MEMBER(label) | 166 IPC_STRUCT_TRAITS_MEMBER(label) |
166 IPC_STRUCT_TRAITS_END() | 167 IPC_STRUCT_TRAITS_END() |
167 | 168 |
| 169 IPC_STRUCT_TRAITS_BEGIN(content::DateTimeSuggestion) |
| 170 IPC_STRUCT_TRAITS_MEMBER(value) |
| 171 IPC_STRUCT_TRAITS_MEMBER(localized_value) |
| 172 IPC_STRUCT_TRAITS_MEMBER(label) |
| 173 IPC_STRUCT_TRAITS_END() |
| 174 |
168 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) | 175 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) |
169 IPC_STRUCT_TRAITS_MEMBER(media_type) | 176 IPC_STRUCT_TRAITS_MEMBER(media_type) |
170 IPC_STRUCT_TRAITS_MEMBER(x) | 177 IPC_STRUCT_TRAITS_MEMBER(x) |
171 IPC_STRUCT_TRAITS_MEMBER(y) | 178 IPC_STRUCT_TRAITS_MEMBER(y) |
172 IPC_STRUCT_TRAITS_MEMBER(link_url) | 179 IPC_STRUCT_TRAITS_MEMBER(link_url) |
173 IPC_STRUCT_TRAITS_MEMBER(link_text) | 180 IPC_STRUCT_TRAITS_MEMBER(link_text) |
174 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url) | 181 IPC_STRUCT_TRAITS_MEMBER(unfiltered_link_url) |
175 IPC_STRUCT_TRAITS_MEMBER(src_url) | 182 IPC_STRUCT_TRAITS_MEMBER(src_url) |
176 IPC_STRUCT_TRAITS_MEMBER(has_image_contents) | 183 IPC_STRUCT_TRAITS_MEMBER(has_image_contents) |
177 IPC_STRUCT_TRAITS_MEMBER(page_url) | 184 IPC_STRUCT_TRAITS_MEMBER(page_url) |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
397 // from, only valid for shared workers. | 404 // from, only valid for shared workers. |
398 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) | 405 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) |
399 IPC_STRUCT_END() | 406 IPC_STRUCT_END() |
400 | 407 |
401 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) | 408 IPC_STRUCT_BEGIN(ViewHostMsg_DateTimeDialogValue_Params) |
402 IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type) | 409 IPC_STRUCT_MEMBER(ui::TextInputType, dialog_type) |
403 IPC_STRUCT_MEMBER(double, dialog_value) | 410 IPC_STRUCT_MEMBER(double, dialog_value) |
404 IPC_STRUCT_MEMBER(double, minimum) | 411 IPC_STRUCT_MEMBER(double, minimum) |
405 IPC_STRUCT_MEMBER(double, maximum) | 412 IPC_STRUCT_MEMBER(double, maximum) |
406 IPC_STRUCT_MEMBER(double, step) | 413 IPC_STRUCT_MEMBER(double, step) |
| 414 IPC_STRUCT_MEMBER(std::vector<content::DateTimeSuggestion>, suggestions) |
407 IPC_STRUCT_END() | 415 IPC_STRUCT_END() |
408 | 416 |
409 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) | 417 IPC_STRUCT_BEGIN(ViewHostMsg_DidFailProvisionalLoadWithError_Params) |
410 // The frame ID for the failure report. | 418 // The frame ID for the failure report. |
411 IPC_STRUCT_MEMBER(int64, frame_id) | 419 IPC_STRUCT_MEMBER(int64, frame_id) |
412 // The WebFrame's uniqueName(). | 420 // The WebFrame's uniqueName(). |
413 IPC_STRUCT_MEMBER(base::string16, frame_unique_name) | 421 IPC_STRUCT_MEMBER(base::string16, frame_unique_name) |
414 // True if this is the top-most frame. | 422 // True if this is the top-most frame. |
415 IPC_STRUCT_MEMBER(bool, is_main_frame) | 423 IPC_STRUCT_MEMBER(bool, is_main_frame) |
416 // Error code as reported in the DidFailProvisionalLoad callback. | 424 // Error code as reported in the DidFailProvisionalLoad callback. |
(...skipping 1914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2331 // synchronously (see crbug.com/120597). This IPC message sends the character | 2339 // synchronously (see crbug.com/120597). This IPC message sends the character |
2332 // bounds after every composition change to always have correct bound info. | 2340 // bounds after every composition change to always have correct bound info. |
2333 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, | 2341 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, |
2334 gfx::Range /* composition range */, | 2342 gfx::Range /* composition range */, |
2335 std::vector<gfx::Rect> /* character bounds */) | 2343 std::vector<gfx::Rect> /* character bounds */) |
2336 #endif | 2344 #endif |
2337 | 2345 |
2338 // Adding a new message? Stick to the sort order above: first platform | 2346 // Adding a new message? Stick to the sort order above: first platform |
2339 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform | 2347 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform |
2340 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. | 2348 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. |
OLD | NEW |