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

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: fixed build break 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
305 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxCancel, 305 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxCancel,
306 string16 /* value */) 306 string16 /* value */)
307 307
308 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxPopupResize, 308 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxPopupResize,
309 gfx::Rect /* bounds */) 309 gfx::Rect /* bounds */)
310 310
311 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxMarginChange, 311 IPC_MESSAGE_ROUTED2(ChromeViewMsg_SearchBoxMarginChange,
312 int /* start */, 312 int /* start */,
313 int /* end */) 313 int /* end */)
314 314
315 IPC_MESSAGE_ROUTED0(ChromeViewMsg_SearchBoxBarsHidden)
316
315 IPC_MESSAGE_ROUTED0(ChromeViewMsg_DetermineIfPageSupportsInstant) 317 IPC_MESSAGE_ROUTED0(ChromeViewMsg_DetermineIfPageSupportsInstant)
316 318
317 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxAutocompleteResults, 319 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxAutocompleteResults,
318 std::vector<InstantAutocompleteResult> 320 std::vector<InstantAutocompleteResult>
319 /* native_suggestions */) 321 /* native_suggestions */)
320 322
321 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxUpOrDownKeyPressed, 323 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxUpOrDownKeyPressed,
322 int /* count */) 324 int /* count */)
323 325
324 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxCancelSelection, 326 IPC_MESSAGE_ROUTED1(ChromeViewMsg_SearchBoxCancelSelection,
(...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after
691 // Sent by the Instant overlay asking to show itself with the given height. 693 // Sent by the Instant overlay asking to show itself with the given height.
692 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ShowInstantOverlay, 694 IPC_MESSAGE_ROUTED3(ChromeViewHostMsg_ShowInstantOverlay,
693 int /* page_id */, 695 int /* page_id */,
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
« no previous file with comments | « chrome/browser/ui/views/frame/instant_overlay_controller_views.cc ('k') | chrome/common/search_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698