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

Side by Side Diff: chrome/common/render_messages.h

Issue 8409006: Take script URLs into account when applying script content settings. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup. Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Multiply-included file, no traditional include guard. 5 // Multiply-included file, no traditional include guard.
6 #include <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetContentSettingsForCurrentURL, 235 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetContentSettingsForCurrentURL,
236 GURL /* url */, 236 GURL /* url */,
237 ContentSettings /* content_settings */) 237 ContentSettings /* content_settings */)
238 238
239 // Set the content settings for a particular url that the renderer is in the 239 // Set the content settings for a particular url that the renderer is in the
240 // process of loading. This will be stored, to be used if the load commits 240 // process of loading. This will be stored, to be used if the load commits
241 // and ignored otherwise. 241 // and ignored otherwise.
242 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetDefaultContentSettings, 242 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetDefaultContentSettings,
243 ContentSettings /* content_settings */) 243 ContentSettings /* content_settings */)
244 244
245 // Set the content settings for images. 245 // Set the content setting rules for a content type.
246 IPC_MESSAGE_CONTROL1(ChromeViewMsg_SetImageSettingRules, 246 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetContentSettingRules,
247 ContentSettingsType /* type */,
247 ContentSettingsForOneType /* rules */) 248 ContentSettingsForOneType /* rules */)
248 249
249 // Tells the render view to load all blocked plugins. 250 // Tells the render view to load all blocked plugins.
250 IPC_MESSAGE_ROUTED0(ChromeViewMsg_LoadBlockedPlugins) 251 IPC_MESSAGE_ROUTED0(ChromeViewMsg_LoadBlockedPlugins)
251 252
252 // Asks the renderer to send back stats on the WebCore cache broken down by 253 // Asks the renderer to send back stats on the WebCore cache broken down by
253 // resource types. 254 // resource types.
254 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats) 255 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetCacheResourceStats)
255 256
256 // Asks the renderer to send back Histograms. 257 // Asks the renderer to send back Histograms.
(...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after
632 // previous SetCookie message to be processed. 633 // previous SetCookie message to be processed.
633 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 634 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
634 GURL /* url */, 635 GURL /* url */,
635 GURL /* first_party_for_cookies */, 636 GURL /* first_party_for_cookies */,
636 std::string /* cookies */) 637 std::string /* cookies */)
637 638
638 // Provide the browser process with current renderer framerate. 639 // Provide the browser process with current renderer framerate.
639 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 640 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
640 int /* routing id */, 641 int /* routing id */,
641 float /* frames per second */) 642 float /* frames per second */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698