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

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

Issue 358973005: Navigation transitions: Pass is_transition_navigation flag up to the embedder (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Test fix 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 int32 /* new_routing_id */) 431 int32 /* new_routing_id */)
432 432
433 // Sent by the renderer to the parent RenderFrameHost when a child frame is 433 // Sent by the renderer to the parent RenderFrameHost when a child frame is
434 // detached from the DOM. 434 // detached from the DOM.
435 IPC_MESSAGE_ROUTED0(FrameHostMsg_Detach) 435 IPC_MESSAGE_ROUTED0(FrameHostMsg_Detach)
436 436
437 // Sent by the renderer when the frame becomes focused. 437 // Sent by the renderer when the frame becomes focused.
438 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused) 438 IPC_MESSAGE_ROUTED0(FrameHostMsg_FrameFocused)
439 439
440 // Sent when the renderer starts a provisional load for a frame. 440 // Sent when the renderer starts a provisional load for a frame.
441 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartProvisionalLoadForFrame, 441 // |is_transition_navigation| signals that the frame has defined transition
442 GURL /* url */) 442 // elements which can be animated by the navigation destination to provide
443 // a transition effect during load.
444 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidStartProvisionalLoadForFrame,
445 GURL /* url */,
446 bool /* is_transition_navigation */)
443 447
444 // Sent when the renderer fails a provisional load with an error. 448 // Sent when the renderer fails a provisional load with an error.
445 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError, 449 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFailProvisionalLoadWithError,
446 FrameHostMsg_DidFailProvisionalLoadWithError_Params) 450 FrameHostMsg_DidFailProvisionalLoadWithError_Params)
447 451
448 // Sent when a provisional load on the main frame redirects. 452 // Sent when a provisional load on the main frame redirects.
449 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidRedirectProvisionalLoad, 453 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidRedirectProvisionalLoad,
450 int /* page_id */, 454 int /* page_id */,
451 GURL /* source_url*/, 455 GURL /* source_url*/,
452 GURL /* target_url */) 456 GURL /* target_url */)
(...skipping 228 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 int /* render_frame_id */, 685 int /* render_frame_id */,
682 bool /* is_transition */) 686 bool /* is_transition */)
683 687
684 // Tells the browser to perform a navigation. 688 // Tells the browser to perform a navigation.
685 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation, 689 IPC_MESSAGE_ROUTED1(FrameHostMsg_BeginNavigation,
686 FrameHostMsg_BeginNavigation_Params) 690 FrameHostMsg_BeginNavigation_Params)
687 691
688 // Sent once a paint happens after the first non empty layout. In other words 692 // Sent once a paint happens after the first non empty layout. In other words
689 // after the frame has painted something. 693 // after the frame has painted something.
690 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 694 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698