OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 <stdint.h> | 6 #include <stdint.h> |
7 #include <map> | 7 #include <map> |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 340 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetManagedAccounts, | 351 IPC_SYNC_MESSAGE_CONTROL1_1(ChromeViewHostMsg_GetManagedAccounts, |
352 GURL /* current URL */, | 352 GURL /* current URL */, |
353 std::vector<std::string> /* managed accounts */) | 353 std::vector<std::string> /* managed accounts */) |
354 | 354 |
355 // Message sent from the renderer to the browser to show the browser account | 355 // Message sent from the renderer to the browser to show the browser account |
356 // management UI. | 356 // management UI. |
357 IPC_MESSAGE_CONTROL0(ChromeViewHostMsg_ShowBrowserAccountManagementUI) | 357 IPC_MESSAGE_CONTROL0(ChromeViewHostMsg_ShowBrowserAccountManagementUI) |
358 | 358 |
359 // JavaScript related messages ----------------------------------------------- | 359 // JavaScript related messages ----------------------------------------------- |
360 | 360 |
361 // Asks the renderer to send back FPS. | |
362 IPC_MESSAGE_ROUTED0(ChromeViewMsg_GetFPS) | |
363 | |
364 // Tells the frame it is displaying an interstitial page. | 361 // Tells the frame it is displaying an interstitial page. |
365 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SetAsInterstitial) | 362 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SetAsInterstitial) |
366 | 363 |
367 // Provides the renderer with the results of the browser's investigation into | 364 // Provides the renderer with the results of the browser's investigation into |
368 // why a recent main frame load failed (currently, just DNS probe result). | 365 // why a recent main frame load failed (currently, just DNS probe result). |
369 // NetErrorHelper will receive this mesage and replace or update the error | 366 // NetErrorHelper will receive this mesage and replace or update the error |
370 // page with more specific troubleshooting suggestions. | 367 // page with more specific troubleshooting suggestions. |
371 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, | 368 IPC_MESSAGE_ROUTED1(ChromeViewMsg_NetErrorInfo, |
372 int /* DNS probe status */) | 369 int /* DNS probe status */) |
373 | 370 |
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
620 std::string /* prompt */, | 617 std::string /* prompt */, |
621 std::string /* actual_value */) | 618 std::string /* actual_value */) |
622 | 619 |
623 // This message indicates the error appeared in the frame. | 620 // This message indicates the error appeared in the frame. |
624 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError, | 621 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FrameLoadingError, |
625 int /* error */) | 622 int /* error */) |
626 | 623 |
627 // This message indicates the monitored frame loading had completed. | 624 // This message indicates the monitored frame loading had completed. |
628 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted) | 625 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted) |
629 | 626 |
630 // Provide the browser process with current renderer framerate. | |
631 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, | |
632 int /* routing id */, | |
633 float /* frames per second */) | |
634 | |
635 // Logs events from InstantExtended New Tab Pages. | 627 // Logs events from InstantExtended New Tab Pages. |
636 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_LogEvent, | 628 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_LogEvent, |
637 int /* page_seq_no */, | 629 int /* page_seq_no */, |
638 NTPLoggingEventType /* event */) | 630 NTPLoggingEventType /* event */) |
639 | 631 |
640 // Logs an impression on one of the Most Visited tile on the InstantExtended | 632 // Logs an impression on one of the Most Visited tile on the InstantExtended |
641 // New Tab Page. | 633 // New Tab Page. |
642 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogMostVisitedImpression, | 634 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogMostVisitedImpression, |
643 int /* page_seq_no */, | 635 int /* page_seq_no */, |
644 int /* position */, | 636 int /* position */, |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
713 base::string16 /* message */, | 705 base::string16 /* message */, |
714 base::string16 /* source */, | 706 base::string16 /* source */, |
715 extensions::StackTrace /* stack trace */, | 707 extensions::StackTrace /* stack trace */, |
716 int32 /* severity level */) | 708 int32 /* severity level */) |
717 | 709 |
718 #if defined(ENABLE_PLUGINS) | 710 #if defined(ENABLE_PLUGINS) |
719 // Sent by the renderer to check if crash reporting is enabled. | 711 // Sent by the renderer to check if crash reporting is enabled. |
720 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, | 712 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, |
721 bool /* enabled */) | 713 bool /* enabled */) |
722 #endif | 714 #endif |
OLD | NEW |