OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/process.h" | 8 #include "base/process.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "content/common/content_export.h" | 10 #include "content/common/content_export.h" |
11 #include "content/common/css_colors.h" | 11 #include "content/common/css_colors.h" |
12 #include "content/common/edit_command.h" | 12 #include "content/common/edit_command.h" |
13 #include "content/common/navigation_gesture.h" | 13 #include "content/common/navigation_gesture.h" |
14 #include "content/common/view_message_enums.h" | 14 #include "content/common/view_message_enums.h" |
15 #include "content/public/common/common_param_traits.h" | 15 #include "content/public/common/common_param_traits.h" |
| 16 #include "content/public/common/frame_navigate_params.h" |
16 #include "content/public/common/page_zoom.h" | 17 #include "content/public/common/page_zoom.h" |
17 #include "content/public/common/renderer_preferences.h" | 18 #include "content/public/common/renderer_preferences.h" |
18 #include "content/public/common/webkit_param_traits.h" | 19 #include "content/public/common/webkit_param_traits.h" |
19 #include "content/public/common/window_container_type.h" | 20 #include "content/public/common/window_container_type.h" |
20 #include "ipc/ipc_channel_handle.h" | 21 #include "ipc/ipc_channel_handle.h" |
21 #include "ipc/ipc_message_macros.h" | 22 #include "ipc/ipc_message_macros.h" |
22 #include "ipc/ipc_platform_file.h" | 23 #include "ipc/ipc_platform_file.h" |
23 #include "media/base/media_log_event.h" | 24 #include "media/base/media_log_event.h" |
24 #include "net/base/host_port_pair.h" | |
25 #include "third_party/skia/include/core/SkBitmap.h" | 25 #include "third_party/skia/include/core/SkBitmap.h" |
26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" | 26 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCompositionUnderli
ne.h" |
27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" | 27 #include "third_party/WebKit/Source/WebKit/chromium/public/WebInputEvent.h" |
28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" | 28 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFindOptions.h" |
29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" | 29 #include "third_party/WebKit/Source/WebKit/chromium/public/WebMediaPlayerAction.
h" |
30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" | 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebPopupType.h" |
31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebScreenInfo.h" |
32 #include "ui/base/ime/text_input_type.h" | 32 #include "ui/base/ime/text_input_type.h" |
33 #include "ui/base/range/range.h" | 33 #include "ui/base/range/range.h" |
34 #include "ui/gfx/rect.h" | 34 #include "ui/gfx/rect.h" |
35 #include "webkit/glue/context_menu.h" | 35 #include "webkit/glue/context_menu.h" |
36 #include "webkit/glue/password_form.h" | |
37 #include "webkit/glue/webcookie.h" | 36 #include "webkit/glue/webcookie.h" |
38 #include "webkit/glue/webmenuitem.h" | 37 #include "webkit/glue/webmenuitem.h" |
39 #include "webkit/glue/webpreferences.h" | 38 #include "webkit/glue/webpreferences.h" |
40 #include "webkit/glue/webaccessibility.h" | 39 #include "webkit/glue/webaccessibility.h" |
41 #include "webkit/plugins/npapi/webplugin.h" | 40 #include "webkit/plugins/npapi/webplugin.h" |
42 | 41 |
43 #if defined(OS_MACOSX) | 42 #if defined(OS_MACOSX) |
44 #include "content/common/mac/font_descriptor.h" | 43 #include "content/common/mac/font_descriptor.h" |
45 #endif | 44 #endif |
46 | 45 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 IPC_STRUCT_TRAITS_MEMBER(value) | 108 IPC_STRUCT_TRAITS_MEMBER(value) |
110 IPC_STRUCT_TRAITS_END() | 109 IPC_STRUCT_TRAITS_END() |
111 | 110 |
112 #if defined(OS_MACOSX) | 111 #if defined(OS_MACOSX) |
113 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor) | 112 IPC_STRUCT_TRAITS_BEGIN(FontDescriptor) |
114 IPC_STRUCT_TRAITS_MEMBER(font_name) | 113 IPC_STRUCT_TRAITS_MEMBER(font_name) |
115 IPC_STRUCT_TRAITS_MEMBER(font_point_size) | 114 IPC_STRUCT_TRAITS_MEMBER(font_point_size) |
116 IPC_STRUCT_TRAITS_END() | 115 IPC_STRUCT_TRAITS_END() |
117 #endif | 116 #endif |
118 | 117 |
119 IPC_STRUCT_TRAITS_BEGIN(content::RendererPreferences) | |
120 IPC_STRUCT_TRAITS_MEMBER(can_accept_load_drops) | |
121 IPC_STRUCT_TRAITS_MEMBER(should_antialias_text) | |
122 IPC_STRUCT_TRAITS_MEMBER(hinting) | |
123 IPC_STRUCT_TRAITS_MEMBER(subpixel_rendering) | |
124 IPC_STRUCT_TRAITS_MEMBER(focus_ring_color) | |
125 IPC_STRUCT_TRAITS_MEMBER(thumb_active_color) | |
126 IPC_STRUCT_TRAITS_MEMBER(thumb_inactive_color) | |
127 IPC_STRUCT_TRAITS_MEMBER(track_color) | |
128 IPC_STRUCT_TRAITS_MEMBER(active_selection_bg_color) | |
129 IPC_STRUCT_TRAITS_MEMBER(active_selection_fg_color) | |
130 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_bg_color) | |
131 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_fg_color) | |
132 IPC_STRUCT_TRAITS_MEMBER(browser_handles_top_level_requests) | |
133 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval) | |
134 IPC_STRUCT_TRAITS_MEMBER(enable_referrers) | |
135 IPC_STRUCT_TRAITS_END() | |
136 | |
137 IPC_STRUCT_TRAITS_BEGIN(ViewMsg_StopFinding_Params) | 118 IPC_STRUCT_TRAITS_BEGIN(ViewMsg_StopFinding_Params) |
138 IPC_STRUCT_TRAITS_MEMBER(action) | 119 IPC_STRUCT_TRAITS_MEMBER(action) |
139 IPC_STRUCT_TRAITS_END() | 120 IPC_STRUCT_TRAITS_END() |
140 | 121 |
141 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCompositionUnderline) | 122 IPC_STRUCT_TRAITS_BEGIN(WebKit::WebCompositionUnderline) |
142 IPC_STRUCT_TRAITS_MEMBER(startOffset) | 123 IPC_STRUCT_TRAITS_MEMBER(startOffset) |
143 IPC_STRUCT_TRAITS_MEMBER(endOffset) | 124 IPC_STRUCT_TRAITS_MEMBER(endOffset) |
144 IPC_STRUCT_TRAITS_MEMBER(color) | 125 IPC_STRUCT_TRAITS_MEMBER(color) |
145 IPC_STRUCT_TRAITS_MEMBER(thick) | 126 IPC_STRUCT_TRAITS_MEMBER(thick) |
146 IPC_STRUCT_TRAITS_END() | 127 IPC_STRUCT_TRAITS_END() |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 IPC_STRUCT_TRAITS_MEMBER(toolTip) | 233 IPC_STRUCT_TRAITS_MEMBER(toolTip) |
253 IPC_STRUCT_TRAITS_MEMBER(type) | 234 IPC_STRUCT_TRAITS_MEMBER(type) |
254 IPC_STRUCT_TRAITS_MEMBER(action) | 235 IPC_STRUCT_TRAITS_MEMBER(action) |
255 IPC_STRUCT_TRAITS_MEMBER(rtl) | 236 IPC_STRUCT_TRAITS_MEMBER(rtl) |
256 IPC_STRUCT_TRAITS_MEMBER(has_directional_override) | 237 IPC_STRUCT_TRAITS_MEMBER(has_directional_override) |
257 IPC_STRUCT_TRAITS_MEMBER(enabled) | 238 IPC_STRUCT_TRAITS_MEMBER(enabled) |
258 IPC_STRUCT_TRAITS_MEMBER(checked) | 239 IPC_STRUCT_TRAITS_MEMBER(checked) |
259 IPC_STRUCT_TRAITS_MEMBER(submenu) | 240 IPC_STRUCT_TRAITS_MEMBER(submenu) |
260 IPC_STRUCT_TRAITS_END() | 241 IPC_STRUCT_TRAITS_END() |
261 | 242 |
| 243 IPC_STRUCT_TRAITS_BEGIN(content::FrameNavigateParams) |
| 244 IPC_STRUCT_TRAITS_MEMBER(page_id) |
| 245 IPC_STRUCT_TRAITS_MEMBER(url) |
| 246 IPC_STRUCT_TRAITS_MEMBER(referrer) |
| 247 IPC_STRUCT_TRAITS_MEMBER(transition) |
| 248 IPC_STRUCT_TRAITS_MEMBER(redirects) |
| 249 IPC_STRUCT_TRAITS_MEMBER(should_update_history) |
| 250 IPC_STRUCT_TRAITS_MEMBER(searchable_form_url) |
| 251 IPC_STRUCT_TRAITS_MEMBER(searchable_form_encoding) |
| 252 IPC_STRUCT_TRAITS_MEMBER(password_form) |
| 253 IPC_STRUCT_TRAITS_MEMBER(contents_mime_type) |
| 254 IPC_STRUCT_TRAITS_MEMBER(socket_address) |
| 255 IPC_STRUCT_TRAITS_END() |
| 256 |
| 257 IPC_STRUCT_TRAITS_BEGIN(content::RendererPreferences) |
| 258 IPC_STRUCT_TRAITS_MEMBER(can_accept_load_drops) |
| 259 IPC_STRUCT_TRAITS_MEMBER(should_antialias_text) |
| 260 IPC_STRUCT_TRAITS_MEMBER(hinting) |
| 261 IPC_STRUCT_TRAITS_MEMBER(subpixel_rendering) |
| 262 IPC_STRUCT_TRAITS_MEMBER(focus_ring_color) |
| 263 IPC_STRUCT_TRAITS_MEMBER(thumb_active_color) |
| 264 IPC_STRUCT_TRAITS_MEMBER(thumb_inactive_color) |
| 265 IPC_STRUCT_TRAITS_MEMBER(track_color) |
| 266 IPC_STRUCT_TRAITS_MEMBER(active_selection_bg_color) |
| 267 IPC_STRUCT_TRAITS_MEMBER(active_selection_fg_color) |
| 268 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_bg_color) |
| 269 IPC_STRUCT_TRAITS_MEMBER(inactive_selection_fg_color) |
| 270 IPC_STRUCT_TRAITS_MEMBER(browser_handles_top_level_requests) |
| 271 IPC_STRUCT_TRAITS_MEMBER(caret_blink_interval) |
| 272 IPC_STRUCT_TRAITS_MEMBER(enable_referrers) |
| 273 IPC_STRUCT_TRAITS_END() |
| 274 |
262 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::CustomContextMenuContext) | 275 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::CustomContextMenuContext) |
263 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu) | 276 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu) |
264 IPC_STRUCT_TRAITS_MEMBER(request_id) | 277 IPC_STRUCT_TRAITS_MEMBER(request_id) |
265 IPC_STRUCT_TRAITS_MEMBER(render_widget_id) | 278 IPC_STRUCT_TRAITS_MEMBER(render_widget_id) |
266 IPC_STRUCT_TRAITS_END() | 279 IPC_STRUCT_TRAITS_END() |
267 | 280 |
268 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebAccessibility) | 281 IPC_STRUCT_TRAITS_BEGIN(webkit_glue::WebAccessibility) |
269 IPC_STRUCT_TRAITS_MEMBER(id) | 282 IPC_STRUCT_TRAITS_MEMBER(id) |
270 IPC_STRUCT_TRAITS_MEMBER(name) | 283 IPC_STRUCT_TRAITS_MEMBER(name) |
271 IPC_STRUCT_TRAITS_MEMBER(value) | 284 IPC_STRUCT_TRAITS_MEMBER(value) |
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 IPC_STRUCT_MEMBER(GURL, opener_url) | 348 IPC_STRUCT_MEMBER(GURL, opener_url) |
336 | 349 |
337 // The security origin of the frame initiating the open. | 350 // The security origin of the frame initiating the open. |
338 IPC_STRUCT_MEMBER(std::string, opener_security_origin) | 351 IPC_STRUCT_MEMBER(std::string, opener_security_origin) |
339 | 352 |
340 // The URL that will be loaded in the new window (empty if none has been | 353 // The URL that will be loaded in the new window (empty if none has been |
341 // sepcified). | 354 // sepcified). |
342 IPC_STRUCT_MEMBER(GURL, target_url) | 355 IPC_STRUCT_MEMBER(GURL, target_url) |
343 IPC_STRUCT_END() | 356 IPC_STRUCT_END() |
344 | 357 |
345 | |
346 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) | 358 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) |
347 // URL for the worker script. | 359 // URL for the worker script. |
348 IPC_STRUCT_MEMBER(GURL, url) | 360 IPC_STRUCT_MEMBER(GURL, url) |
349 | 361 |
350 // Name for a SharedWorker, otherwise empty string. | 362 // Name for a SharedWorker, otherwise empty string. |
351 IPC_STRUCT_MEMBER(string16, name) | 363 IPC_STRUCT_MEMBER(string16, name) |
352 | 364 |
353 // The ID of the parent document (unique within parent renderer). | 365 // The ID of the parent document (unique within parent renderer). |
354 IPC_STRUCT_MEMBER(unsigned long long, document_id) | 366 IPC_STRUCT_MEMBER(unsigned long long, document_id) |
355 | 367 |
356 // RenderView routing id used to send messages back to the parent. | 368 // RenderView routing id used to send messages back to the parent. |
357 IPC_STRUCT_MEMBER(int, render_view_route_id) | 369 IPC_STRUCT_MEMBER(int, render_view_route_id) |
358 | 370 |
359 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, | 371 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, |
360 // a new unique ID is created and assigned to the worker. | 372 // a new unique ID is created and assigned to the worker. |
361 IPC_STRUCT_MEMBER(int, route_id) | 373 IPC_STRUCT_MEMBER(int, route_id) |
362 | 374 |
363 // The ID of the appcache the main shared worker script resource was loaded | 375 // The ID of the appcache the main shared worker script resource was loaded |
364 // from, only valid for shared workers. | 376 // from, only valid for shared workers. |
365 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) | 377 IPC_STRUCT_MEMBER(int64, script_resource_appcache_id) |
366 IPC_STRUCT_END() | 378 IPC_STRUCT_END() |
367 | 379 |
| 380 IPC_STRUCT_BEGIN(ViewHostMsg_AccessibilityNotification_Params) |
| 381 // Type of notification. |
| 382 IPC_STRUCT_MEMBER(ViewHostMsg_AccEvent::Value, notification_type) |
| 383 |
| 384 // ID of the node that the notification applies to. |
| 385 IPC_STRUCT_MEMBER(int, id) |
| 386 |
| 387 // The accessibility node tree. |
| 388 IPC_STRUCT_MEMBER(webkit_glue::WebAccessibility, acc_tree) |
| 389 |
| 390 // Whether children are included in this tree, otherwise it's just an |
| 391 // update to this one node and existing children are left in place. |
| 392 IPC_STRUCT_MEMBER(bool, includes_children) |
| 393 IPC_STRUCT_END() |
| 394 |
368 // Parameters structure for ViewHostMsg_FrameNavigate, which has too many data | 395 // Parameters structure for ViewHostMsg_FrameNavigate, which has too many data |
369 // parameters to be reasonably put in a predefined IPC message. | 396 // parameters to be reasonably put in a predefined IPC message. |
370 IPC_STRUCT_BEGIN(ViewHostMsg_FrameNavigate_Params) | 397 IPC_STRUCT_BEGIN_WITH_PARENT(ViewHostMsg_FrameNavigate_Params, |
371 // Page ID of this navigation. The renderer creates a new unique page ID | 398 content::FrameNavigateParams) |
372 // anytime a new session history entry is created. This means you'll get new | 399 IPC_STRUCT_TRAITS_PARENT(content::FrameNavigateParams) |
373 // page IDs for user actions, and the old page IDs will be reloaded when | |
374 // iframes are loaded automatically. | |
375 IPC_STRUCT_MEMBER(int32, page_id) | |
376 | |
377 // The frame ID for this navigation. The frame ID uniquely identifies the | 400 // The frame ID for this navigation. The frame ID uniquely identifies the |
378 // frame the navigation happened in for a given renderer. | 401 // frame the navigation happened in for a given renderer. |
379 IPC_STRUCT_MEMBER(int64, frame_id) | 402 IPC_STRUCT_MEMBER(int64, frame_id) |
380 | 403 |
381 // URL of the page being loaded. | |
382 IPC_STRUCT_MEMBER(GURL, url) | |
383 | |
384 // URL of the referrer of this load. WebKit generates this based on the | |
385 // source of the event that caused the load. | |
386 IPC_STRUCT_MEMBER(GURL, referrer) | |
387 | |
388 // The type of transition. | |
389 IPC_STRUCT_MEMBER(content::PageTransition, transition) | |
390 | |
391 // Lists the redirects that occurred on the way to the current page. This | |
392 // vector has the same format as reported by the WebDataSource in the glue, | |
393 // with the current page being the last one in the list (so even when | |
394 // there's no redirect, there will be one entry in the list. | |
395 IPC_STRUCT_MEMBER(std::vector<GURL>, redirects) | |
396 | |
397 // Set to false if we want to update the session history but not update | |
398 // the browser history. E.g., on unreachable urls. | |
399 IPC_STRUCT_MEMBER(bool, should_update_history) | |
400 | |
401 // See SearchableFormData for a description of these. | |
402 IPC_STRUCT_MEMBER(GURL, searchable_form_url) | |
403 IPC_STRUCT_MEMBER(std::string, searchable_form_encoding) | |
404 | |
405 // See password_form.h. | |
406 IPC_STRUCT_MEMBER(webkit_glue::PasswordForm, password_form) | |
407 | |
408 // Information regarding the security of the connection (empty if the | 404 // Information regarding the security of the connection (empty if the |
409 // connection was not secure). | 405 // connection was not secure). |
410 IPC_STRUCT_MEMBER(std::string, security_info) | 406 IPC_STRUCT_MEMBER(std::string, security_info) |
411 | 407 |
412 // The gesture that initiated this navigation. | 408 // The gesture that initiated this navigation. |
413 IPC_STRUCT_MEMBER(NavigationGesture, gesture) | 409 IPC_STRUCT_MEMBER(NavigationGesture, gesture) |
414 | 410 |
415 // Contents MIME type of main frame. | |
416 IPC_STRUCT_MEMBER(std::string, contents_mime_type) | |
417 | |
418 // True if this was a post request. | 411 // True if this was a post request. |
419 IPC_STRUCT_MEMBER(bool, is_post) | 412 IPC_STRUCT_MEMBER(bool, is_post) |
420 | 413 |
421 // Whether the frame navigation resulted in no change to the documents within | 414 // Whether the frame navigation resulted in no change to the documents within |
422 // the page. For example, the navigation may have just resulted in scrolling | 415 // the page. For example, the navigation may have just resulted in scrolling |
423 // to a named anchor. | 416 // to a named anchor. |
424 IPC_STRUCT_MEMBER(bool, was_within_same_page) | 417 IPC_STRUCT_MEMBER(bool, was_within_same_page) |
425 | 418 |
426 // The status code of the HTTP request. | 419 // The status code of the HTTP request. |
427 IPC_STRUCT_MEMBER(int, http_status_code) | 420 IPC_STRUCT_MEMBER(int, http_status_code) |
428 | 421 |
429 // Remote address of the socket which fetched this resource. | |
430 IPC_STRUCT_MEMBER(net::HostPortPair, socket_address) | |
431 | |
432 // True if the connection was proxied. In this case, socket_address | 422 // True if the connection was proxied. In this case, socket_address |
433 // will represent the address of the proxy, rather than the remote host. | 423 // will represent the address of the proxy, rather than the remote host. |
434 IPC_STRUCT_MEMBER(bool, was_fetched_via_proxy) | 424 IPC_STRUCT_MEMBER(bool, was_fetched_via_proxy) |
435 | 425 |
436 // Serialized history item state to store in the navigation entry. | 426 // Serialized history item state to store in the navigation entry. |
437 IPC_STRUCT_MEMBER(std::string, content_state) | 427 IPC_STRUCT_MEMBER(std::string, content_state) |
438 IPC_STRUCT_END() | 428 IPC_STRUCT_END() |
439 | 429 |
440 IPC_STRUCT_BEGIN(ViewHostMsg_AccessibilityNotification_Params) | |
441 // Type of notification. | |
442 IPC_STRUCT_MEMBER(ViewHostMsg_AccEvent::Value, notification_type) | |
443 | |
444 // ID of the node that the notification applies to. | |
445 IPC_STRUCT_MEMBER(int, id) | |
446 | |
447 // The accessibility node tree. | |
448 IPC_STRUCT_MEMBER(webkit_glue::WebAccessibility, acc_tree) | |
449 | |
450 // Whether children are included in this tree, otherwise it's just an | |
451 // update to this one node and existing children are left in place. | |
452 IPC_STRUCT_MEMBER(bool, includes_children) | |
453 IPC_STRUCT_END() | |
454 | |
455 | |
456 IPC_STRUCT_BEGIN(ViewHostMsg_RunFileChooser_Params) | 430 IPC_STRUCT_BEGIN(ViewHostMsg_RunFileChooser_Params) |
457 IPC_STRUCT_MEMBER(ViewHostMsg_RunFileChooser_Mode::Value, mode) | 431 IPC_STRUCT_MEMBER(ViewHostMsg_RunFileChooser_Mode::Value, mode) |
458 | 432 |
459 // Title to be used for the dialog. This may be empty for the default title, | 433 // Title to be used for the dialog. This may be empty for the default title, |
460 // which will be either "Open" or "Save" depending on the mode. | 434 // which will be either "Open" or "Save" depending on the mode. |
461 IPC_STRUCT_MEMBER(string16, title) | 435 IPC_STRUCT_MEMBER(string16, title) |
462 | 436 |
463 // Default file name to select in the dialog. | 437 // Default file name to select in the dialog. |
464 IPC_STRUCT_MEMBER(FilePath, default_file_name) | 438 IPC_STRUCT_MEMBER(FilePath, default_file_name) |
465 | 439 |
(...skipping 1476 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1942 media::MediaLogEvent /* event */) | 1916 media::MediaLogEvent /* event */) |
1943 | 1917 |
1944 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message | 1918 // Requests to lock the mouse. Will result in a ViewMsg_LockMouse_ACK message |
1945 // being sent back. | 1919 // being sent back. |
1946 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) | 1920 IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
1947 | 1921 |
1948 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent | 1922 // Requests to unlock the mouse. A ViewMsg_MouseLockLost message will be sent |
1949 // whenever the mouse is unlocked (which may or may not be caused by | 1923 // whenever the mouse is unlocked (which may or may not be caused by |
1950 // ViewHostMsg_UnlockMouse). | 1924 // ViewHostMsg_UnlockMouse). |
1951 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) | 1925 IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
OLD | NEW |