| 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 // Notification that the language for the tab has been determined. | 290 // Notification that the language for the tab has been determined. |
| 291 IPC_MESSAGE_ROUTED2(ViewHostMsg_TranslateLanguageDetermined, | 291 IPC_MESSAGE_ROUTED2(ViewHostMsg_TranslateLanguageDetermined, |
| 292 std::string /* page ISO639_1 language code */, | 292 std::string /* page ISO639_1 language code */, |
| 293 bool /* whether the page can be translated */) | 293 bool /* whether the page can be translated */) |
| 294 | 294 |
| 295 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats, | 295 IPC_MESSAGE_CONTROL1(ViewHostMsg_UpdatedCacheStats, |
| 296 WebKit::WebCache::UsageStats /* stats */) | 296 WebKit::WebCache::UsageStats /* stats */) |
| 297 | 297 |
| 298 // Tells the browser that content in the current page was blocked due to the | 298 // Tells the browser that content in the current page was blocked due to the |
| 299 // user's content settings. | 299 // user's content settings. |
| 300 IPC_MESSAGE_ROUTED2(ViewHostMsg_ContentBlocked, | 300 IPC_MESSAGE_ROUTED3(ViewHostMsg_ContentBlocked, |
| 301 ContentSettingsType, /* type of blocked content */ | 301 ContentSettingsType, /* type of blocked content */ |
| 302 std::string /* resource identifier */) | 302 std::string /* resource identifier */, |
| 303 ContentSetting /* setting */) |
| 303 | 304 |
| 304 // Sent by the renderer process to check whether access to web databases is | 305 // Sent by the renderer process to check whether access to web databases is |
| 305 // granted by content settings. | 306 // granted by content settings. |
| 306 IPC_SYNC_MESSAGE_CONTROL5_1(ViewHostMsg_AllowDatabase, | 307 IPC_SYNC_MESSAGE_CONTROL5_1(ViewHostMsg_AllowDatabase, |
| 307 int /* render_view_id */, | 308 int /* render_view_id */, |
| 308 GURL /* origin_url */, | 309 GURL /* origin_url */, |
| 309 GURL /* top origin url */, | 310 GURL /* top origin url */, |
| 310 string16 /* database name */, | 311 string16 /* database name */, |
| 311 string16 /* database display name */, | 312 string16 /* database display name */, |
| 312 bool /* allowed */) | 313 bool /* allowed */) |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 int32 /* page_id */, | 507 int32 /* page_id */, |
| 507 bool /* result */) | 508 bool /* result */) |
| 508 | 509 |
| 509 // JavaScript related messages ----------------------------------------------- | 510 // JavaScript related messages ----------------------------------------------- |
| 510 | 511 |
| 511 // Notify the JavaScript engine in the render to change its parameters | 512 // Notify the JavaScript engine in the render to change its parameters |
| 512 // while performing stress testing. | 513 // while performing stress testing. |
| 513 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 514 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 514 int /* cmd */, | 515 int /* cmd */, |
| 515 int /* param */) | 516 int /* param */) |
| OLD | NEW |