Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(364)

Side by Side Diff: content/common/frame_messages.h

Issue 2370393002: Extracting placeholder information from Webkit to Blimp (Closed)
Patch Set: merge origin/master Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 13 matching lines...) Expand all
24 #include "content/common/frame_replication_state.h" 24 #include "content/common/frame_replication_state.h"
25 #include "content/common/navigation_gesture.h" 25 #include "content/common/navigation_gesture.h"
26 #include "content/common/navigation_params.h" 26 #include "content/common/navigation_params.h"
27 #include "content/common/savable_subframe.h" 27 #include "content/common/savable_subframe.h"
28 #include "content/public/common/color_suggestion.h" 28 #include "content/public/common/color_suggestion.h"
29 #include "content/public/common/common_param_traits.h" 29 #include "content/public/common/common_param_traits.h"
30 #include "content/public/common/console_message_level.h" 30 #include "content/public/common/console_message_level.h"
31 #include "content/public/common/context_menu_params.h" 31 #include "content/public/common/context_menu_params.h"
32 #include "content/public/common/file_chooser_file_info.h" 32 #include "content/public/common/file_chooser_file_info.h"
33 #include "content/public/common/file_chooser_params.h" 33 #include "content/public/common/file_chooser_params.h"
34 #include "content/public/common/form_field_data.h"
34 #include "content/public/common/frame_navigate_params.h" 35 #include "content/public/common/frame_navigate_params.h"
35 #include "content/public/common/javascript_message_type.h" 36 #include "content/public/common/javascript_message_type.h"
36 #include "content/public/common/page_importance_signals.h" 37 #include "content/public/common/page_importance_signals.h"
37 #include "content/public/common/page_state.h" 38 #include "content/public/common/page_state.h"
38 #include "content/public/common/resource_response.h" 39 #include "content/public/common/resource_response.h"
39 #include "content/public/common/stop_find_action.h" 40 #include "content/public/common/stop_find_action.h"
40 #include "content/public/common/three_d_api_types.h" 41 #include "content/public/common/three_d_api_types.h"
41 #include "content/public/common/transition_element.h" 42 #include "content/public/common/transition_element.h"
42 #include "ipc/ipc_message_macros.h" 43 #include "ipc/ipc_message_macros.h"
43 #include "ipc/ipc_platform_file.h" 44 #include "ipc/ipc_platform_file.h"
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after
513 IPC_STRUCT_MEMBER(blink::WebSandboxFlags, sandbox_flags) 514 IPC_STRUCT_MEMBER(blink::WebSandboxFlags, sandbox_flags)
514 IPC_STRUCT_MEMBER(content::FrameOwnerProperties, frame_owner_properties) 515 IPC_STRUCT_MEMBER(content::FrameOwnerProperties, frame_owner_properties)
515 IPC_STRUCT_END() 516 IPC_STRUCT_END()
516 517
517 IPC_STRUCT_TRAITS_BEGIN(content::ContentSecurityPolicyHeader) 518 IPC_STRUCT_TRAITS_BEGIN(content::ContentSecurityPolicyHeader)
518 IPC_STRUCT_TRAITS_MEMBER(header_value) 519 IPC_STRUCT_TRAITS_MEMBER(header_value)
519 IPC_STRUCT_TRAITS_MEMBER(type) 520 IPC_STRUCT_TRAITS_MEMBER(type)
520 IPC_STRUCT_TRAITS_MEMBER(source) 521 IPC_STRUCT_TRAITS_MEMBER(source)
521 IPC_STRUCT_TRAITS_END() 522 IPC_STRUCT_TRAITS_END()
522 523
524 IPC_STRUCT_TRAITS_BEGIN(content::FormFieldData)
525 IPC_STRUCT_TRAITS_MEMBER(text)
526 IPC_STRUCT_TRAITS_MEMBER(placeholder)
527 IPC_STRUCT_TRAITS_MEMBER(text_input_type)
528 IPC_STRUCT_TRAITS_END()
529
523 IPC_STRUCT_TRAITS_BEGIN(content::FileChooserFileInfo) 530 IPC_STRUCT_TRAITS_BEGIN(content::FileChooserFileInfo)
524 IPC_STRUCT_TRAITS_MEMBER(file_path) 531 IPC_STRUCT_TRAITS_MEMBER(file_path)
525 IPC_STRUCT_TRAITS_MEMBER(display_name) 532 IPC_STRUCT_TRAITS_MEMBER(display_name)
526 IPC_STRUCT_TRAITS_MEMBER(file_system_url) 533 IPC_STRUCT_TRAITS_MEMBER(file_system_url)
527 IPC_STRUCT_TRAITS_MEMBER(modification_time) 534 IPC_STRUCT_TRAITS_MEMBER(modification_time)
528 IPC_STRUCT_TRAITS_MEMBER(length) 535 IPC_STRUCT_TRAITS_MEMBER(length)
529 IPC_STRUCT_TRAITS_MEMBER(is_directory) 536 IPC_STRUCT_TRAITS_MEMBER(is_directory)
530 IPC_STRUCT_TRAITS_END() 537 IPC_STRUCT_TRAITS_END()
531 538
532 IPC_STRUCT_TRAITS_BEGIN(content::FileChooserParams) 539 IPC_STRUCT_TRAITS_BEGIN(content::FileChooserParams)
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
717 724
718 // Notifies the corresponding RenderFrameProxy object to replace itself with the 725 // Notifies the corresponding RenderFrameProxy object to replace itself with the
719 // RenderFrame object it is associated with. 726 // RenderFrame object it is associated with.
720 IPC_MESSAGE_ROUTED0(FrameMsg_DeleteProxy) 727 IPC_MESSAGE_ROUTED0(FrameMsg_DeleteProxy)
721 728
722 // Request the text surrounding the selection with a |max_length|. The response 729 // Request the text surrounding the selection with a |max_length|. The response
723 // will be sent via FrameHostMsg_TextSurroundingSelectionResponse. 730 // will be sent via FrameHostMsg_TextSurroundingSelectionResponse.
724 IPC_MESSAGE_ROUTED1(FrameMsg_TextSurroundingSelectionRequest, 731 IPC_MESSAGE_ROUTED1(FrameMsg_TextSurroundingSelectionRequest,
725 uint32_t /* max_length */) 732 uint32_t /* max_length */)
726 733
734 // Requests information about currently focused text input element from the
735 // renderer.
736 IPC_MESSAGE_ROUTED1(FrameMsg_FocusedFormFieldDataRequest, int /* request_id */)
737
727 // Tells the renderer to insert a link to the specified stylesheet. This is 738 // Tells the renderer to insert a link to the specified stylesheet. This is
728 // needed to support navigation transitions. 739 // needed to support navigation transitions.
729 IPC_MESSAGE_ROUTED1(FrameMsg_AddStyleSheetByURL, std::string) 740 IPC_MESSAGE_ROUTED1(FrameMsg_AddStyleSheetByURL, std::string)
730 741
731 // Change the accessibility mode in the renderer process. 742 // Change the accessibility mode in the renderer process.
732 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode, 743 IPC_MESSAGE_ROUTED1(FrameMsg_SetAccessibilityMode,
733 AccessibilityMode) 744 AccessibilityMode)
734 745
735 // Dispatch a load event in the iframe element containing this frame. 746 // Dispatch a load event in the iframe element containing this frame.
736 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad) 747 IPC_MESSAGE_ROUTED0(FrameMsg_DispatchLoad)
(...skipping 616 matching lines...) Expand 10 before | Expand all | Expand 10 after
1353 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeThemeColor, 1364 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeThemeColor,
1354 SkColor /* theme_color */) 1365 SkColor /* theme_color */)
1355 1366
1356 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and 1367 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and
1357 // |endOffset| are the offsets of the selection in the returned |content|. 1368 // |endOffset| are the offsets of the selection in the returned |content|.
1358 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, 1369 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse,
1359 base::string16, /* content */ 1370 base::string16, /* content */
1360 uint32_t, /* startOffset */ 1371 uint32_t, /* startOffset */
1361 uint32_t/* endOffset */) 1372 uint32_t/* endOffset */)
1362 1373
1374 // Response for FrameMsg_FocusedFormFieldDataRequest. Sends info about the
1375 // currently focused form field.
1376 IPC_MESSAGE_ROUTED2(FrameHostMsg_FocusedFormFieldDataResponse,
1377 int, /* request_id */
1378 content::FormFieldData /* form field info */)
1379
1363 // Register a new handler for URL requests with the given scheme. 1380 // Register a new handler for URL requests with the given scheme.
1364 IPC_MESSAGE_ROUTED4(FrameHostMsg_RegisterProtocolHandler, 1381 IPC_MESSAGE_ROUTED4(FrameHostMsg_RegisterProtocolHandler,
1365 std::string /* scheme */, 1382 std::string /* scheme */,
1366 GURL /* url */, 1383 GURL /* url */,
1367 base::string16 /* title */, 1384 base::string16 /* title */,
1368 bool /* user_gesture */) 1385 bool /* user_gesture */)
1369 1386
1370 // Unregister the registered handler for URL requests with the given scheme. 1387 // Unregister the registered handler for URL requests with the given scheme.
1371 IPC_MESSAGE_ROUTED3(FrameHostMsg_UnregisterProtocolHandler, 1388 IPC_MESSAGE_ROUTED3(FrameHostMsg_UnregisterProtocolHandler,
1372 std::string /* scheme */, 1389 std::string /* scheme */,
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
1515 // nearest find result in the sending frame. 1532 // nearest find result in the sending frame.
1516 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1533 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1517 int /* nfr_request_id */, 1534 int /* nfr_request_id */,
1518 float /* distance */) 1535 float /* distance */)
1519 #endif 1536 #endif
1520 1537
1521 // Adding a new message? Stick to the sort order above: first platform 1538 // Adding a new message? Stick to the sort order above: first platform
1522 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1539 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1523 // platform independent FrameHostMsg, then ifdefs for platform specific 1540 // platform independent FrameHostMsg, then ifdefs for platform specific
1524 // FrameHostMsg. 1541 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/public/browser/render_frame_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698