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

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: move DRP parts to https://codereview.chromium.org/1363673004/ 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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value, 52 IPC_ENUM_TRAITS_MAX_VALUE(FrameMsg_UILoadMetricsReportType::Value,
53 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST) 53 FrameMsg_UILoadMetricsReportType::REPORT_TYPE_LAST)
54 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType, 54 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::MediaType,
55 blink::WebContextMenuData::MediaTypeLast) 55 blink::WebContextMenuData::MediaTypeLast)
56 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType, 56 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebContextMenuData::InputFieldType,
57 blink::WebContextMenuData::InputFieldTypeLast) 57 blink::WebContextMenuData::InputFieldTypeLast)
58 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask. 58 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask.
59 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, 59 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType,
60 blink::WebTreeScopeType::Last) 60 blink::WebTreeScopeType::Last)
61 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) 61 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST)
62 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::LoFiState,
63 content::LOFI_ON,
64 content::LOFI_DEFAULT)
62 65
63 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion) 66 IPC_STRUCT_TRAITS_BEGIN(content::ColorSuggestion)
64 IPC_STRUCT_TRAITS_MEMBER(color) 67 IPC_STRUCT_TRAITS_MEMBER(color)
65 IPC_STRUCT_TRAITS_MEMBER(label) 68 IPC_STRUCT_TRAITS_MEMBER(label)
66 IPC_STRUCT_TRAITS_END() 69 IPC_STRUCT_TRAITS_END()
67 70
68 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams) 71 IPC_STRUCT_TRAITS_BEGIN(content::ContextMenuParams)
69 IPC_STRUCT_TRAITS_MEMBER(media_type) 72 IPC_STRUCT_TRAITS_MEMBER(media_type)
70 IPC_STRUCT_TRAITS_MEMBER(x) 73 IPC_STRUCT_TRAITS_MEMBER(x)
71 IPC_STRUCT_TRAITS_MEMBER(y) 74 IPC_STRUCT_TRAITS_MEMBER(y)
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 IPC_STRUCT_TRAITS_MEMBER(url) 262 IPC_STRUCT_TRAITS_MEMBER(url)
260 IPC_STRUCT_TRAITS_MEMBER(referrer) 263 IPC_STRUCT_TRAITS_MEMBER(referrer)
261 IPC_STRUCT_TRAITS_MEMBER(transition) 264 IPC_STRUCT_TRAITS_MEMBER(transition)
262 IPC_STRUCT_TRAITS_MEMBER(navigation_type) 265 IPC_STRUCT_TRAITS_MEMBER(navigation_type)
263 IPC_STRUCT_TRAITS_MEMBER(allow_download) 266 IPC_STRUCT_TRAITS_MEMBER(allow_download)
264 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) 267 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry)
265 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) 268 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp)
266 IPC_STRUCT_TRAITS_MEMBER(report_type) 269 IPC_STRUCT_TRAITS_MEMBER(report_type)
267 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) 270 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url)
268 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) 271 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url)
272 IPC_STRUCT_TRAITS_MEMBER(lofi_state)
269 IPC_STRUCT_TRAITS_END() 273 IPC_STRUCT_TRAITS_END()
270 274
271 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) 275 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams)
272 IPC_STRUCT_TRAITS_MEMBER(method) 276 IPC_STRUCT_TRAITS_MEMBER(method)
273 IPC_STRUCT_TRAITS_MEMBER(headers) 277 IPC_STRUCT_TRAITS_MEMBER(headers)
274 IPC_STRUCT_TRAITS_MEMBER(load_flags) 278 IPC_STRUCT_TRAITS_MEMBER(load_flags)
275 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture) 279 IPC_STRUCT_TRAITS_MEMBER(has_user_gesture)
276 IPC_STRUCT_TRAITS_END() 280 IPC_STRUCT_TRAITS_END()
277 281
278 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams) 282 IPC_STRUCT_TRAITS_BEGIN(content::StartNavigationParams)
(...skipping 894 matching lines...) Expand 10 before | Expand all | Expand 10 after
1173 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1177 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1174 FrameHostMsg_ShowPopup_Params) 1178 FrameHostMsg_ShowPopup_Params)
1175 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1179 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1176 1180
1177 #endif 1181 #endif
1178 1182
1179 // Adding a new message? Stick to the sort order above: first platform 1183 // Adding a new message? Stick to the sort order above: first platform
1180 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1184 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1181 // platform independent FrameHostMsg, then ifdefs for platform specific 1185 // platform independent FrameHostMsg, then ifdefs for platform specific
1182 // FrameHostMsg. 1186 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698