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

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

Issue 652283002: Navigation transitions (web to native app): Get names and rects of transition elements (Chrome side) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 months 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 "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/common/content_param_traits.h" 9 #include "content/common/content_param_traits.h"
10 #include "content/common/frame_message_enums.h" 10 #include "content/common/frame_message_enums.h"
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
727 // |endOffset| are the offsets of the selection in the returned |content|. 727 // |endOffset| are the offsets of the selection in the returned |content|.
728 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, 728 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse,
729 base::string16, /* content */ 729 base::string16, /* content */
730 size_t, /* startOffset */ 730 size_t, /* startOffset */
731 size_t /* endOffset */) 731 size_t /* endOffset */)
732 732
733 // Notifies the browser that the renderer has a pending navigation transition. 733 // Notifies the browser that the renderer has a pending navigation transition.
734 // The string parameters are all UTF8. 734 // The string parameters are all UTF8.
735 IPC_MESSAGE_CONTROL4(FrameHostMsg_AddNavigationTransitionData, 735 IPC_MESSAGE_CONTROL4(FrameHostMsg_AddNavigationTransitionData,
736 int /* render_frame_id */, 736 int /* render_frame_id */,
737 std::string /* allowed_destination_host_pattern */, 737 std::vector<std::string> /* data */,
738 std::string /* selector */, 738 std::vector<std::string> /* names*/,
739 std::string /* markup */) 739 std::vector<gfx::Rect> /* rects */)
740 740
741 // PlzNavigate 741 // PlzNavigate
742 // Tells the browser to perform a navigation. 742 // Tells the browser to perform a navigation.
743 IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation, 743 IPC_MESSAGE_ROUTED2(FrameHostMsg_BeginNavigation,
744 FrameHostMsg_BeginNavigation_Params, 744 FrameHostMsg_BeginNavigation_Params,
745 content::CommonNavigationParams) 745 content::CommonNavigationParams)
746 746
747 // Sent once a paint happens after the first non empty layout. In other words 747 // Sent once a paint happens after the first non empty layout. In other words
748 // after the frame has painted something. 748 // after the frame has painted something.
749 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 749 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
750 750
751 #if defined(OS_MACOSX) || defined(OS_ANDROID) 751 #if defined(OS_MACOSX) || defined(OS_ANDROID)
752 752
753 // Message to show/hide a popup menu using native controls. 753 // Message to show/hide a popup menu using native controls.
754 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 754 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
755 FrameHostMsg_ShowPopup_Params) 755 FrameHostMsg_ShowPopup_Params)
756 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 756 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
757 757
758 #endif 758 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698