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

Side by Side Diff: content/renderer/render_frame_impl.h

Issue 1184423005: Add item and document sequence numbers to FrameNavigationEntry. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add const; git cl format Created 5 years, 6 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
« no previous file with comments | « content/public/common/frame_navigate_params.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 5 #ifndef CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 6 #define CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 }; 597 };
598 598
599 typedef std::map<GURL, double> HostZoomLevels; 599 typedef std::map<GURL, double> HostZoomLevels;
600 600
601 // Functions to add and remove observers for this object. 601 // Functions to add and remove observers for this object.
602 void AddObserver(RenderFrameObserver* observer); 602 void AddObserver(RenderFrameObserver* observer);
603 void RemoveObserver(RenderFrameObserver* observer); 603 void RemoveObserver(RenderFrameObserver* observer);
604 604
605 // Builds and sends DidCommitProvisionalLoad to the host. 605 // Builds and sends DidCommitProvisionalLoad to the host.
606 void SendDidCommitProvisionalLoad(blink::WebFrame* frame, 606 void SendDidCommitProvisionalLoad(blink::WebFrame* frame,
607 blink::WebHistoryCommitType commit_type); 607 blink::WebHistoryCommitType commit_type,
608 const blink::WebHistoryItem& item);
608 609
609 // IPC message handlers ------------------------------------------------------ 610 // IPC message handlers ------------------------------------------------------
610 // 611 //
611 // The documentation for these functions should be in 612 // The documentation for these functions should be in
612 // content/common/*_messages.h for the message that the function is handling. 613 // content/common/*_messages.h for the message that the function is handling.
613 void OnBeforeUnload(); 614 void OnBeforeUnload();
614 void OnSwapOut(int proxy_routing_id, 615 void OnSwapOut(int proxy_routing_id,
615 bool is_loading, 616 bool is_loading,
616 const FrameReplicationState& replicated_frame_state); 617 const FrameReplicationState& replicated_frame_state);
617 void OnStop(); 618 void OnStop();
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
981 #endif 982 #endif
982 983
983 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 984 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
984 985
985 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 986 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
986 }; 987 };
987 988
988 } // namespace content 989 } // namespace content
989 990
990 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 991 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/public/common/frame_navigate_params.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698