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

Side by Side Diff: components/content_settings/content/common/content_settings_messages.h

Issue 2387613002: Merge Content Settings IPCs back to chrome/common/render_messages.h (Closed)
Patch Set: Cover param_traits in chrome/common/OWNERS, as requested by the presubmit script Created 4 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
(Empty)
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // Multiply-included file, no traditional include guard.
6 #include "base/strings/string16.h"
7 #include "components/content_settings/core/common/content_settings_types.h"
8 #include "ipc/ipc_message_macros.h"
9 #include "url/gurl.h"
10 #include "url/ipc/url_param_traits.h"
11
12 #define IPC_MESSAGE_START ContentSettingsMsgStart
13
14 IPC_ENUM_TRAITS_MAX_VALUE(ContentSettingsType,
15 CONTENT_SETTINGS_NUM_TYPES_DO_NOT_USE - 1)
16
17 //-----------------------------------------------------------------------------
18 // These are messages sent from the browser to the renderer process.
19
20 // Sent in response to FrameHostMsg_DidBlockRunningInsecureContent.
21 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetAllowRunningInsecureContent,
22 bool /* allowed */)
23
24 IPC_MESSAGE_ROUTED0(ChromeViewMsg_ReloadFrame)
25
26 // Tells the renderer whether or not a file system access has been allowed.
27 IPC_MESSAGE_ROUTED2(ChromeViewMsg_RequestFileSystemAccessAsyncResponse,
28 int /* request_id */,
29 bool /* allowed */)
30
31 // Tells the render frame to load all blocked plugins with the given identifier.
32 IPC_MESSAGE_ROUTED1(ChromeViewMsg_LoadBlockedPlugins,
33 std::string /* identifier */)
34
35 // JavaScript related messages -----------------------------------------------
36
37 // Tells the frame it is displaying an interstitial page.
38 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SetAsInterstitial)
39
40 //-----------------------------------------------------------------------------
41 // These are messages sent from the renderer to the browser process.
42
43 // Tells the browser that content in the current page was blocked due to the
44 // user's content settings.
45 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ContentBlocked,
46 ContentSettingsType /* type of blocked content */,
47 base::string16 /* details on blocked content */)
48
49 // Sent by the renderer process to check whether access to web databases is
50 // granted by content settings.
51 IPC_SYNC_MESSAGE_CONTROL5_1(ChromeViewHostMsg_AllowDatabase,
52 int /* render_frame_id */,
53 GURL /* origin_url */,
54 GURL /* top origin url */,
55 base::string16 /* database name */,
56 base::string16 /* database display name */,
57 bool /* allowed */)
58
59 // Sent by the renderer process to check whether access to DOM Storage is
60 // granted by content settings.
61 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowDOMStorage,
62 int /* render_frame_id */,
63 GURL /* origin_url */,
64 GURL /* top origin url */,
65 bool /* if true local storage, otherwise session */,
66 bool /* allowed */)
67
68 // Sent by the renderer process when a keygen element is rendered onto the
69 // current page.
70 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_DidUseKeygen,
71 GURL /* origin_url */)
72
73 // Sent by the renderer process to check whether access to FileSystem is
74 // granted by content settings.
75 IPC_MESSAGE_CONTROL4(ChromeViewHostMsg_RequestFileSystemAccessAsync,
76 int /* render_frame_id */,
77 int /* request_id */,
78 GURL /* origin_url */,
79 GURL /* top origin url */)
80
81 // Sent by the renderer process to check whether access to Indexed DBis
82 // granted by content settings.
83 IPC_SYNC_MESSAGE_CONTROL4_1(ChromeViewHostMsg_AllowIndexedDB,
84 int /* render_frame_id */,
85 GURL /* origin_url */,
86 GURL /* top origin url */,
87 base::string16 /* database name */,
88 bool /* allowed */)
89
90 // Sent when the renderer was prevented from displaying insecure content in
91 // a secure page by a security policy. The page may appear incomplete.
92 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_DidBlockDisplayingInsecureContent)
OLDNEW
« no previous file with comments | « components/content_settings/content/common/content_settings_message_generator.cc ('k') | ipc/ipc_message_start.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698