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

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

Issue 12631008: alternate ntp: implement Show/HideBars API to reduce jank when showing/hiding bars (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 <map> 6 #include <map>
7 #include <set> 7 #include <set>
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxCancel, 304 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxCancel,
305 string16 /* value */) 305 string16 /* value */)
306 306
307 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxPopupResize, 307 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxPopupResize,
308 gfx::Rect /* bounds */) 308 gfx::Rect /* bounds */)
309 309
310 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxMarginChange, 310 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxMarginChange,
311 int /* start */, 311 int /* start */,
312 int /* end */) 312 int /* end */)
313 313
314 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxBarsHidden)
315
314 IPC_MESSAGE_ROUTED0(ChromeViewMsg_DetermineIfPageSupportsInstant) 316 IPC_MESSAGE_ROUTED0(ChromeViewMsg_DetermineIfPageSupportsInstant)
315 317
316 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxAutocompleteResults, 318 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxAutocompleteResults,
317 std::vector<InstantAutocompleteResult> 319 std::vector<InstantAutocompleteResult>
318 /* native_suggestions */) 320 /* native_suggestions */)
319 321
320 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxUpOrDownKeyPressed, 322 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxUpOrDownKeyPressed,
321 int /* count */) 323 int /* count */)
322 324
323 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxCancelSelection, 325 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxCancelSelection,
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantOverlay, 693 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantOverlay,
692 int /* page_id */, 694 int /* page_id */,
693 InstantShownReason /* reason */, 695 InstantShownReason /* reason */,
694 int /* height */, 696 int /* height */,
695 InstantSizeUnits /* units */) 697 InstantSizeUnits /* units */)
696 698
697 // Sent by Instant to focus the omnibox. 699 // Sent by Instant to focus the omnibox.
698 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FocusOmnibox, 700 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FocusOmnibox,
699 int /* page_id */) 701 int /* page_id */)
700 702
703 // Sent by Instant to show any attached bars.
704 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxShowBars,
705 int /* page_id */)
706
707 // Sent by Instant to hide any attached bars.
708 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxHideBars,
709 int /* page_id */)
710
701 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes, 711 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes,
702 int /* page_id */) 712 int /* page_id */)
703 713
704 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StopCapturingKeyStrokes, 714 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StopCapturingKeyStrokes,
705 int /* page_id */) 715 int /* page_id */)
706 716
707 // The currently displayed PDF has an unsupported feature. 717 // The currently displayed PDF has an unsupported feature.
708 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature) 718 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature)
709 719
710 // This message indicates the error appeared in the frame. 720 // This message indicates the error appeared in the frame.
(...skipping 16 matching lines...) Expand all
727 // previous SetCookie message to be processed. 737 // previous SetCookie message to be processed.
728 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 738 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
729 GURL /* url */, 739 GURL /* url */,
730 GURL /* first_party_for_cookies */, 740 GURL /* first_party_for_cookies */,
731 std::string /* cookies */) 741 std::string /* cookies */)
732 742
733 // Provide the browser process with current renderer framerate. 743 // Provide the browser process with current renderer framerate.
734 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 744 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
735 int /* routing id */, 745 int /* routing id */,
736 float /* frames per second */) 746 float /* frames per second */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698