Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Side by Side Diff: chrome/common/render_messages.h

Issue 292123015: Remove WebContents::IsActiveEntry from Instant Extended and from WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: done? Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 // Tells the renderer to create a FieldTrial, and by using a 100% probability 233 // Tells the renderer to create a FieldTrial, and by using a 100% probability
234 // for the FieldTrial, forces the FieldTrial to have assigned group name. 234 // for the FieldTrial, forces the FieldTrial to have assigned group name.
235 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup, 235 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetFieldTrialGroup,
236 std::string /* field trial name */, 236 std::string /* field trial name */,
237 std::string /* group name that was assigned. */) 237 std::string /* group name that was assigned. */)
238 238
239 // Asks the renderer to send back V8 heap stats. 239 // Asks the renderer to send back V8 heap stats.
240 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetV8HeapStats) 240 IPC_MESSAGE_CONTROL0(ChromeViewMsg_GetV8HeapStats)
241 241
242 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SetPageSequenceNumber,
243 int /* page_seq_no */)
244
242 IPC_MESSAGE_ROUTED0(ChromeViewMsg_DetermineIfPageSupportsInstant) 245 IPC_MESSAGE_ROUTED0(ChromeViewMsg_DetermineIfPageSupportsInstant)
243 246
244 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxSetDisplayInstantResults, 247 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxSetDisplayInstantResults,
245 bool /* display_instant_results */) 248 bool /* display_instant_results */)
246 249
247 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxFocusChanged, 250 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxFocusChanged,
248 OmniboxFocusState /* new_focus_state */, 251 OmniboxFocusState /* new_focus_state */,
249 OmniboxFocusChangeReason /* reason */) 252 OmniboxFocusChangeReason /* reason */)
250 253
251 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxMarginChange, int /* start */) 254 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxMarginChange, int /* start */)
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 // This message indicates the monitored frame loading had completed. 627 // This message indicates the monitored frame loading had completed.
625 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted) 628 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_FrameLoadingCompleted)
626 629
627 // Provide the browser process with current renderer framerate. 630 // Provide the browser process with current renderer framerate.
628 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 631 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
629 int /* routing id */, 632 int /* routing id */,
630 float /* frames per second */) 633 float /* frames per second */)
631 634
632 // Logs events from InstantExtended New Tab Pages. 635 // Logs events from InstantExtended New Tab Pages.
633 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_LogEvent, 636 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_LogEvent,
634 int /* page_id */, 637 int /* page_seq_no */,
635 NTPLoggingEventType /* event */) 638 NTPLoggingEventType /* event */)
636 639
637 // Logs an impression on one of the Most Visited tile on the InstantExtended 640 // Logs an impression on one of the Most Visited tile on the InstantExtended
638 // New Tab Page. 641 // New Tab Page.
639 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogMostVisitedImpression, 642 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogMostVisitedImpression,
640 int /* page_id */, 643 int /* page_seq_no */,
641 int /* position */, 644 int /* position */,
642 base::string16 /* provider */) 645 base::string16 /* provider */)
643 646
644 // Logs a navigation on one of the Most Visited tile on the InstantExtended 647 // Logs a navigation on one of the Most Visited tile on the InstantExtended
645 // New Tab Page. 648 // New Tab Page.
646 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogMostVisitedNavigation, 649 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_LogMostVisitedNavigation,
647 int /* page_id */, 650 int /* page_seq_no */,
648 int /* position */, 651 int /* position */,
649 base::string16 /* provider */) 652 base::string16 /* provider */)
650 653
651 // The Instant page asks for Chrome identity check against |identity|. 654 // The Instant page asks for Chrome identity check against |identity|.
652 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ChromeIdentityCheck, 655 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_ChromeIdentityCheck,
653 int /* page_id */, 656 int /* page_seq_no */,
654 base::string16 /* identity */) 657 base::string16 /* identity */)
655 658
656 // Tells InstantExtended to set the omnibox focus state. 659 // Tells InstantExtended to set the omnibox focus state.
657 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FocusOmnibox, 660 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_FocusOmnibox,
658 int /* page_id */, 661 int /* page_seq_no */,
659 OmniboxFocusState /* state */) 662 OmniboxFocusState /* state */)
660 663
661 // Tells InstantExtended to paste text into the omnibox. If text is empty, 664 // Tells InstantExtended to paste text into the omnibox. If text is empty,
662 // the clipboard contents will be pasted. This causes the omnibox dropdown to 665 // the clipboard contents will be pasted. This causes the omnibox dropdown to
663 // open. 666 // open.
664 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_PasteAndOpenDropdown, 667 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_PasteAndOpenDropdown,
665 int /* page_id */, 668 int /* page_seq_no */,
666 base::string16 /* text to be pasted */) 669 base::string16 /* text to be pasted */)
667 670
668 // Tells InstantExtended whether the embedded search API is supported. 671 // Tells InstantExtended whether the embedded search API is supported.
669 // See http://dev.chromium.org/embeddedsearch 672 // See http://dev.chromium.org/embeddedsearch
670 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined, 673 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_InstantSupportDetermined,
671 int /* page_id */, 674 int /* page_seq_no */,
672 bool /* result */) 675 bool /* result */)
673 676
674 // Tells InstantExtended to delete a most visited item. 677 // Tells InstantExtended to delete a most visited item.
675 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxDeleteMostVisitedItem, 678 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxDeleteMostVisitedItem,
676 int /* page_id */, 679 int /* page_seq_no */,
677 GURL /* url */) 680 GURL /* url */)
678 681
679 // Tells InstantExtended to navigate the active tab to a possibly privileged 682 // Tells InstantExtended to navigate the active tab to a possibly privileged
680 // URL. 683 // URL.
681 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_SearchBoxNavigate, 684 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_SearchBoxNavigate,
682 int /* page_id */, 685 int /* page_seq_no */,
683 GURL /* destination */, 686 GURL /* destination */,
684 WindowOpenDisposition /* disposition */, 687 WindowOpenDisposition /* disposition */,
685 bool /*is_most_visited_item_url*/) 688 bool /*is_most_visited_item_url*/)
686 689
687 // Tells InstantExtended to undo all most visited item deletions. 690 // Tells InstantExtended to undo all most visited item deletions.
688 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxUndoAllMostVisitedDeletions, 691 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxUndoAllMostVisitedDeletions,
689 int /* page_id */) 692 int /* page_seq_no */)
690 693
691 // Tells InstantExtended to undo one most visited item deletion. 694 // Tells InstantExtended to undo one most visited item deletion.
692 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion, 695 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SearchBoxUndoMostVisitedDeletion,
693 int /* page_id */, 696 int /* page_seq_no */,
694 GURL /* url */) 697 GURL /* url */)
695 698
696 // Tells InstantExtended whether the page supports voice search. 699 // Tells InstantExtended whether the page supports voice search.
697 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetVoiceSearchSupported, 700 IPC_MESSAGE_ROUTED2(ChromeViewHostMsg_SetVoiceSearchSupported,
698 int /* page_id */, 701 int /* page_seq_no */,
699 bool /* supported */) 702 bool /* supported */)
700 703
701 // Tells the renderer a list of URLs which should be bounced back to the browser 704 // Tells the renderer a list of URLs which should be bounced back to the browser
702 // process so that they can be assigned to an Instant renderer. 705 // process so that they can be assigned to an Instant renderer.
703 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs, 706 IPC_MESSAGE_CONTROL2(ChromeViewMsg_SetSearchURLs,
704 std::vector<GURL> /* search_urls */, 707 std::vector<GURL> /* search_urls */,
705 GURL /* new_tab_page_url */) 708 GURL /* new_tab_page_url */)
706 709
707 // Tells listeners that a detailed message was reported to the console by 710 // Tells listeners that a detailed message was reported to the console by
708 // WebKit. 711 // WebKit.
709 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded, 712 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_DetailedConsoleMessageAdded,
710 base::string16 /* message */, 713 base::string16 /* message */,
711 base::string16 /* source */, 714 base::string16 /* source */,
712 extensions::StackTrace /* stack trace */, 715 extensions::StackTrace /* stack trace */,
713 int32 /* severity level */) 716 int32 /* severity level */)
714 717
715 #if defined(ENABLE_PLUGINS) 718 #if defined(ENABLE_PLUGINS)
716 // Sent by the renderer to check if crash reporting is enabled. 719 // Sent by the renderer to check if crash reporting is enabled.
717 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled, 720 IPC_SYNC_MESSAGE_CONTROL0_1(ChromeViewHostMsg_IsCrashReportingEnabled,
718 bool /* enabled */) 721 bool /* enabled */)
719 #endif 722 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698