OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |