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

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: 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 IPC_MESSAGE_ROUTED1(FrameMsg_SetupTransitionView,
386 std::string /* markup */)
387
388 IPC_MESSAGE_ROUTED1(FrameMsg_BeginExitTransition,
389 std::string /* css_selector */)
390
385 // Tells the renderer to reload the frame, optionally ignoring the cache while 391 // Tells the renderer to reload the frame, optionally ignoring the cache while
386 // doing so. 392 // doing so.
387 IPC_MESSAGE_ROUTED1(FrameMsg_Reload, 393 IPC_MESSAGE_ROUTED1(FrameMsg_Reload,
388 bool /* ignore_cache */) 394 bool /* ignore_cache */)
389 395
390 // Notifies the color chooser client that the user selected a color. 396 // Notifies the color chooser client that the user selected a color.
391 IPC_MESSAGE_ROUTED2(FrameMsg_DidChooseColorResponse, unsigned, SkColor) 397 IPC_MESSAGE_ROUTED2(FrameMsg_DidChooseColorResponse, unsigned, SkColor)
392 398
393 // Notifies the color chooser client that the color chooser has ended. 399 // Notifies the color chooser client that the color chooser has ended.
394 IPC_MESSAGE_ROUTED1(FrameMsg_DidEndColorChooser, unsigned) 400 IPC_MESSAGE_ROUTED1(FrameMsg_DidEndColorChooser, unsigned)
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeThemeColor, 679 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeThemeColor,
674 SkColor /* theme_color */) 680 SkColor /* theme_color */)
675 681
676 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and 682 // Response for FrameMsg_TextSurroundingSelectionRequest, |startOffset| and
677 // |endOffset| are the offsets of the selection in the returned |content|. 683 // |endOffset| are the offsets of the selection in the returned |content|.
678 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse, 684 IPC_MESSAGE_ROUTED3(FrameHostMsg_TextSurroundingSelectionResponse,
679 base::string16, /* content */ 685 base::string16, /* content */
680 size_t, /* startOffset */ 686 size_t, /* startOffset */
681 size_t /* endOffset */) 687 size_t /* endOffset */)
682 688
683 // Notifies the browser that the renderer has a pending navigation transition. 689 // Notifies the browser that the renderer has a pending navigation transition.
nasko 2014/08/04 13:36:48 nit: Add a comment saying that the strings are in
oystein (OOO til 10th of July) 2014/08/05 19:02:49 Done.
684 IPC_MESSAGE_CONTROL2(FrameHostMsg_SetHasPendingTransitionRequest, 690 IPC_MESSAGE_CONTROL4(FrameHostMsg_AddNavigationTransitionData,
685 int /* render_frame_id */, 691 int /* render_frame_id */,
686 bool /* is_transition */) 692 std::string /* origin */,
nasko 2014/08/04 13:36:48 Any reason this is not a GURL?
oystein (OOO til 10th of July) 2014/08/05 19:02:49 The idea is that it can contain wildcards (*.googl
nasko 2014/08/06 10:58:49 No, GURL doesn't support that. Then the name "orig
oystein (OOO til 10th of July) 2014/08/06 22:36:19 Yeah that makes sense. Renamed to allowed_destinat
693 std::string /* selector */,
694 std::string /* markup */)
687 695
688 // Tells the browser to perform a navigation. 696 // Tells the browser to perform a navigation.
689 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, 697 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation,
690 FrameHostMsg_BeginNavigation_Params) 698 FrameHostMsg_BeginNavigation_Params)
691 699
692 // Sent once a paint happens after the first non empty layout. In other words 700 // Sent once a paint happens after the first non empty layout. In other words
693 // after the frame has painted something. 701 // after the frame has painted something.
694 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 702 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698