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

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

Issue 2484633004: Change Lo-Fi bool to bitmask to support multiple Previews types (Closed)
Patch Set: rebase Created 4 years 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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFrameOwnerProperties::ScrollingMode, 98 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebFrameOwnerProperties::ScrollingMode,
99 blink::WebFrameOwnerProperties::ScrollingMode::Last) 99 blink::WebFrameOwnerProperties::ScrollingMode::Last)
100 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPermissionType, 100 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebPermissionType,
101 blink::WebPermissionTypeLast) 101 blink::WebPermissionTypeLast)
102 IPC_ENUM_TRAITS_MAX_VALUE(content::StopFindAction, 102 IPC_ENUM_TRAITS_MAX_VALUE(content::StopFindAction,
103 content::STOP_FIND_ACTION_LAST) 103 content::STOP_FIND_ACTION_LAST)
104 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask. 104 IPC_ENUM_TRAITS(blink::WebSandboxFlags) // Bitmask.
105 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType, 105 IPC_ENUM_TRAITS_MAX_VALUE(blink::WebTreeScopeType,
106 blink::WebTreeScopeType::Last) 106 blink::WebTreeScopeType::Last)
107 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST) 107 IPC_ENUM_TRAITS_MAX_VALUE(ui::MenuSourceType, ui::MENU_SOURCE_TYPE_LAST)
108 IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::LoFiState,
109 content::LOFI_UNSPECIFIED,
110 content::LOFI_ON)
111 IPC_ENUM_TRAITS_MAX_VALUE(content::FileChooserParams::Mode, 108 IPC_ENUM_TRAITS_MAX_VALUE(content::FileChooserParams::Mode,
112 content::FileChooserParams::Save) 109 content::FileChooserParams::Save)
113 110
114 IPC_STRUCT_TRAITS_BEGIN(blink::WebFindOptions) 111 IPC_STRUCT_TRAITS_BEGIN(blink::WebFindOptions)
115 IPC_STRUCT_TRAITS_MEMBER(forward) 112 IPC_STRUCT_TRAITS_MEMBER(forward)
116 IPC_STRUCT_TRAITS_MEMBER(matchCase) 113 IPC_STRUCT_TRAITS_MEMBER(matchCase)
117 IPC_STRUCT_TRAITS_MEMBER(findNext) 114 IPC_STRUCT_TRAITS_MEMBER(findNext)
118 IPC_STRUCT_TRAITS_MEMBER(force) 115 IPC_STRUCT_TRAITS_MEMBER(force)
119 IPC_STRUCT_TRAITS_END() 116 IPC_STRUCT_TRAITS_END()
120 117
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
330 IPC_STRUCT_TRAITS_MEMBER(referrer) 327 IPC_STRUCT_TRAITS_MEMBER(referrer)
331 IPC_STRUCT_TRAITS_MEMBER(transition) 328 IPC_STRUCT_TRAITS_MEMBER(transition)
332 IPC_STRUCT_TRAITS_MEMBER(navigation_type) 329 IPC_STRUCT_TRAITS_MEMBER(navigation_type)
333 IPC_STRUCT_TRAITS_MEMBER(gesture) 330 IPC_STRUCT_TRAITS_MEMBER(gesture)
334 IPC_STRUCT_TRAITS_MEMBER(allow_download) 331 IPC_STRUCT_TRAITS_MEMBER(allow_download)
335 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry) 332 IPC_STRUCT_TRAITS_MEMBER(should_replace_current_entry)
336 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp) 333 IPC_STRUCT_TRAITS_MEMBER(ui_timestamp)
337 IPC_STRUCT_TRAITS_MEMBER(report_type) 334 IPC_STRUCT_TRAITS_MEMBER(report_type)
338 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url) 335 IPC_STRUCT_TRAITS_MEMBER(base_url_for_data_url)
339 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url) 336 IPC_STRUCT_TRAITS_MEMBER(history_url_for_data_url)
340 IPC_STRUCT_TRAITS_MEMBER(lofi_state) 337 IPC_STRUCT_TRAITS_MEMBER(previews_state)
341 IPC_STRUCT_TRAITS_MEMBER(navigation_start) 338 IPC_STRUCT_TRAITS_MEMBER(navigation_start)
342 IPC_STRUCT_TRAITS_MEMBER(method) 339 IPC_STRUCT_TRAITS_MEMBER(method)
343 IPC_STRUCT_TRAITS_MEMBER(post_data) 340 IPC_STRUCT_TRAITS_MEMBER(post_data)
344 IPC_STRUCT_TRAITS_END() 341 IPC_STRUCT_TRAITS_END()
345 342
346 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams) 343 IPC_STRUCT_TRAITS_BEGIN(content::BeginNavigationParams)
347 IPC_STRUCT_TRAITS_MEMBER(headers) 344 IPC_STRUCT_TRAITS_MEMBER(headers)
348 IPC_STRUCT_TRAITS_MEMBER(load_flags) 345 IPC_STRUCT_TRAITS_MEMBER(load_flags)
349 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker) 346 IPC_STRUCT_TRAITS_MEMBER(skip_service_worker)
350 IPC_STRUCT_TRAITS_MEMBER(request_context_type) 347 IPC_STRUCT_TRAITS_MEMBER(request_context_type)
(...skipping 1162 matching lines...) Expand 10 before | Expand all | Expand 10 after
1513 // nearest find result in the sending frame. 1510 // nearest find result in the sending frame.
1514 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply, 1511 IPC_MESSAGE_ROUTED2(FrameHostMsg_GetNearestFindResult_Reply,
1515 int /* nfr_request_id */, 1512 int /* nfr_request_id */,
1516 float /* distance */) 1513 float /* distance */)
1517 #endif 1514 #endif
1518 1515
1519 // Adding a new message? Stick to the sort order above: first platform 1516 // Adding a new message? Stick to the sort order above: first platform
1520 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1517 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1521 // platform independent FrameHostMsg, then ifdefs for platform specific 1518 // platform independent FrameHostMsg, then ifdefs for platform specific
1522 // FrameHostMsg. 1519 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698