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

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

Issue 1310743003: Consistently use LoFi for an entire page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bengr comments and rebase Created 5 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
« no previous file with comments | « content/child/weburlresponse_extradata_impl.h ('k') | content/common/navigation_params.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 "cc/surfaces/surface_id.h" 8 #include "cc/surfaces/surface_id.h"
9 #include "cc/surfaces/surface_sequence.h" 9 #include "cc/surfaces/surface_sequence.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value, 53 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value,
54 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST) 54 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST)
55 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType, 55 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType,
56 blink::WebContextMenuData::MediaTypeLast) 56 blink::WebContextMenuData::MediaTypeLast)
57 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType, 57 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType,
58 blink::WebContextMenuData::InputFieldTypeLast) 58 blink::WebContextMenuData::InputFieldTypeLast)
59 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask. 59 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask.
60 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, 60 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType,
61 blink::WebTreeScopeType::Last) 61 blink::WebTreeScopeType::Last)
62 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) 62 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST)
63 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::LoFiState,
64 content::LOFI_UNSPECIFIED,
65 content::LOFI_ON)
63 66
64 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion) 67 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion)
65 IPC_STRUCT_TRAITS_MEMBER(color) 68 IPC_STRUCT_TRAITS_MEMBER(color)
66 IPC_STRUCT_TRAITS_MEMBER(label) 69 IPC_STRUCT_TRAITS_MEMBER(label)
67 IPC_STRUCT_TRAITS_END() 70 IPC_STRUCT_TRAITS_END()
68 71
69 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) 72 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams)
70 IPC_STRUCT_TRAITS_MEMBER(media_type) 73 IPC_STRUCT_TRAITS_MEMBER(media_type)
71 IPC_STRUCT_TRAITS_MEMBER(x) 74 IPC_STRUCT_TRAITS_MEMBER(x)
72 IPC_STRUCT_TRAITS_MEMBER(y) 75 IPC_STRUCT_TRAITS_MEMBER(y)
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 IPC_STRUCT_TRAITS_MEMBER(url) 266 IPC_STRUCT_TRAITS_MEMBER(url)
264 IPC_STRUCT_TRAITS_MEMBER(referrer) 267 IPC_STRUCT_TRAITS_MEMBER(referrer)
265 IPC_STRUCT_TRAITS_MEMBER(transition) 268 IPC_STRUCT_TRAITS_MEMBER(transition)
266 IPC_STRUCT_TRAITS_MEMBER(navigation_type) 269 IPC_STRUCT_TRAITS_MEMBER(navigation_type)
267 IPC_STRUCT_TRAITS_MEMBER(allow_download) 270 IPC_STRUCT_TRAITS_MEMBER(allow_download)
268 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) 271 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry)
269 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) 272 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp)
270 IPC_STRUCT_TRAITS_MEMBER(report_type) 273 IPC_STRUCT_TRAITS_MEMBER(report_type)
271 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) 274 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url)
272 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) 275 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url)
276 IPC_STRUCT_TRAITS_MEMBER(lofi_state)
273 IPC_STRUCT_TRAITS_END() 277 IPC_STRUCT_TRAITS_END()
274 278
275 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) 279 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams)
276 IPC_STRUCT_TRAITS_MEMBER(method) 280 IPC_STRUCT_TRAITS_MEMBER(method)
277 IPC_STRUCT_TRAITS_MEMBER(headers) 281 IPC_STRUCT_TRAITS_MEMBER(headers)
278 IPC_STRUCT_TRAITS_MEMBER(load_flags) 282 IPC_STRUCT_TRAITS_MEMBER(load_flags)
279 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) 283 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
280 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) 284 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker)
281 IPC_STRUCT_TRAITS_MEMBER(request_context_type) 285 IPC_STRUCT_TRAITS_MEMBER(request_context_type)
282 IPC_STRUCT_TRAITS_END() 286 IPC_STRUCT_TRAITS_END()
(...skipping 913 matching lines...) Expand 10 before | Expand all | Expand 10 after
1196 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1200 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1197 FrameHostMsg_ShowPopup_Params) 1201 FrameHostMsg_ShowPopup_Params)
1198 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1202 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1199 1203
1200 #endif 1204 #endif
1201 1205
1202 // Adding a new message? Stick to the sort order above: first platform 1206 // Adding a new message? Stick to the sort order above: first platform
1203 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1207 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1204 // platform independent FrameHostMsg, then ifdefs for platform specific 1208 // platform independent FrameHostMsg, then ifdefs for platform specific
1205 // FrameHostMsg. 1209 // FrameHostMsg.
OLDNEW
« no previous file with comments | « content/child/weburlresponse_extradata_impl.h ('k') | content/common/navigation_params.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698