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

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

Issue 2422793002: HTML MessagePort as mojo::MessagePipeHandle (Closed)
Patch Set: Add missing ScopedAsyncTaskScheduler instance for the new unit tests; required by a recent change t… Created 3 years, 10 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 (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 <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
11 #include "base/memory/shared_memory.h" 11 #include "base/memory/shared_memory.h"
12 #include "base/process/process.h" 12 #include "base/process/process.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "build/build_config.h" 14 #include "build/build_config.h"
15 #include "cc/ipc/cc_param_traits.h" 15 #include "cc/ipc/cc_param_traits.h"
16 #include "cc/output/begin_frame_args.h" 16 #include "cc/output/begin_frame_args.h"
17 #include "cc/output/compositor_frame.h" 17 #include "cc/output/compositor_frame.h"
18 #include "cc/resources/shared_bitmap.h" 18 #include "cc/resources/shared_bitmap.h"
19 #include "content/common/content_export.h" 19 #include "content/common/content_export.h"
20 #include "content/common/content_param_traits.h" 20 #include "content/common/content_param_traits.h"
21 #include "content/common/date_time_suggestion.h" 21 #include "content/common/date_time_suggestion.h"
22 #include "content/common/frame_replication_state.h" 22 #include "content/common/frame_replication_state.h"
23 #include "content/common/message_port.h"
23 #include "content/common/navigation_gesture.h" 24 #include "content/common/navigation_gesture.h"
24 #include "content/common/resize_params.h" 25 #include "content/common/resize_params.h"
25 #include "content/common/text_input_state.h" 26 #include "content/common/text_input_state.h"
26 #include "content/common/view_message_enums.h" 27 #include "content/common/view_message_enums.h"
27 #include "content/public/common/common_param_traits.h" 28 #include "content/public/common/common_param_traits.h"
28 #include "content/public/common/favicon_url.h" 29 #include "content/public/common/favicon_url.h"
29 #include "content/public/common/menu_item.h" 30 #include "content/public/common/menu_item.h"
30 #include "content/public/common/page_state.h" 31 #include "content/public/common/page_state.h"
31 #include "content/public/common/page_zoom.h" 32 #include "content/public/common/page_zoom.h"
32 #include "content/public/common/referrer.h" 33 #include "content/public/common/referrer.h"
(...skipping 668 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 702
702 // A renderer sends this to the browser process when a document has been 703 // A renderer sends this to the browser process when a document has been
703 // detached. The browser will use this to constrain the lifecycle of worker 704 // detached. The browser will use this to constrain the lifecycle of worker
704 // processes (SharedWorkers are shut down when their last associated document 705 // processes (SharedWorkers are shut down when their last associated document
705 // is detached). 706 // is detached).
706 IPC_MESSAGE_CONTROL1(ViewHostMsg_DocumentDetached, uint64_t /* document_id */) 707 IPC_MESSAGE_CONTROL1(ViewHostMsg_DocumentDetached, uint64_t /* document_id */)
707 708
708 // A renderer sends this to the browser process when it wants to connect to a 709 // A renderer sends this to the browser process when it wants to connect to a
709 // worker. 710 // worker.
710 IPC_MESSAGE_CONTROL2(ViewHostMsg_ConnectToWorker, 711 IPC_MESSAGE_CONTROL2(ViewHostMsg_ConnectToWorker,
711 int /* route_id */, 712 int32_t /* worker_route_id */,
712 int /* sent_message_port_id */) 713 content::MessagePort /* port */)
713 714
714 // Tells the browser that a specific Appcache manifest in the current page 715 // Tells the browser that a specific Appcache manifest in the current page
715 // was accessed. 716 // was accessed.
716 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed, 717 IPC_MESSAGE_ROUTED2(ViewHostMsg_AppCacheAccessed,
717 GURL /* manifest url */, 718 GURL /* manifest url */,
718 bool /* blocked by policy */) 719 bool /* blocked by policy */)
719 720
720 // Used to go to the session history entry at the given offset (ie, -1 will 721 // Used to go to the session history entry at the given offset (ie, -1 will
721 // return the "back" item). 722 // return the "back" item).
722 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset, 723 IPC_MESSAGE_ROUTED1(ViewHostMsg_GoToEntryAtOffset,
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
883 int /* y */) 884 int /* y */)
884 885
885 #elif defined(OS_MACOSX) 886 #elif defined(OS_MACOSX)
886 // Receives content of a web page as plain text. 887 // Receives content of a web page as plain text.
887 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string) 888 IPC_MESSAGE_ROUTED1(ViewMsg_GetRenderedTextCompleted, std::string)
888 #endif 889 #endif
889 890
890 // Adding a new message? Stick to the sort order above: first platform 891 // Adding a new message? Stick to the sort order above: first platform
891 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform 892 // independent ViewMsg, then ifdefs for platform specific ViewMsg, then platform
892 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg. 893 // independent ViewHostMsg, then ifdefs for platform specific ViewHostMsg.
OLDNEW
« no previous file with comments | « content/common/service_worker/service_worker_messages.h ('k') | content/common/worker_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698