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

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: recomment 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_ROUTED0(FrameHostMsg_DocumentOnLoadCompleted) 434 IPC_MESSAGE_ROUTED0(FrameHostMsg_DocumentOnLoadCompleted)
(...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
594 SkColor /* color */) 595 SkColor /* color */)
595 596
596 // Notifies the browser that media has started/stopped playing. 597 // Notifies the browser that media has started/stopped playing.
597 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification, 598 IPC_MESSAGE_ROUTED3(FrameHostMsg_MediaPlayingNotification,
598 int64 /* player_cookie, distinguishes instances */, 599 int64 /* player_cookie, distinguishes instances */,
599 bool /* has_video */, 600 bool /* has_video */,
600 bool /* has_audio */) 601 bool /* has_audio */)
601 602
602 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification, 603 IPC_MESSAGE_ROUTED1(FrameHostMsg_MediaPausedNotification,
603 int64 /* player_cookie, distinguishes instances */) 604 int64 /* player_cookie, distinguishes instances */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698