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

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

Issue 263973003: Move LoadProgressTracker to the browser process. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: yep Created 6 years, 7 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 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 FrameHostMsg_DidCommitProvisionalLoad_Params) 402 FrameHostMsg_DidCommitProvisionalLoad_Params)
403 403
404 // Notifies the browser that a document has been loaded. 404 // Notifies the browser that a document has been loaded.
405 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad) 405 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad)
406 406
407 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidFailLoadWithError, 407 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidFailLoadWithError,
408 GURL /* validated_url */, 408 GURL /* validated_url */,
409 int /* error_code */, 409 int /* error_code */,
410 base::string16 /* error_description */) 410 base::string16 /* error_description */)
411 411
412 // Sent when the renderer starts loading the page. This corresponds to 412 // Sent when the renderer starts loading the page. |to_different_document| will
413 // Blink's notion of the throbber starting. Note that sometimes you may get 413 // be true unless the load is a fragment navigation, or triggered by
414 // duplicates of these during a single load. 414 // history.pushState/replaceState.
415 // |to_different_document| will be true unless the load is a fragment
416 // navigation, or triggered by history.pushState/replaceState.
417 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading, 415 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading,
418 bool /* to_different_document */) 416 bool /* to_different_document */)
419 417
420 // Sent when the renderer is done loading a page. This corresponds to Blink's 418 // Sent when the renderer is done loading a page.
421 // notion of the throbber stopping.
422 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) 419 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading)
423 420
421 // Sent when the renderer changed the progress of a load.
422 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidChangeLoadProgress,
423 double /* load_progress */)
424
424 // Requests that the given URL be opened in the specified manner. 425 // Requests that the given URL be opened in the specified manner.
425 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) 426 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params)
426 427
427 // Notifies the browser that a frame finished loading. 428 // Notifies the browser that a frame finished loading.
428 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, 429 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad,
429 GURL /* validated_url */) 430 GURL /* validated_url */)
430 431
431 // Sent when after the onload handler has been invoked for the document 432 // Sent when after the onload handler has been invoked for the document
432 // in this frame. Sent for top-level frames. 433 // in this frame. Sent for top-level frames.
433 IPC_MESSAGE_ROUTED1(FrameHostMsg_DocumentOnLoadCompleted, 434 IPC_MESSAGE_ROUTED1(FrameHostMsg_DocumentOnLoadCompleted,
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
583 SkColor /* color */) 584 SkColor /* color */)
584 585
585 // Notifies the browser that media has started/stopped playing. 586 // Notifies the browser that media has started/stopped playing.
586 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification, 587 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification,
587 int64 /* player_cookie, distinguishes instances */, 588 int64 /* player_cookie, distinguishes instances */,
588 bool /* has_video */, 589 bool /* has_video */,
589 bool /* has_audio */) 590 bool /* has_audio */)
590 591
591 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, 592 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification,
592 int64 /* player_cookie, distinguishes instances */) 593 int64 /* player_cookie, distinguishes instances */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698