OLD | NEW |
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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats, | 290 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats, |
291 WebKit::WebCache::UsageStats /* stats */) | 291 WebKit::WebCache::UsageStats /* stats */) |
292 | 292 |
293 // Tells the browser that content in the current page was blocked due to the | 293 // Tells the browser that content in the current page was blocked due to the |
294 // user's content settings. | 294 // user's content settings. |
295 IPC_MESSAGE_ROUTED2(ViewHostMsg_ContentBlocked, | 295 IPC_MESSAGE_ROUTED2(ViewHostMsg_ContentBlocked, |
296 ContentSettingsType, /* type of blocked content */ | 296 ContentSettingsType, /* type of blocked content */ |
297 std::string /* resource identifier */) | 297 std::string /* resource identifier */) |
298 | 298 |
299 // Sent by the renderer process to check whether access to web databases is | 299 // Sent by the renderer process to check whether access to web databases is |
300 // granted by content settings. This may block and trigger a cookie prompt. | 300 // granted by content settings. |
301 IPC_SYNC_MESSAGE_ROUTED4_1(ViewHostMsg_AllowDatabase, | 301 IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_AllowDatabase, |
302 std::string /* origin_url */, | 302 std::string /* origin_url */, |
303 string16 /* database name */, | 303 string16 /* database name */, |
304 string16 /* database display name */, | 304 string16 /* database display name */, |
305 unsigned long /* estimated size */, | 305 unsigned long /* estimated size */, |
306 bool /* result */) | 306 bool /* result */) |
| 307 |
| 308 // Sent by the renderer process to check whether access to DOM Storage is |
| 309 // granted by content settings. |
| 310 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_AllowDOMStorage, |
| 311 int /* render_view_id */, |
| 312 GURL /* origin_url */, |
| 313 DOMStorageType /* type */, |
| 314 bool /* result */) |
307 | 315 |
308 // Tells the browser that a specific Web database in the current page was | 316 // Tells the browser that a specific Web database in the current page was |
309 // accessed. | 317 // accessed. |
310 IPC_MESSAGE_ROUTED5(ViewHostMsg_WebDatabaseAccessed, | 318 IPC_MESSAGE_ROUTED5(ViewHostMsg_WebDatabaseAccessed, |
311 GURL /* origin url */, | 319 GURL /* origin url */, |
312 string16 /* database name */, | 320 string16 /* database name */, |
313 string16 /* database display name */, | 321 string16 /* database display name */, |
314 unsigned long /* estimated size */, | 322 unsigned long /* estimated size */, |
315 bool /* blocked by policy */) | 323 bool /* blocked by policy */) |
316 | 324 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 // |outdated_policy| determines what to do about outdated plugins. | 400 // |outdated_policy| determines what to do about outdated plugins. |
393 // |authorize_policy| determines what to do about plugins that require | 401 // |authorize_policy| determines what to do about plugins that require |
394 // authorization to run. | 402 // authorization to run. |
395 // | 403 // |
396 // Both values can be ALLOW or ASK. |outdated_policy| can also be BLOCK. | 404 // Both values can be ALLOW or ASK. |outdated_policy| can also be BLOCK. |
397 // Anything else is an error. | 405 // Anything else is an error. |
398 // ALLOW means that the plugin should just run, as a normal plugin. | 406 // ALLOW means that the plugin should just run, as a normal plugin. |
399 // BLOCK means that the plugin should not run nor be allowed to run at all. | 407 // BLOCK means that the plugin should not run nor be allowed to run at all. |
400 // ASK means that the plugin should be initially blocked and the user should | 408 // ASK means that the plugin should be initially blocked and the user should |
401 // be asked whether he wants to run the plugin. | 409 // be asked whether he wants to run the plugin. |
402 IPC_SYNC_MESSAGE_ROUTED0_2(ViewHostMsg_GetPluginPolicies, | 410 IPC_SYNC_MESSAGE_CONTROL0_2(ViewHostMsg_GetPluginPolicies, |
403 ContentSetting /* outdated_policy */, | 411 ContentSetting /* outdated_policy */, |
404 ContentSetting /* authorize_policy */) | 412 ContentSetting /* authorize_policy */) |
405 | 413 |
406 // Notifies when a plugin couldn't be loaded because it's outdated. | 414 // Notifies when a plugin couldn't be loaded because it's outdated. |
407 IPC_MESSAGE_ROUTED2(ViewHostMsg_BlockedOutdatedPlugin, | 415 IPC_MESSAGE_ROUTED2(ViewHostMsg_BlockedOutdatedPlugin, |
408 string16, /* name */ | 416 string16, /* name */ |
409 GURL /* update_url */) | 417 GURL /* update_url */) |
410 | 418 |
411 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, | 419 IPC_MESSAGE_ROUTED3(ViewHostMsg_SendCurrentPageAllSavableResourceLinks, |
412 std::vector<GURL> /* all savable resource links */, | 420 std::vector<GURL> /* all savable resource links */, |
413 std::vector<GURL> /* all referrers of resource links */, | 421 std::vector<GURL> /* all referrers of resource links */, |
414 std::vector<GURL> /* all frame links */) | 422 std::vector<GURL> /* all frame links */) |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 int32 /* page_id */, | 460 int32 /* page_id */, |
453 bool /* result */) | 461 bool /* result */) |
454 | 462 |
455 // JavaScript related messages ----------------------------------------------- | 463 // JavaScript related messages ----------------------------------------------- |
456 | 464 |
457 // Notify the JavaScript engine in the render to change its parameters | 465 // Notify the JavaScript engine in the render to change its parameters |
458 // while performing stress testing. | 466 // while performing stress testing. |
459 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 467 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
460 int /* cmd */, | 468 int /* cmd */, |
461 int /* param */) | 469 int /* param */) |
OLD | NEW |