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

Side by Side Diff: content/common/frame_messages.h

Issue 435833002: Navigation transitions: Plumb data from the outgoing renderer to the incoming renderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes Created 6 years, 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 // IPC messages for interacting with frames. 5 // IPC messages for interacting with frames.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "content/common/content_export.h" 8 #include "content/common/content_export.h"
9 #include "content/common/content_param_traits.h" 9 #include "content/common/content_param_traits.h"
10 #include "content/common/frame_message_enums.h" 10 #include "content/common/frame_message_enums.h"
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
375 base::string16, /* javascript */ 375 base::string16, /* javascript */
376 int, /* ID */ 376 int, /* ID */
377 bool /* if true, a reply is requested */) 377 bool /* if true, a reply is requested */)
378 378
379 // Selects between the given start and end offsets in the currently focused 379 // Selects between the given start and end offsets in the currently focused
380 // editable field. 380 // editable field.
381 IPC_MESSAGE_ROUTED2(FrameMsg_SetEditableSelectionOffsets, 381 IPC_MESSAGE_ROUTED2(FrameMsg_SetEditableSelectionOffsets,
382 int /* start */, 382 int /* start */,
383 int /* end */) 383 int /* end */)
384 384
385 // Requests a navigation to the supplied markup, in a fully sandboxed frame
nasko 2014/08/06 10:58:49 nit: let's be a bit more clear and use something l
oystein (OOO til 10th of July) 2014/08/06 22:36:19 Done.
386 // flagged as a transition.
387 IPC_MESSAGE_ROUTED1(FrameMsg_SetupTransitionView,
388 std::string /* markup */)
389
390 // Tells the renderer to hide the elements specified by the supplied CSS
391 // selector, and activates any exiting-transition stylesheets.
392 IPC_MESSAGE_ROUTED1(FrameMsg_BeginExitTransition,
393 std::string /* css_selector */)
394
385 // Tells the renderer to reload the frame, optionally ignoring the cache while 395 // Tells the renderer to reload the frame, optionally ignoring the cache while
386 // doing so. 396 // doing so.
387 IPC_MESSAGE_ROUTED1(FrameMsg_Reload, 397 IPC_MESSAGE_ROUTED1(FrameMsg_Reload,
388 bool /* ignore_cache */) 398 bool /* ignore_cache */)
389 399
390 // Notifies the color chooser client that the user selected a color. 400 // Notifies the color chooser client that the user selected a color.
391 IPC_MESSAGE_ROUTED2(FrameMsg_DidChooseColorResponse, unsigned, SkColor) 401 IPC_MESSAGE_ROUTED2(FrameMsg_DidChooseColorResponse, unsigned, SkColor)
392 402
393 // Notifies the color chooser client that the color chooser has ended. 403 // Notifies the color chooser client that the color chooser has ended.
394 IPC_MESSAGE_ROUTED1(FrameMsg_DidEndColorChooser, unsigned) 404 IPC_MESSAGE_ROUTED1(FrameMsg_DidEndColorChooser, unsigned)
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
674 SkColor /* theme_color */) 684 SkColor /* theme_color */)
675 685
676 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and 686 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and
677 // |endOffset| are the offsets of the selection in the returned |content|. 687 // |endOffset| are the offsets of the selection in the returned |content|.
678 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, 688 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse,
679 base::string16, /* content */ 689 base::string16, /* content */
680 size_t, /* startOffset */ 690 size_t, /* startOffset */
681 size_t /* endOffset */) 691 size_t /* endOffset */)
682 692
683 // Notifies the browser that the renderer has a pending navigation transition. 693 // Notifies the browser that the renderer has a pending navigation transition.
684 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, 694 // The string parameters are all UTF8.
695 IPC_MESSAGE_CONTROL4(FrameHostMsg_AddNavigationTransitionData,
685 int /* render_frame_id */, 696 int /* render_frame_id */,
686 bool /* is_transition */) 697 std::string /* origin */,
698 std::string /* selector */,
699 std::string /* markup */)
687 700
688 // Tells the browser to perform a navigation. 701 // Tells the browser to perform a navigation.
689 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, 702 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation,
690 FrameHostMsg_BeginNavigation_Params) 703 FrameHostMsg_BeginNavigation_Params)
691 704
692 // Sent once a paint happens after the first non empty layout. In other words 705 // Sent once a paint happens after the first non empty layout. In other words
693 // after the frame has painted something. 706 // after the frame has painted something.
694 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 707 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698