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

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

Issue 281653003: DRAFT CL: Add FrameNavigationEntry and track subframe session histories. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 5 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
« no previous file with comments | « content/renderer/history_entry.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 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
570 OnSetAccessibilityMode); 570 OnSetAccessibilityMode);
571 571
572 typedef std::map<GURL, double> HostZoomLevels; 572 typedef std::map<GURL, double> HostZoomLevels;
573 573
574 // Functions to add and remove observers for this object. 574 // Functions to add and remove observers for this object.
575 void AddObserver(RenderFrameObserver* observer); 575 void AddObserver(RenderFrameObserver* observer);
576 void RemoveObserver(RenderFrameObserver* observer); 576 void RemoveObserver(RenderFrameObserver* observer);
577 577
578 // Builds and sends DidCommitProvisionalLoad to the host. 578 // Builds and sends DidCommitProvisionalLoad to the host.
579 void SendDidCommitProvisionalLoad(blink::WebFrame* frame, 579 void SendDidCommitProvisionalLoad(blink::WebFrame* frame,
580 blink::WebHistoryCommitType commit_type); 580 blink::WebHistoryCommitType commit_type,
581 const blink::WebHistoryItem& item);
581 582
582 // IPC message handlers ------------------------------------------------------ 583 // IPC message handlers ------------------------------------------------------
583 // 584 //
584 // The documentation for these functions should be in 585 // The documentation for these functions should be in
585 // content/common/*_messages.h for the message that the function is handling. 586 // content/common/*_messages.h for the message that the function is handling.
586 void OnBeforeUnload(); 587 void OnBeforeUnload();
587 void OnSwapOut(int proxy_routing_id, 588 void OnSwapOut(int proxy_routing_id,
588 bool is_loading, 589 bool is_loading,
589 const FrameReplicationState& replicated_frame_state); 590 const FrameReplicationState& replicated_frame_state);
590 void OnStop(); 591 void OnStop();
(...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after
888 #endif 889 #endif
889 890
890 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; 891 base::WeakPtrFactory<RenderFrameImpl> weak_factory_;
891 892
892 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); 893 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl);
893 }; 894 };
894 895
895 } // namespace content 896 } // namespace content
896 897
897 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ 898 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_
OLDNEW
« no previous file with comments | « content/renderer/history_entry.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698