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

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

Issue 185993008: Moving DidFinishLoad from RenderView to RenderFrame. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes based on Charlie's review. Created 6 years, 9 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 337
338 // Sent when the renderer starts loading the page. This corresponds to 338 // Sent when the renderer starts loading the page. This corresponds to
339 // Blink's notion of the throbber starting. Note that sometimes you may get 339 // Blink's notion of the throbber starting. Note that sometimes you may get
340 // duplicates of these during a single load. 340 // duplicates of these during a single load.
341 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStartLoading) 341 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStartLoading)
342 342
343 // Sent when the renderer is done loading a page. This corresponds to Blink's 343 // Sent when the renderer is done loading a page. This corresponds to Blink's
344 // notion of the throbber stopping. 344 // notion of the throbber stopping.
345 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) 345 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading)
346 346
347 // Notifies the browser that a frame finished loading.
348 IPC_MESSAGE_ROUTED2(FrameHostMsg_DidFinishLoad,
349 GURL /* validated_url */,
350 bool /* is_main_frame */)
351
347 // Following message is used to communicate the values received by the 352 // Following message is used to communicate the values received by the
348 // callback binding the JS to Cpp. 353 // callback binding the JS to Cpp.
349 // An instance of browser that has an automation host listening to it can 354 // An instance of browser that has an automation host listening to it can
350 // have a javascript send a native value (string, number, boolean) to the 355 // have a javascript send a native value (string, number, boolean) to the
351 // listener in Cpp. (DomAutomationController) 356 // listener in Cpp. (DomAutomationController)
352 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse, 357 IPC_MESSAGE_ROUTED2(FrameHostMsg_DomOperationResponse,
353 std::string /* json_string */, 358 std::string /* json_string */,
354 int /* automation_id */) 359 int /* automation_id */)
355 360
356 // Sent to the browser when the renderer detects it is blocked on a pepper 361 // Sent to the browser when the renderer detects it is blocked on a pepper
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
426 // content area, and a context menu should be shown for it. The params 431 // content area, and a context menu should be shown for it. The params
427 // object contains information about the node(s) that were selected when the 432 // object contains information about the node(s) that were selected when the
428 // user right clicked. 433 // user right clicked.
429 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams) 434 IPC_MESSAGE_ROUTED1(FrameHostMsg_ContextMenu, content::ContextMenuParams)
430 435
431 // Initial drawing parameters for a child frame that has been swapped out to 436 // Initial drawing parameters for a child frame that has been swapped out to
432 // another process. 437 // another process.
433 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame, 438 IPC_MESSAGE_ROUTED2(FrameHostMsg_InitializeChildFrame,
434 gfx::Rect /* frame_rect */, 439 gfx::Rect /* frame_rect */,
435 float /* scale_factor */) 440 float /* scale_factor */)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/common/view_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698