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

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

Issue 2918903002: Move IconURLs method from WebFrame to WebLocalFrame (Closed)
Patch Set: s/kFavIcon/kFavicon/g (as suggested in CR feedback from pkotwicz@). Created 3 years, 6 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 16 matching lines...) Expand all
27 #include "content/common/frame_owner_properties.h" 27 #include "content/common/frame_owner_properties.h"
28 #include "content/common/frame_replication_state.h" 28 #include "content/common/frame_replication_state.h"
29 #include "content/common/message_port.h" 29 #include "content/common/message_port.h"
30 #include "content/common/navigation_gesture.h" 30 #include "content/common/navigation_gesture.h"
31 #include "content/common/navigation_params.h" 31 #include "content/common/navigation_params.h"
32 #include "content/common/savable_subframe.h" 32 #include "content/common/savable_subframe.h"
33 #include "content/public/common/color_suggestion.h" 33 #include "content/public/common/color_suggestion.h"
34 #include "content/public/common/common_param_traits.h" 34 #include "content/public/common/common_param_traits.h"
35 #include "content/public/common/console_message_level.h" 35 #include "content/public/common/console_message_level.h"
36 #include "content/public/common/context_menu_params.h" 36 #include "content/public/common/context_menu_params.h"
37 #include "content/public/common/favicon_url.h"
37 #include "content/public/common/file_chooser_file_info.h" 38 #include "content/public/common/file_chooser_file_info.h"
38 #include "content/public/common/file_chooser_params.h" 39 #include "content/public/common/file_chooser_params.h"
39 #include "content/public/common/frame_navigate_params.h" 40 #include "content/public/common/frame_navigate_params.h"
40 #include "content/public/common/javascript_dialog_type.h" 41 #include "content/public/common/javascript_dialog_type.h"
41 #include "content/public/common/page_importance_signals.h" 42 #include "content/public/common/page_importance_signals.h"
42 #include "content/public/common/page_state.h" 43 #include "content/public/common/page_state.h"
43 #include "content/public/common/previews_state.h" 44 #include "content/public/common/previews_state.h"
44 #include "content/public/common/referrer.h" 45 #include "content/public/common/referrer.h"
45 #include "content/public/common/request_context_type.h" 46 #include "content/public/common/request_context_type.h"
46 #include "content/public/common/resource_response.h" 47 #include "content/public/common/resource_response.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST) 98 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST)
98 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType, 99 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType,
99 blink::WebContextMenuData::kMediaTypeLast) 100 blink::WebContextMenuData::kMediaTypeLast)
100 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType, 101 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType,
101 blink::WebContextMenuData::kInputFieldTypeLast) 102 blink::WebContextMenuData::kInputFieldTypeLast)
102 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFocusType, blink::kWebFocusTypeLast) 103 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFocusType, blink::kWebFocusTypeLast)
103 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFrameOwnerProperties::ScrollingMode, 104 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFrameOwnerProperties::ScrollingMode,
104 blink::WebFrameOwnerProperties::ScrollingMode::kLast) 105 blink::WebFrameOwnerProperties::ScrollingMode::kLast)
105 IPC_ENUM_TRAITS_MAX_VALUE(content::StopFindAction, 106 IPC_ENUM_TRAITS_MAX_VALUE(content::StopFindAction,
106 content::STOP_FIND_ACTION_LAST) 107 content::STOP_FIND_ACTION_LAST)
108 IPC_ENUM_TRAITS_MAX_VALUE(content::FaviconURL::IconType,
109 content::FaviconURL::IconType::kMax)
107 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask. 110 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask.
108 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, 111 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType,
109 blink::WebTreeScopeType::kLast) 112 blink::WebTreeScopeType::kLast)
110 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) 113 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST)
111 IPC_ENUM_TRAITS_MAX_VALUE(content::FileChooserParams::Mode, 114 IPC_ENUM_TRAITS_MAX_VALUE(content::FileChooserParams::Mode,
112 content::FileChooserParams::Save) 115 content::FileChooserParams::Save)
113 IPC_ENUM_TRAITS_MAX_VALUE(content::CSPDirective::Name, 116 IPC_ENUM_TRAITS_MAX_VALUE(content::CSPDirective::Name,
114 content::CSPDirective::NameLast) 117 content::CSPDirective::NameLast)
115 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFeaturePolicyFeature, 118 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFeaturePolicyFeature,
116 blink::WebFeaturePolicyFeature::LAST_FEATURE) 119 blink::WebFeaturePolicyFeature::LAST_FEATURE)
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 IPC_STRUCT_TRAITS_MEMBER(selection_rect) 167 IPC_STRUCT_TRAITS_MEMBER(selection_rect)
165 IPC_STRUCT_TRAITS_END() 168 IPC_STRUCT_TRAITS_END()
166 169
167 IPC_STRUCT_TRAITS_BEGIN(content::CustomContextMenuContext) 170 IPC_STRUCT_TRAITS_BEGIN(content::CustomContextMenuContext)
168 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu) 171 IPC_STRUCT_TRAITS_MEMBER(is_pepper_menu)
169 IPC_STRUCT_TRAITS_MEMBER(request_id) 172 IPC_STRUCT_TRAITS_MEMBER(request_id)
170 IPC_STRUCT_TRAITS_MEMBER(render_widget_id) 173 IPC_STRUCT_TRAITS_MEMBER(render_widget_id)
171 IPC_STRUCT_TRAITS_MEMBER(link_followed) 174 IPC_STRUCT_TRAITS_MEMBER(link_followed)
172 IPC_STRUCT_TRAITS_END() 175 IPC_STRUCT_TRAITS_END()
173 176
177 IPC_STRUCT_TRAITS_BEGIN(content::FaviconURL)
178 IPC_STRUCT_TRAITS_MEMBER(icon_url)
179 IPC_STRUCT_TRAITS_MEMBER(icon_type)
180 IPC_STRUCT_TRAITS_MEMBER(icon_sizes)
181 IPC_STRUCT_TRAITS_END()
182
174 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties) 183 IPC_STRUCT_TRAITS_BEGIN(content::FrameOwnerProperties)
175 IPC_STRUCT_TRAITS_MEMBER(name) 184 IPC_STRUCT_TRAITS_MEMBER(name)
176 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode) 185 IPC_STRUCT_TRAITS_MEMBER(scrolling_mode)
177 IPC_STRUCT_TRAITS_MEMBER(margin_width) 186 IPC_STRUCT_TRAITS_MEMBER(margin_width)
178 IPC_STRUCT_TRAITS_MEMBER(margin_height) 187 IPC_STRUCT_TRAITS_MEMBER(margin_height)
179 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen) 188 IPC_STRUCT_TRAITS_MEMBER(allow_fullscreen)
180 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request) 189 IPC_STRUCT_TRAITS_MEMBER(allow_payment_request)
181 IPC_STRUCT_TRAITS_MEMBER(is_display_none) 190 IPC_STRUCT_TRAITS_MEMBER(is_display_none)
182 IPC_STRUCT_TRAITS_MEMBER(required_csp) 191 IPC_STRUCT_TRAITS_MEMBER(required_csp)
183 IPC_STRUCT_TRAITS_MEMBER(allowed_features) 192 IPC_STRUCT_TRAITS_MEMBER(allowed_features)
(...skipping 1451 matching lines...) Expand 10 before | Expand all | Expand 10 after
1635 IPC_MESSAGE_ROUTED1(FrameHostMsg_HittestData, FrameHostMsg_HittestData_Params) 1644 IPC_MESSAGE_ROUTED1(FrameHostMsg_HittestData, FrameHostMsg_HittestData_Params)
1636 1645
1637 // Request that the host send its overlay routing token for this render frame 1646 // Request that the host send its overlay routing token for this render frame
1638 // via SetOverlayRoutingToken. 1647 // via SetOverlayRoutingToken.
1639 IPC_MESSAGE_ROUTED0(FrameHostMsg_RequestOverlayRoutingToken) 1648 IPC_MESSAGE_ROUTED0(FrameHostMsg_RequestOverlayRoutingToken)
1640 1649
1641 // Asks the browser to display the file chooser. The result is returned in a 1650 // Asks the browser to display the file chooser. The result is returned in a
1642 // FrameMsg_RunFileChooserResponse message. 1651 // FrameMsg_RunFileChooserResponse message.
1643 IPC_MESSAGE_ROUTED1(FrameHostMsg_RunFileChooser, content::FileChooserParams) 1652 IPC_MESSAGE_ROUTED1(FrameHostMsg_RunFileChooser, content::FileChooserParams)
1644 1653
1654 // Notification that the urls for the favicon of a site has been determined.
1655 IPC_MESSAGE_ROUTED1(FrameHostMsg_UpdateFaviconURL,
1656 std::vector<content::FaviconURL> /* candidates */)
1657
1645 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU) 1658 #if BUILDFLAG(USE_EXTERNAL_POPUP_MENU)
1646 1659
1647 // Message to show/hide a popup menu using native controls. 1660 // Message to show/hide a popup menu using native controls.
1648 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1661 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1649 FrameHostMsg_ShowPopup_Params) 1662 FrameHostMsg_ShowPopup_Params)
1650 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1663 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1651 1664
1652 #endif 1665 #endif
1653 1666
1654 #if defined(OS_ANDROID) 1667 #if defined(OS_ANDROID)
(...skipping 23 matching lines...) Expand all
1678 int /* nfr_request_id */, 1691 int /* nfr_request_id */,
1679 float /* distance */) 1692 float /* distance */)
1680 1693
1681 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder) 1694 IPC_MESSAGE_ROUTED0(FrameHostMsg_NavigationHandledByEmbedder)
1682 #endif 1695 #endif
1683 1696
1684 // Adding a new message? Stick to the sort order above: first platform 1697 // Adding a new message? Stick to the sort order above: first platform
1685 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1698 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1686 // platform independent FrameHostMsg, then ifdefs for platform specific 1699 // platform independent FrameHostMsg, then ifdefs for platform specific
1687 // FrameHostMsg. 1700 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698