| 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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, | 564 FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, |
| 565 OnSetAccessibilityMode); | 565 OnSetAccessibilityMode); |
| 566 | 566 |
| 567 typedef std::map<GURL, double> HostZoomLevels; | 567 typedef std::map<GURL, double> HostZoomLevels; |
| 568 | 568 |
| 569 // Functions to add and remove observers for this object. | 569 // Functions to add and remove observers for this object. |
| 570 void AddObserver(RenderFrameObserver* observer); | 570 void AddObserver(RenderFrameObserver* observer); |
| 571 void RemoveObserver(RenderFrameObserver* observer); | 571 void RemoveObserver(RenderFrameObserver* observer); |
| 572 | 572 |
| 573 // Builds and sends DidCommitProvisionalLoad to the host. | 573 // Builds and sends DidCommitProvisionalLoad to the host. |
| 574 void SendDidCommitProvisionalLoad(blink::WebFrame* frame); | 574 void SendDidCommitProvisionalLoad(blink::WebFrame* frame, |
| 575 blink::WebHistoryCommitType commit_type); |
| 575 | 576 |
| 576 // IPC message handlers ------------------------------------------------------ | 577 // IPC message handlers ------------------------------------------------------ |
| 577 // | 578 // |
| 578 // The documentation for these functions should be in | 579 // The documentation for these functions should be in |
| 579 // content/common/*_messages.h for the message that the function is handling. | 580 // content/common/*_messages.h for the message that the function is handling. |
| 580 void OnBeforeUnload(); | 581 void OnBeforeUnload(); |
| 581 void OnSwapOut(int proxy_routing_id, | 582 void OnSwapOut(int proxy_routing_id, |
| 582 bool is_loading, | 583 bool is_loading, |
| 583 const FrameReplicationState& replicated_frame_state); | 584 const FrameReplicationState& replicated_frame_state); |
| 584 void OnStop(); | 585 void OnStop(); |
| (...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 874 #endif | 875 #endif |
| 875 | 876 |
| 876 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 877 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 877 | 878 |
| 878 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 879 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 879 }; | 880 }; |
| 880 | 881 |
| 881 } // namespace content | 882 } // namespace content |
| 882 | 883 |
| 883 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 884 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |