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

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

Issue 161113002: Fix pushState causing stop/reload button and favicon to flicker. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad) 365 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidFinishDocumentLoad)
366 366
367 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidFailLoadWithError, 367 IPC_MESSAGE_ROUTED3(FrameHostMsg_DidFailLoadWithError,
368 GURL /* validated_url */, 368 GURL /* validated_url */,
369 int /* error_code */, 369 int /* error_code */,
370 base::string16 /* error_description */) 370 base::string16 /* error_description */)
371 371
372 // Sent when the renderer starts loading the page. This corresponds to 372 // Sent when the renderer starts loading the page. This corresponds to
373 // Blink's notion of the throbber starting. Note that sometimes you may get 373 // Blink's notion of the throbber starting. Note that sometimes you may get
374 // duplicates of these during a single load. 374 // duplicates of these during a single load.
375 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStartLoading) 375 // |to_different_document| will be true unless the load is a fragment
376 // navigation, or triggered by history.pushState/replaceState.
377 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidStartLoading,
378 bool /* to_different_document */)
376 379
377 // Sent when the renderer is done loading a page. This corresponds to Blink's 380 // Sent when the renderer is done loading a page. This corresponds to Blink's
378 // notion of the throbber stopping. 381 // notion of the throbber stopping.
379 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading) 382 IPC_MESSAGE_ROUTED0(FrameHostMsg_DidStopLoading)
380 383
381 // Requests that the given URL be opened in the specified manner. 384 // Requests that the given URL be opened in the specified manner.
382 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params) 385 IPC_MESSAGE_ROUTED1(FrameHostMsg_OpenURL, FrameHostMsg_OpenURL_Params)
383 386
384 // Notifies the browser that a frame finished loading. 387 // Notifies the browser that a frame finished loading.
385 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad, 388 IPC_MESSAGE_ROUTED1(FrameHostMsg_DidFinishLoad,
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
484 float /* scale_factor */) 487 float /* scale_factor */)
485 488
486 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was 489 // Response for FrameMsg_JavaScriptExecuteRequest, sent when a reply was
487 // requested. The ID is the parameter supplied to 490 // requested. The ID is the parameter supplied to
488 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the 491 // FrameMsg_JavaScriptExecuteRequest. The result has the value returned by the
489 // script as its only element, one of Null, Boolean, Integer, Real, Date, or 492 // script as its only element, one of Null, Boolean, Integer, Real, Date, or
490 // String. 493 // String.
491 IPC_MESSAGE_ROUTED2(FrameHostMsg_JavaScriptExecuteResponse, 494 IPC_MESSAGE_ROUTED2(FrameHostMsg_JavaScriptExecuteResponse,
492 int /* id */, 495 int /* id */,
493 base::ListValue /* result */) 496 base::ListValue /* result */)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl_browsertest.cc ('k') | content/public/browser/web_contents_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698