| 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 |
| 11 // TODO(erg): This list has been temporarily annotated by erg while doing work | 11 // TODO(erg): This list has been temporarily annotated by erg while doing work |
| 12 // on which headers to pull out. | 12 // on which headers to pull out. |
| 13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
| 14 #include "base/file_path.h" | 14 #include "base/file_path.h" |
| 15 #include "base/process.h" | 15 #include "base/process.h" |
| 16 #include "base/shared_memory.h" | 16 #include "base/shared_memory.h" |
| 17 #include "base/string16.h" | 17 #include "base/string16.h" |
| 18 #include "base/values.h" | 18 #include "base/values.h" |
| 19 #include "build/build_config.h" | 19 #include "build/build_config.h" |
| 20 #include "chrome/common/content_settings.h" | 20 #include "chrome/common/content_settings.h" |
| 21 #include "chrome/common/icon_messages.h" |
| 21 #include "chrome/common/instant_types.h" | 22 #include "chrome/common/instant_types.h" |
| 22 #include "chrome/common/nacl_types.h" | 23 #include "chrome/common/nacl_types.h" |
| 23 #include "chrome/common/prerender_constants.h" | 24 #include "chrome/common/prerender_constants.h" |
| 24 #include "chrome/common/search_provider.h" | 25 #include "chrome/common/search_provider.h" |
| 25 #include "chrome/common/thumbnail_score.h" | 26 #include "chrome/common/thumbnail_score.h" |
| 26 #include "chrome/common/translate_errors.h" | 27 #include "chrome/common/translate_errors.h" |
| 27 #include "chrome/common/view_types.h" | 28 #include "chrome/common/view_types.h" |
| 28 #include "content/common/common_param_traits.h" | 29 #include "content/common/common_param_traits.h" |
| 29 #include "ipc/ipc_message_macros.h" | 30 #include "ipc/ipc_message_macros.h" |
| 30 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" | 31 #include "third_party/WebKit/Source/WebKit/chromium/public/WebCache.h" |
| (...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 // binary data as the second parameter. | 328 // binary data as the second parameter. |
| 328 IPC_MESSAGE_ROUTED3(ViewHostMsg_Thumbnail, | 329 IPC_MESSAGE_ROUTED3(ViewHostMsg_Thumbnail, |
| 329 GURL /* url */, | 330 GURL /* url */, |
| 330 ThumbnailScore /* score */, | 331 ThumbnailScore /* score */, |
| 331 SkBitmap /* bitmap */) | 332 SkBitmap /* bitmap */) |
| 332 | 333 |
| 333 // Send a snapshot of the tab contents to the render host. | 334 // Send a snapshot of the tab contents to the render host. |
| 334 IPC_MESSAGE_ROUTED1(ViewHostMsg_Snapshot, | 335 IPC_MESSAGE_ROUTED1(ViewHostMsg_Snapshot, |
| 335 SkBitmap /* bitmap */) | 336 SkBitmap /* bitmap */) |
| 336 | 337 |
| 337 // Notification that the url for the favicon of a site has been determined. | 338 // Notification that the urls for the favicon of a site has been determined. |
| 338 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFaviconURL, | 339 IPC_MESSAGE_ROUTED2(ViewHostMsg_UpdateFaviconURL, |
| 339 int32 /* page_id */, | 340 int32 /* page_id */, |
| 340 GURL /* url of the favicon */) | 341 std::vector<FaviconURL> /* urls of the favicon */) |
| 341 | 342 |
| 342 // Following message is used to communicate the values received by the | 343 // Following message is used to communicate the values received by the |
| 343 // callback binding the JS to Cpp. | 344 // callback binding the JS to Cpp. |
| 344 // An instance of browser that has an automation host listening to it can | 345 // An instance of browser that has an automation host listening to it can |
| 345 // have a javascript send a native value (string, number, boolean) to the | 346 // have a javascript send a native value (string, number, boolean) to the |
| 346 // listener in Cpp. (DomAutomationController) | 347 // listener in Cpp. (DomAutomationController) |
| 347 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, | 348 IPC_MESSAGE_ROUTED2(ViewHostMsg_DomOperationResponse, |
| 348 std::string /* json_string */, | 349 std::string /* json_string */, |
| 349 int /* automation_id */) | 350 int /* automation_id */) |
| 350 | 351 |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 502 // while performing stress testing. | 503 // while performing stress testing. |
| 503 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, | 504 IPC_MESSAGE_ROUTED2(ViewMsg_JavaScriptStressTestControl, |
| 504 int /* cmd */, | 505 int /* cmd */, |
| 505 int /* param */) | 506 int /* param */) |
| 506 | 507 |
| 507 // Register a new handler for URL requests with the given scheme. | 508 // Register a new handler for URL requests with the given scheme. |
| 508 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, | 509 IPC_MESSAGE_ROUTED3(ViewHostMsg_RegisterProtocolHandler, |
| 509 std::string /* scheme */, | 510 std::string /* scheme */, |
| 510 GURL /* url */, | 511 GURL /* url */, |
| 511 string16 /* title */) | 512 string16 /* title */) |
| OLD | NEW |