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

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

Issue 1497743005: Allow huge data: URIs only via WebView.loadDataWithBaseUrl (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make specific to Android, use RefCountedString Created 5 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 "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 310 matching lines...) Expand 10 before | Expand all | Expand 10 after
321 IPC_STRUCT_TRAITS_MEMBER(is_same_document_history_load) 321 IPC_STRUCT_TRAITS_MEMBER(is_same_document_history_load)
322 IPC_STRUCT_TRAITS_MEMBER(has_committed_real_load) 322 IPC_STRUCT_TRAITS_MEMBER(has_committed_real_load)
323 IPC_STRUCT_TRAITS_MEMBER(intended_as_new_entry) 323 IPC_STRUCT_TRAITS_MEMBER(intended_as_new_entry)
324 IPC_STRUCT_TRAITS_MEMBER(pending_history_list_offset) 324 IPC_STRUCT_TRAITS_MEMBER(pending_history_list_offset)
325 IPC_STRUCT_TRAITS_MEMBER(current_history_list_offset) 325 IPC_STRUCT_TRAITS_MEMBER(current_history_list_offset)
326 IPC_STRUCT_TRAITS_MEMBER(current_history_list_length) 326 IPC_STRUCT_TRAITS_MEMBER(current_history_list_length)
327 IPC_STRUCT_TRAITS_MEMBER(is_view_source) 327 IPC_STRUCT_TRAITS_MEMBER(is_view_source)
328 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list) 328 IPC_STRUCT_TRAITS_MEMBER(should_clear_history_list)
329 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker) 329 IPC_STRUCT_TRAITS_MEMBER(should_create_service_worker)
330 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id) 330 IPC_STRUCT_TRAITS_MEMBER(service_worker_provider_id)
331 #if defined(OS_ANDROID)
332 IPC_STRUCT_TRAITS_MEMBER(data_url_as_string)
333 #endif
331 IPC_STRUCT_TRAITS_END() 334 IPC_STRUCT_TRAITS_END()
332 335
333 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState) 336 IPC_STRUCT_TRAITS_BEGIN(content::FrameReplicationState)
334 IPC_STRUCT_TRAITS_MEMBER(origin) 337 IPC_STRUCT_TRAITS_MEMBER(origin)
335 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags) 338 IPC_STRUCT_TRAITS_MEMBER(sandbox_flags)
336 IPC_STRUCT_TRAITS_MEMBER(name) 339 IPC_STRUCT_TRAITS_MEMBER(name)
337 IPC_STRUCT_TRAITS_END() 340 IPC_STRUCT_TRAITS_END()
338 341
339 IPC_STRUCT_BEGIN(FrameMsg_NewFrame_WidgetParams) 342 IPC_STRUCT_BEGIN(FrameMsg_NewFrame_WidgetParams)
340 // Gives the routing ID for the RenderWidget that will be attached to the 343 // Gives the routing ID for the RenderWidget that will be attached to the
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after
1263 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 1266 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
1264 FrameHostMsg_ShowPopup_Params) 1267 FrameHostMsg_ShowPopup_Params)
1265 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 1268 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
1266 1269
1267 #endif 1270 #endif
1268 1271
1269 // Adding a new message? Stick to the sort order above: first platform 1272 // Adding a new message? Stick to the sort order above: first platform
1270 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then 1273 // independent FrameMsg, then ifdefs for platform specific FrameMsg, then
1271 // platform independent FrameHostMsg, then ifdefs for platform specific 1274 // platform independent FrameHostMsg, then ifdefs for platform specific
1272 // FrameHostMsg. 1275 // FrameHostMsg.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698