| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include <map> | 5 #include <map> |
| 6 #include <string> | 6 #include <string> |
| 7 #include <vector> | 7 #include <vector> |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 | 10 |
| 11 #include "base/file_path.h" | 11 #include "base/file_path.h" |
| 12 #include "base/file_util_proxy.h" | 12 #include "base/file_util_proxy.h" |
| 13 #include "base/nullable_string16.h" | 13 #include "base/nullable_string16.h" |
| 14 #include "base/platform_file.h" | 14 #include "base/platform_file.h" |
| 15 #include "base/sync_socket.h" | 15 #include "base/sync_socket.h" |
| 16 #include "chrome/common/content_settings.h" | 16 #include "chrome/common/content_settings.h" |
| 17 #include "chrome/common/geoposition.h" | 17 #include "chrome/common/geoposition.h" |
| 18 #include "chrome/common/nacl_types.h" | 18 #include "chrome/common/nacl_types.h" |
| 19 #include "chrome/common/notification_type.h" | 19 #include "chrome/common/notification_type.h" |
| 20 #include "chrome/common/page_zoom.h" | 20 #include "chrome/common/page_zoom.h" |
| 21 #include "chrome/common/speech_input_result.h" | 21 #include "chrome/common/speech_input_result.h" |
| 22 #include "chrome/common/translate_errors.h" | 22 #include "chrome/common/translate_errors.h" |
| 23 #include "chrome/common/window_container_type.h" | 23 #include "chrome/common/window_container_type.h" |
| 24 #include "ipc/ipc_message_macros.h" | 24 #include "ipc/ipc_message_macros.h" |
| 25 #include "media/audio/audio_buffers_state.h" | 25 #include "media/audio/audio_buffers_state.h" |
| 26 #include "third_party/WebKit/WebKit/chromium/public/WebExceptionCode.h" | |
| 27 #include "third_party/WebKit/WebKit/chromium/public/WebFindOptions.h" | 26 #include "third_party/WebKit/WebKit/chromium/public/WebFindOptions.h" |
| 28 #include "third_party/WebKit/WebKit/chromium/public/WebMediaPlayerAction.h" | 27 #include "third_party/WebKit/WebKit/chromium/public/WebMediaPlayerAction.h" |
| 29 #include "third_party/WebKit/WebKit/chromium/public/WebScreenInfo.h" | 28 #include "third_party/WebKit/WebKit/chromium/public/WebScreenInfo.h" |
| 30 #include "webkit/glue/context_menu.h" | 29 #include "webkit/glue/context_menu.h" |
| 31 #include "webkit/glue/form_data.h" | 30 #include "webkit/glue/form_data.h" |
| 32 #include "webkit/glue/password_form_dom_manager.h" | 31 #include "webkit/glue/password_form_dom_manager.h" |
| 33 #include "webkit/glue/plugins/webplugininfo.h" | 32 #include "webkit/glue/plugins/webplugininfo.h" |
| 34 #include "webkit/glue/webdropdata.h" | 33 #include "webkit/glue/webdropdata.h" |
| 35 | 34 |
| 36 #if defined(OS_POSIX) | 35 #if defined(OS_POSIX) |
| 37 #include "base/file_descriptor_posix.h" | 36 #include "base/file_descriptor_posix.h" |
| 38 #endif | 37 #endif |
| 39 | 38 |
| 40 #if defined(OS_MACOSX) | 39 #if defined(OS_MACOSX) |
| 41 #include "chrome/common/font_descriptor_mac.h" | 40 #include "chrome/common/font_descriptor_mac.h" |
| 42 #endif | 41 #endif |
| 43 | 42 |
| 44 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes | 43 // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes |
| 45 // more sense with our current design. | 44 // more sense with our current design. |
| 46 | 45 |
| 47 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need | 46 // IPC_MESSAGE macros choke on extra , in the std::map, when expanding. We need |
| 48 // to typedef it to avoid that. | 47 // to typedef it to avoid that. |
| 49 // Substitution map for l10n messages. | 48 // Substitution map for l10n messages. |
| 50 typedef std::map<std::string, std::string> SubstitutionMap; | 49 typedef std::map<std::string, std::string> SubstitutionMap; |
| 51 | 50 |
| 52 class Value; | 51 class Value; |
| 53 class GPUInfo; | 52 class GPUInfo; |
| 54 class SerializedScriptValue; | |
| 55 class SkBitmap; | 53 class SkBitmap; |
| 56 struct ThumbnailScore; | 54 struct ThumbnailScore; |
| 57 class WebCursor; | 55 class WebCursor; |
| 58 | 56 |
| 59 namespace gfx { | 57 namespace gfx { |
| 60 class Rect; | 58 class Rect; |
| 61 } | 59 } |
| 62 | 60 |
| 63 namespace IPC { | 61 namespace IPC { |
| 64 struct ChannelHandle; | 62 struct ChannelHandle; |
| (...skipping 846 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 911 | 909 |
| 912 // Asks the child process to close a database immediately | 910 // Asks the child process to close a database immediately |
| 913 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseCloseImmediately, | 911 IPC_MESSAGE_CONTROL2(ViewMsg_DatabaseCloseImmediately, |
| 914 string16 /* the origin */, | 912 string16 /* the origin */, |
| 915 string16 /* the database name */) | 913 string16 /* the database name */) |
| 916 | 914 |
| 917 // Storage events are broadcast to renderer processes. | 915 // Storage events are broadcast to renderer processes. |
| 918 IPC_MESSAGE_CONTROL1(ViewMsg_DOMStorageEvent, | 916 IPC_MESSAGE_CONTROL1(ViewMsg_DOMStorageEvent, |
| 919 ViewMsg_DOMStorageEvent_Params) | 917 ViewMsg_DOMStorageEvent_Params) |
| 920 | 918 |
| 921 // IDBCallback message handlers. | |
| 922 IPC_MESSAGE_CONTROL1(ViewMsg_IDBCallbacksSuccessNull, | |
| 923 int32 /* response_id */) | |
| 924 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBCursor, | |
| 925 int32 /* response_id */, | |
| 926 int32 /* cursor_id */) | |
| 927 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBDatabase, | |
| 928 int32 /* response_id */, | |
| 929 int32 /* idb_database_id */) | |
| 930 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIndexedDBKey, | |
| 931 int32 /* response_id */, | |
| 932 IndexedDBKey /* indexed_db_key */) | |
| 933 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBIndex, | |
| 934 int32 /* response_id */, | |
| 935 int32 /* idb_index_id */) | |
| 936 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBObjectStore, | |
| 937 int32 /* response_id */, | |
| 938 int32 /* idb_object_store_id */) | |
| 939 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessIDBTransaction, | |
| 940 int32 /* response_id */, | |
| 941 int32 /* idb_transaction_id */) | |
| 942 IPC_MESSAGE_CONTROL2(ViewMsg_IDBCallbacksSuccessSerializedScriptValue, | |
| 943 int32 /* response_id */, | |
| 944 SerializedScriptValue /* serialized_script_value */) | |
| 945 IPC_MESSAGE_CONTROL3(ViewMsg_IDBCallbacksError, | |
| 946 int32 /* response_id */, | |
| 947 int /* code */, | |
| 948 string16 /* message */) | |
| 949 | |
| 950 // IDBTransactionCallback message handlers. | |
| 951 IPC_MESSAGE_CONTROL1(ViewMsg_IDBTransactionCallbacksAbort, | |
| 952 int32 /* transaction_id */) | |
| 953 IPC_MESSAGE_CONTROL1(ViewMsg_IDBTransactionCallbacksComplete, | |
| 954 int32 /* transaction_id */) | |
| 955 IPC_MESSAGE_CONTROL1(ViewMsg_IDBTransactionCallbacksTimeout, | |
| 956 int32 /* transaction_id */) | |
| 957 | |
| 958 #if defined(IPC_MESSAGE_LOG_ENABLED) | 919 #if defined(IPC_MESSAGE_LOG_ENABLED) |
| 959 // Tell the renderer process to begin or end IPC message logging. | 920 // Tell the renderer process to begin or end IPC message logging. |
| 960 IPC_MESSAGE_CONTROL1(ViewMsg_SetIPCLoggingEnabled, | 921 IPC_MESSAGE_CONTROL1(ViewMsg_SetIPCLoggingEnabled, |
| 961 bool /* on or off */) | 922 bool /* on or off */) |
| 962 #endif | 923 #endif |
| 963 | 924 |
| 964 // Socket Stream messages: | 925 // Socket Stream messages: |
| 965 // These are messages from the browser to the SocketStreamHandle on | 926 // These are messages from the browser to the SocketStreamHandle on |
| 966 // a renderer. | 927 // a renderer. |
| 967 | 928 |
| (...skipping 1439 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2407 string16 /* key */, | 2368 string16 /* key */, |
| 2408 GURL /* url */, | 2369 GURL /* url */, |
| 2409 NullableString16 /* old_value */) | 2370 NullableString16 /* old_value */) |
| 2410 | 2371 |
| 2411 // Clear the storage area. | 2372 // Clear the storage area. |
| 2412 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageClear, | 2373 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_DOMStorageClear, |
| 2413 int64 /* storage_area_id */, | 2374 int64 /* storage_area_id */, |
| 2414 GURL /* url */, | 2375 GURL /* url */, |
| 2415 bool /* something_cleared */) | 2376 bool /* something_cleared */) |
| 2416 | 2377 |
| 2417 // WebIDBCursor::direction() message. | |
| 2418 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBCursorDirection, | |
| 2419 int32, /* idb_cursor_id */ | |
| 2420 int32 /* direction */) | |
| 2421 | |
| 2422 // WebIDBCursor::key() message. | |
| 2423 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBCursorKey, | |
| 2424 int32, /* idb_cursor_id */ | |
| 2425 IndexedDBKey) | |
| 2426 | |
| 2427 // WebIDBCursor::value() message. | |
| 2428 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_IDBCursorValue, | |
| 2429 int32, /* idb_cursor_id */ | |
| 2430 SerializedScriptValue, /* script_value */ | |
| 2431 IndexedDBKey /* key */) | |
| 2432 | |
| 2433 // WebIDBCursor::update() message. | |
| 2434 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_IDBCursorUpdate, | |
| 2435 int32, /* idb_cursor_id */ | |
| 2436 int32, /* response_id */ | |
| 2437 SerializedScriptValue, /* value */ | |
| 2438 WebKit::WebExceptionCode /* ec */) | |
| 2439 | |
| 2440 // WebIDBCursor::continue() message. | |
| 2441 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_IDBCursorContinue, | |
| 2442 int32, /* idb_cursor_id */ | |
| 2443 int32, /* response_id */ | |
| 2444 IndexedDBKey, /* key */ | |
| 2445 WebKit::WebExceptionCode /* ec */) | |
| 2446 | |
| 2447 // WebIDBCursor::remove() message. | |
| 2448 IPC_SYNC_MESSAGE_CONTROL2_1(ViewHostMsg_IDBCursorDelete, | |
| 2449 int32, /* idb_cursor_id */ | |
| 2450 int32, /* response_id */ | |
| 2451 WebKit::WebExceptionCode /* ec */) | |
| 2452 | |
| 2453 // WebIDBFactory::open() message. | |
| 2454 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBFactoryOpen, | |
| 2455 ViewHostMsg_IDBFactoryOpen_Params) | |
| 2456 | |
| 2457 // WebIDBDatabase::name() message. | |
| 2458 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBDatabaseName, | |
| 2459 int32, /* idb_database_id */ | |
| 2460 string16 /* name */) | |
| 2461 | |
| 2462 // WebIDBDatabase::version() message. | |
| 2463 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBDatabaseVersion, | |
| 2464 int32, /* idb_database_id */ | |
| 2465 string16 /* vesion */) | |
| 2466 | |
| 2467 // WebIDBDatabase::objectStoreNames() message. | |
| 2468 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBDatabaseObjectStoreNames, | |
| 2469 int32, /* idb_database_id */ | |
| 2470 std::vector<string16> /* objectStoreNames */) | |
| 2471 | |
| 2472 // WebIDBDatabase::createObjectStore() message. | |
| 2473 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_IDBDatabaseCreateObjectStore, | |
| 2474 ViewHostMsg_IDBDatabaseCreateObjectStore_Params, | |
| 2475 int32, /* object_store_id */ | |
| 2476 WebKit::WebExceptionCode /* ec */) | |
| 2477 | |
| 2478 // WebIDBDatabase::removeObjectStore() message. | |
| 2479 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_IDBDatabaseDeleteObjectStore, | |
| 2480 int32, /* idb_database_id */ | |
| 2481 string16, /* name */ | |
| 2482 int32, /* transaction_id */ | |
| 2483 WebKit::WebExceptionCode /* ec */) | |
| 2484 | |
| 2485 // WebIDBDatabase::setVersion() message. | |
| 2486 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_IDBDatabaseSetVersion, | |
| 2487 int32, /* idb_database_id */ | |
| 2488 int32, /* response_id */ | |
| 2489 string16, /* version */ | |
| 2490 WebKit::WebExceptionCode /* ec */) | |
| 2491 | |
| 2492 // WebIDBDatabase::transaction() message. | |
| 2493 // TODO: make this message async. Have the renderer create a | |
| 2494 // temporary ID and keep a map in the browser process of real | |
| 2495 // IDs to temporary IDs. We can then update the transaction | |
| 2496 // to its real ID asynchronously. | |
| 2497 IPC_SYNC_MESSAGE_CONTROL4_2(ViewHostMsg_IDBDatabaseTransaction, | |
| 2498 int32, /* idb_database_id */ | |
| 2499 std::vector<string16>, /* object_stores */ | |
| 2500 int32, /* mode */ | |
| 2501 int32, /* timeout */ | |
| 2502 int32, /* idb_transaction_id */ | |
| 2503 WebKit::WebExceptionCode /* ec */) | |
| 2504 | |
| 2505 // WebIDBDatabase::~WebIDBDatabase() message. | |
| 2506 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBDatabaseDestroyed, | |
| 2507 int32 /* idb_database_id */) | |
| 2508 | |
| 2509 // WebIDBIndex::name() message. | |
| 2510 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexName, | |
| 2511 int32, /* idb_index_id */ | |
| 2512 string16 /* name */) | |
| 2513 | |
| 2514 // WebIDBIndex::storeName() message. | |
| 2515 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexStoreName, | |
| 2516 int32, /* idb_index_id */ | |
| 2517 string16 /* store_name */) | |
| 2518 | |
| 2519 // WebIDBIndex::keyPath() message. | |
| 2520 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexKeyPath, | |
| 2521 int32, /* idb_index_id */ | |
| 2522 NullableString16 /* key_path */) | |
| 2523 | |
| 2524 // WebIDBIndex::unique() message. | |
| 2525 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexUnique, | |
| 2526 int32, /* idb_unique_id */ | |
| 2527 bool /* unique */) | |
| 2528 | |
| 2529 // WebIDBIndex::openObjectCursor() message. | |
| 2530 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexOpenObjectCursor, | |
| 2531 ViewHostMsg_IDBIndexOpenCursor_Params, | |
| 2532 WebKit::WebExceptionCode /* ec */) | |
| 2533 | |
| 2534 // WebIDBIndex::openKeyCursor() message. | |
| 2535 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBIndexOpenKeyCursor, | |
| 2536 ViewHostMsg_IDBIndexOpenCursor_Params, | |
| 2537 WebKit::WebExceptionCode /* ec */) | |
| 2538 | |
| 2539 // WebIDBIndex::getObject() message. | |
| 2540 IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_IDBIndexGetObject, | |
| 2541 int32, /* idb_index_id */ | |
| 2542 int32, /* response_id */ | |
| 2543 IndexedDBKey, /* key */ | |
| 2544 int32, /* transaction_id */ | |
| 2545 WebKit::WebExceptionCode /* ec */) | |
| 2546 | |
| 2547 // WebIDBIndex::getKey() message. | |
| 2548 IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_IDBIndexGetKey, | |
| 2549 int32, /* idb_index_id */ | |
| 2550 int32, /* response_id */ | |
| 2551 IndexedDBKey, /* key */ | |
| 2552 int32, /* transaction_id */ | |
| 2553 WebKit::WebExceptionCode /* ec */) | |
| 2554 | |
| 2555 // WebIDBIndex::~WebIDBIndex() message. | |
| 2556 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBIndexDestroyed, | |
| 2557 int32 /* idb_index_id */) | |
| 2558 | |
| 2559 // WebIDBObjectStore::name() message. | |
| 2560 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBObjectStoreName, | |
| 2561 int32, /* idb_object_store_id */ | |
| 2562 string16 /* name */) | |
| 2563 | |
| 2564 // WebIDBObjectStore::keyPath() message. | |
| 2565 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBObjectStoreKeyPath, | |
| 2566 int32, /* idb_object_store_id */ | |
| 2567 NullableString16 /* keyPath */) | |
| 2568 | |
| 2569 // WebIDBObjectStore::indexNames() message. | |
| 2570 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBObjectStoreIndexNames, | |
| 2571 int32, /* idb_object_store_id */ | |
| 2572 std::vector<string16> /* index_names */) | |
| 2573 | |
| 2574 // WebIDBObjectStore::get() message. | |
| 2575 IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_IDBObjectStoreGet, | |
| 2576 int32, /* idb_object_store_id */ | |
| 2577 int32, /* response_id */ | |
| 2578 IndexedDBKey, /* key */ | |
| 2579 int32, /* transaction_id */ | |
| 2580 WebKit::WebExceptionCode /* ec */) | |
| 2581 | |
| 2582 // WebIDBObjectStore::put() message. | |
| 2583 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBObjectStorePut, | |
| 2584 ViewHostMsg_IDBObjectStorePut_Params, | |
| 2585 WebKit::WebExceptionCode /* ec */) | |
| 2586 | |
| 2587 // WebIDBObjectStore::delete() message. | |
| 2588 IPC_SYNC_MESSAGE_CONTROL4_1(ViewHostMsg_IDBObjectStoreDelete, | |
| 2589 int32, /* idb_object_store_id */ | |
| 2590 int32, /* response_id */ | |
| 2591 IndexedDBKey, /* key */ | |
| 2592 int32, /* transaction_id */ | |
| 2593 WebKit::WebExceptionCode /* ec */) | |
| 2594 | |
| 2595 // WebIDBObjectStore::createIndex() message. | |
| 2596 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_IDBObjectStoreCreateIndex, | |
| 2597 ViewHostMsg_IDBObjectStoreCreateIndex_Params, | |
| 2598 int32, /* index_id */ | |
| 2599 WebKit::WebExceptionCode /* ec */) | |
| 2600 | |
| 2601 // WebIDBObjectStore::index() message. | |
| 2602 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_IDBObjectStoreIndex, | |
| 2603 int32, /* idb_object_store_id */ | |
| 2604 string16, /* name */ | |
| 2605 int32, /* idb_index_id */ | |
| 2606 WebKit::WebExceptionCode /* ec */) | |
| 2607 | |
| 2608 // WebIDBObjectStore::deleteIndex() message. | |
| 2609 IPC_SYNC_MESSAGE_CONTROL3_1(ViewHostMsg_IDBObjectStoreDeleteIndex, | |
| 2610 int32, /* idb_object_store_id */ | |
| 2611 string16, /* name */ | |
| 2612 int32, /* transaction_id */ | |
| 2613 WebKit::WebExceptionCode /* ec */) | |
| 2614 | |
| 2615 // WebIDBObjectStore::openCursor() message. | |
| 2616 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBObjectStoreOpenCursor, | |
| 2617 ViewHostMsg_IDBObjectStoreOpenCursor_Params, | |
| 2618 WebKit::WebExceptionCode /* ec */) | |
| 2619 | |
| 2620 // WebIDBObjectStore::~WebIDBObjectStore() message. | |
| 2621 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBObjectStoreDestroyed, | |
| 2622 int32 /* idb_object_store_id */) | |
| 2623 | |
| 2624 // WebIDBDatabase::~WebIDBCursor() message. | |
| 2625 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBCursorDestroyed, | |
| 2626 int32 /* idb_cursor_id */) | |
| 2627 | |
| 2628 // IDBTransaction::ObjectStore message. | |
| 2629 IPC_SYNC_MESSAGE_CONTROL2_2(ViewHostMsg_IDBTransactionObjectStore, | |
| 2630 int32, /* transaction_id */ | |
| 2631 string16, /* name */ | |
| 2632 int32, /* object_store_id */ | |
| 2633 WebKit::WebExceptionCode /* ec */) | |
| 2634 | |
| 2635 // WebIDBTransaction::mode() message. | |
| 2636 IPC_SYNC_MESSAGE_CONTROL1_1(ViewHostMsg_IDBTransactionMode, | |
| 2637 int32, /* idb_transaction_id */ | |
| 2638 int /* mode */) | |
| 2639 | |
| 2640 // WebIDBTransaction::abort() message. | |
| 2641 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBTransactionAbort, | |
| 2642 int32 /* idb_transaction_id */) | |
| 2643 | |
| 2644 // IDBTransaction::DidCompleteTaskEvents() message. | |
| 2645 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBTransactionDidCompleteTaskEvents, | |
| 2646 int32 /* idb_transaction_id */) | |
| 2647 | |
| 2648 // WebIDBTransaction::~WebIDBTransaction() message. | |
| 2649 IPC_MESSAGE_CONTROL1(ViewHostMsg_IDBTransactionDestroyed, | |
| 2650 int32 /* idb_transaction_id */) | |
| 2651 | |
| 2652 // Opens a file asynchronously. The response returns a file descriptor | 2378 // Opens a file asynchronously. The response returns a file descriptor |
| 2653 // and an error code from base/platform_file.h. | 2379 // and an error code from base/platform_file.h. |
| 2654 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, | 2380 IPC_MESSAGE_ROUTED3(ViewHostMsg_AsyncOpenFile, |
| 2655 FilePath /* file path */, | 2381 FilePath /* file path */, |
| 2656 int /* flags */, | 2382 int /* flags */, |
| 2657 int /* message_id */) | 2383 int /* message_id */) |
| 2658 | 2384 |
| 2659 // Sent by the renderer process to acknowledge receipt of a | 2385 // Sent by the renderer process to acknowledge receipt of a |
| 2660 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. | 2386 // ViewMsg_CSSInsertRequest message and css has been inserted into the frame. |
| 2661 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) | 2387 IPC_MESSAGE_ROUTED0(ViewHostMsg_OnCSSInserted) |
| (...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3044 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperQueryFile, | 2770 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperQueryFile, |
| 3045 FilePath /* path */, | 2771 FilePath /* path */, |
| 3046 base::PlatformFileInfo, /* info */ | 2772 base::PlatformFileInfo, /* info */ |
| 3047 base::PlatformFileError /* error_code */) | 2773 base::PlatformFileError /* error_code */) |
| 3048 | 2774 |
| 3049 // Get the directory's contents. | 2775 // Get the directory's contents. |
| 3050 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, | 2776 IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_PepperGetDirContents, |
| 3051 FilePath /* path */, | 2777 FilePath /* path */, |
| 3052 PepperDirContents, /* contents */ | 2778 PepperDirContents, /* contents */ |
| 3053 base::PlatformFileError /* error_code */) | 2779 base::PlatformFileError /* error_code */) |
| OLD | NEW |