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

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: mmenke comments Created 5 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 "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_END() 284 IPC_STRUCT_TRAITS_END()
281 285
282 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) 286 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams)
(...skipping 907 matching lines...) Expand 10 before | Expand all | Expand 10 after
1190 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1194 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1191 FrameHostMsg_ShowPopup_Params) 1195 FrameHostMsg_ShowPopup_Params)
1192 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1196 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1193 1197
1194 #endif 1198 #endif
1195 1199
1196 // Adding a new message? Stick to the sort order above: first platform 1200 // Adding a new message? Stick to the sort order above: first platform
1197 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1201 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1198 // platform independent FrameHostMsg, then ifdefs for platform specific 1202 // platform independent FrameHostMsg, then ifdefs for platform specific
1199 // FrameHostMsg. 1203 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698