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

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: revert obsolete changes in search.h/cc 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 367 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantOverlay, 694 IPC_MESSAGE_ROUTED4(ChromeViewHostMsg_ShowInstantOverlay,
693 int /* page_id */, 695 int /* page_id */,
694 InstantShownReason /* reason */, 696 InstantShownReason /* reason */,
695 int /* height */, 697 int /* height */,
696 InstantSizeUnits /* units */) 698 InstantSizeUnits /* units */)
697 699
698 // Sent by Instant to focus the omnibox. 700 // Sent by Instant to focus the omnibox.
699 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FocusOmnibox, 701 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_FocusOmnibox,
700 int /* page_id */) 702 int /* page_id */)
701 703
704 // Sent by Instant to show any attached bars.
705 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxShowBars,
706 int /* page_id */)
707
708 // Sent by Instant to hide any attached bars.
709 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_SearchBoxHideBars,
710 int /* page_id */)
711
702 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes, 712 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StartCapturingKeyStrokes,
703 int /* page_id */) 713 int /* page_id */)
704 714
705 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StopCapturingKeyStrokes, 715 IPC_MESSAGE_ROUTED1(ChromeViewHostMsg_StopCapturingKeyStrokes,
706 int /* page_id */) 716 int /* page_id */)
707 717
708 // The currently displayed PDF has an unsupported feature. 718 // The currently displayed PDF has an unsupported feature.
709 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature) 719 IPC_MESSAGE_ROUTED0(ChromeViewHostMsg_PDFHasUnsupportedFeature)
710 720
711 // This message indicates the error appeared in the frame. 721 // This message indicates the error appeared in the frame.
(...skipping 16 matching lines...) Expand all
728 // previous SetCookie message to be processed. 738 // previous SetCookie message to be processed.
729 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies, 739 IPC_SYNC_MESSAGE_ROUTED2_1(ChromeViewHostMsg_GetCookies,
730 GURL /* url */, 740 GURL /* url */,
731 GURL /* first_party_for_cookies */, 741 GURL /* first_party_for_cookies */,
732 std::string /* cookies */) 742 std::string /* cookies */)
733 743
734 // Provide the browser process with current renderer framerate. 744 // Provide the browser process with current renderer framerate.
735 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS, 745 IPC_MESSAGE_CONTROL2(ChromeViewHostMsg_FPS,
736 int /* routing id */, 746 int /* routing id */,
737 float /* frames per second */) 747 float /* frames per second */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698