| 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 <set> | 6 #include <set> | 
| 7 #include <string> | 7 #include <string> | 
| 8 #include <vector> | 8 #include <vector> | 
| 9 | 9 | 
| 10 #include "build/build_config.h" | 10 #include "build/build_config.h" | 
| (...skipping 2392 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2403                             bool /* correct */) | 2403                             bool /* correct */) | 
| 2404 | 2404 | 
| 2405 IPC_SYNC_MESSAGE_CONTROL1_1( | 2405 IPC_SYNC_MESSAGE_CONTROL1_1( | 
| 2406     ViewHostMsg_SpellChecker_PlatformFillSuggestionList, | 2406     ViewHostMsg_SpellChecker_PlatformFillSuggestionList, | 
| 2407     string16 /* word */, | 2407     string16 /* word */, | 
| 2408     std::vector<string16> /* suggestions */) | 2408     std::vector<string16> /* suggestions */) | 
| 2409 | 2409 | 
| 2410 //--------------------------------------------------------------------------- | 2410 //--------------------------------------------------------------------------- | 
| 2411 // Geolocation services messages | 2411 // Geolocation services messages | 
| 2412 | 2412 | 
| 2413 // A GeolocationServiceBridgeImpl in the renderer process has been created. |  | 
| 2414 // This is used to lazily initialize the host dispatchers and related |  | 
| 2415 // Geolocation infrastructure in the browser process. |  | 
| 2416 IPC_MESSAGE_CONTROL1(ViewHostMsg_Geolocation_RegisterDispatcher, |  | 
| 2417                      int /* render_view_id */) |  | 
| 2418 |  | 
| 2419 // A GeolocationServiceBridgeImpl has been destroyed. |  | 
| 2420 // This is used to let the Geolocation infrastructure do its cleanup. |  | 
| 2421 IPC_MESSAGE_CONTROL1(ViewHostMsg_Geolocation_UnregisterDispatcher, |  | 
| 2422                      int /* render_view_id */) |  | 
| 2423 |  | 
| 2424 // The |render_view_id| and |bridge_id| representing |host| is requesting | 2413 // The |render_view_id| and |bridge_id| representing |host| is requesting | 
| 2425 // permission to access geolocation position. | 2414 // permission to access geolocation position. | 
| 2426 // This will be replied by ViewMsg_Geolocation_PermissionSet. | 2415 // This will be replied by ViewMsg_Geolocation_PermissionSet. | 
| 2427 IPC_MESSAGE_CONTROL3(ViewHostMsg_Geolocation_RequestPermission, | 2416 IPC_MESSAGE_CONTROL3(ViewHostMsg_Geolocation_RequestPermission, | 
| 2428                      int /* render_view_id */, | 2417                      int /* render_view_id */, | 
| 2429                      int /* bridge_id */, | 2418                      int /* bridge_id */, | 
| 2430                      GURL /* GURL of the frame requesting geolocation */) | 2419                      GURL /* GURL of the frame requesting geolocation */) | 
| 2431 | 2420 | 
| 2432 // The |render_view_id| and |bridge_id| representing |GURL| is cancelling its | 2421 // The |render_view_id| and |bridge_id| representing |GURL| is cancelling its | 
| 2433 // previous permission request to access geolocation position. | 2422 // previous permission request to access geolocation position. | 
| 2434 IPC_MESSAGE_CONTROL3(ViewHostMsg_Geolocation_CancelPermissionRequest, | 2423 IPC_MESSAGE_CONTROL3(ViewHostMsg_Geolocation_CancelPermissionRequest, | 
| 2435                      int /* render_view_id */, | 2424                      int /* render_view_id */, | 
| 2436                      int /* bridge_id */, | 2425                      int /* bridge_id */, | 
| 2437                      GURL /* GURL of the frame */) | 2426                      GURL /* GURL of the frame */) | 
| 2438 | 2427 | 
| 2439 // The |render_view_id| and |bridge_id| requests Geolocation service to start | 2428 // The |render_view_id| requests Geolocation service to start updating. | 
| 2440 // updating. |  | 
| 2441 // This is an asynchronous call, and the browser process may eventually reply | 2429 // This is an asynchronous call, and the browser process may eventually reply | 
| 2442 // with the updated geoposition, or an error (access denied, location | 2430 // with the updated geoposition, or an error (access denied, location | 
| 2443 // unavailable, etc.) | 2431 // unavailable, etc.) | 
| 2444 IPC_MESSAGE_CONTROL4(ViewHostMsg_Geolocation_StartUpdating, | 2432 IPC_MESSAGE_CONTROL3(ViewHostMsg_Geolocation_StartUpdating, | 
| 2445                      int /* render_view_id */, | 2433                      int /* render_view_id */, | 
| 2446                      int /* bridge_id */, |  | 
| 2447                      GURL /* GURL of the frame requesting geolocation */, | 2434                      GURL /* GURL of the frame requesting geolocation */, | 
| 2448                      bool /* enable_high_accuracy */) | 2435                      bool /* enable_high_accuracy */) | 
| 2449 | 2436 | 
| 2450 // The |render_view_id| and |bridge_id| requests Geolocation service to stop | 2437 // The |render_view_id| requests Geolocation service to stop updating. | 
| 2451 // updating. |  | 
| 2452 // Note that the geolocation service may continue to fetch geolocation data | 2438 // Note that the geolocation service may continue to fetch geolocation data | 
| 2453 // for other origins. | 2439 // for other origins. | 
| 2454 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_StopUpdating, | 2440 IPC_MESSAGE_CONTROL1(ViewHostMsg_Geolocation_StopUpdating, | 
| 2455                      int /* render_view_id */, | 2441                      int /* render_view_id */) | 
| 2456                      int /* bridge_id */) |  | 
| 2457 |  | 
| 2458 // The |render_view_id| and |bridge_id| requests Geolocation service to |  | 
| 2459 // suspend. |  | 
| 2460 // Note that the geolocation service may continue to fetch geolocation data |  | 
| 2461 // for other origins. |  | 
| 2462 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Suspend, |  | 
| 2463                      int /* render_view_id */, |  | 
| 2464                      int /* bridge_id */) |  | 
| 2465 |  | 
| 2466 // The |render_view_id| and |bridge_id| requests Geolocation service to |  | 
| 2467 // resume. |  | 
| 2468 IPC_MESSAGE_CONTROL2(ViewHostMsg_Geolocation_Resume, |  | 
| 2469                      int /* render_view_id */, |  | 
| 2470                      int /* bridge_id */) |  | 
| 2471 | 2442 | 
| 2472 // Updates the minimum/maximum allowed zoom percent for this tab from the | 2443 // Updates the minimum/maximum allowed zoom percent for this tab from the | 
| 2473 // default values.  If |remember| is true, then the zoom setting is applied to | 2444 // default values.  If |remember| is true, then the zoom setting is applied to | 
| 2474 // other pages in the site and is saved, otherwise it only applies to this | 2445 // other pages in the site and is saved, otherwise it only applies to this | 
| 2475 // tab. | 2446 // tab. | 
| 2476 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateZoomLimits, | 2447 IPC_MESSAGE_ROUTED3(ViewHostMsg_UpdateZoomLimits, | 
| 2477                     int /* minimum_percent */, | 2448                     int /* minimum_percent */, | 
| 2478                     int /* maximum_percent */, | 2449                     int /* maximum_percent */, | 
| 2479                     bool /* remember */) | 2450                     bool /* remember */) | 
| 2480 | 2451 | 
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2644 IPC_MESSAGE_CONTROL4(ViewHostMsg_PepperConnectTcp, | 2615 IPC_MESSAGE_CONTROL4(ViewHostMsg_PepperConnectTcp, | 
| 2645                      int /* routing_id */, | 2616                      int /* routing_id */, | 
| 2646                      int /* request_id */, | 2617                      int /* request_id */, | 
| 2647                      std::string /* host */, | 2618                      std::string /* host */, | 
| 2648                      uint16 /* port */) | 2619                      uint16 /* port */) | 
| 2649 | 2620 | 
| 2650 IPC_MESSAGE_CONTROL3(ViewHostMsg_PepperConnectTcpAddress, | 2621 IPC_MESSAGE_CONTROL3(ViewHostMsg_PepperConnectTcpAddress, | 
| 2651                      int /* routing_id */, | 2622                      int /* routing_id */, | 
| 2652                      int /* request_id */, | 2623                      int /* request_id */, | 
| 2653                      PP_Flash_NetAddress /* addr */) | 2624                      PP_Flash_NetAddress /* addr */) | 
| OLD | NEW | 
|---|