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

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

Issue 790843002: If the renderer drops a navigation, make sure the spinner doesn't spin endlessly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment Created 6 years 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
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 560 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 FrameHostMsg_DidCommitProvisionalLoad_Params) 571 FrameHostMsg_DidCommitProvisionalLoad_Params)
572 572
573 // Notifies the browser that a document has been loaded. 573 // Notifies the browser that a document has been loaded.
574 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad) 574 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad)
575 575
576 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidFailLoadWithError, 576 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidFailLoadWithError,
577 GURL /* validated_url */, 577 GURL /* validated_url */,
578 int /* error_code */, 578 int /* error_code */,
579 base::string16 /* error_description */) 579 base::string16 /* error_description */)
580 580
581 // Sent when the renderer drops a navigation.
Charlie Reis 2014/12/09 19:28:15 nit: drops a navigation -> decides to ignore a nav
Avi (use Gerrit) 2014/12/09 20:45:27 Done.
582 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidDropNavigation)
583
581 // Sent when the renderer starts loading the page. |to_different_document| will 584 // Sent when the renderer starts loading the page. |to_different_document| will
582 // be true unless the load is a fragment navigation, or triggered by 585 // be true unless the load is a fragment navigation, or triggered by
583 // history.pushState/replaceState. 586 // history.pushState/replaceState.
584 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, 587 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading,
585 bool /* to_different_document */) 588 bool /* to_different_document */)
586 589
587 // Sent when the renderer is done loading a page. 590 // Sent when the renderer is done loading a page.
588 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) 591 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading)
589 592
590 // Sent when the renderer changed the progress of a load. 593 // Sent when the renderer changed the progress of a load.
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint) 807 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFirstVisuallyNonEmptyPaint)
805 808
806 #if defined(OS_MACOSX) || defined(OS_ANDROID) 809 #if defined(OS_MACOSX) || defined(OS_ANDROID)
807 810
808 // Message to show/hide a popup menu using native controls. 811 // Message to show/hide a popup menu using native controls.
809 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup, 812 IPC_MESSAGE_ROUTED1(FrameHostMsg_ShowPopup,
810 FrameHostMsg_ShowPopup_Params) 813 FrameHostMsg_ShowPopup_Params)
811 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup) 814 IPC_MESSAGE_ROUTED0(FrameHostMsg_HidePopup)
812 815
813 #endif 816 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698