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

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

Issue 115713004: Move the worker script loading code to the worker process (phase:2/5) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move IPC_ENUM_TRAITS(blink::WebContentSecurityPolicyType) to content_param_traits_macros.h. Created 6 years, 11 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
« no previous file with comments | « content/common/content_param_traits_macros.h ('k') | content/common/worker_messages.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 page rendering. 5 // IPC messages for page rendering.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/memory/shared_memory.h" 8 #include "base/memory/shared_memory.h"
9 #include "base/process/process.h" 9 #include "base/process/process.h"
10 #include "base/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 IPC_STRUCT_MEMBER(std::vector<base::string16>, additional_features) 381 IPC_STRUCT_MEMBER(std::vector<base::string16>, additional_features)
382 IPC_STRUCT_END() 382 IPC_STRUCT_END()
383 383
384 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params) 384 IPC_STRUCT_BEGIN(ViewHostMsg_CreateWorker_Params)
385 // URL for the worker script. 385 // URL for the worker script.
386 IPC_STRUCT_MEMBER(GURL, url) 386 IPC_STRUCT_MEMBER(GURL, url)
387 387
388 // Name for a SharedWorker, otherwise empty string. 388 // Name for a SharedWorker, otherwise empty string.
389 IPC_STRUCT_MEMBER(base::string16, name) 389 IPC_STRUCT_MEMBER(base::string16, name)
390 390
391 // Security policy used in the worker.
392 IPC_STRUCT_MEMBER(base::string16, content_security_policy)
393
394 // Security policy type used in the worker.
395 IPC_STRUCT_MEMBER(blink::WebContentSecurityPolicyType, security_policy_type)
396
391 // The ID of the parent document (unique within parent renderer). 397 // The ID of the parent document (unique within parent renderer).
392 IPC_STRUCT_MEMBER(unsigned long long, document_id) 398 IPC_STRUCT_MEMBER(unsigned long long, document_id)
393 399
394 // RenderFrame routing id used to send messages back to the parent. 400 // RenderFrame routing id used to send messages back to the parent.
395 IPC_STRUCT_MEMBER(int, render_frame_route_id) 401 IPC_STRUCT_MEMBER(int, render_frame_route_id)
396 402
397 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed, 403 // The route ID to associate with the worker. If MSG_ROUTING_NONE is passed,
398 // a new unique ID is created and assigned to the worker. 404 // a new unique ID is created and assigned to the worker.
399 IPC_STRUCT_MEMBER(int, route_id) 405 IPC_STRUCT_MEMBER(int, route_id)
400 406
(...skipping 1935 matching lines...) Expand 10 before | Expand all | Expand 10 after
2336 // synchronously (see crbug.com/120597). This IPC message sends the character 2342 // synchronously (see crbug.com/120597). This IPC message sends the character
2337 // bounds after every composition change to always have correct bound info. 2343 // bounds after every composition change to always have correct bound info.
2338 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged, 2344 IPC_MESSAGE_ROUTED2(ViewHostMsg_ImeCompositionRangeChanged,
2339 gfx::Range /* composition range */, 2345 gfx::Range /* composition range */,
2340 std::vector<gfx::Rect> /* character bounds */) 2346 std::vector<gfx::Rect> /* character bounds */)
2341 #endif 2347 #endif
2342 2348
2343 // Adding a new message? Stick to the sort order above: first platform 2349 // Adding a new message? Stick to the sort order above: first platform
2344 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 2350 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
2345 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 2351 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/content_param_traits_macros.h ('k') | content/common/worker_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698