| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 #include <stdint.h> | 9 #include <stdint.h> |
| 10 | 10 |
| (...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 #endif | 86 #endif |
| 87 | 87 |
| 88 struct FrameMsg_CommitDataNetworkService_Params; | 88 struct FrameMsg_CommitDataNetworkService_Params; |
| 89 struct FrameMsg_MixedContentFound_Params; | 89 struct FrameMsg_MixedContentFound_Params; |
| 90 struct FrameMsg_PostMessage_Params; | 90 struct FrameMsg_PostMessage_Params; |
| 91 struct FrameMsg_SerializeAsMHTML_Params; | 91 struct FrameMsg_SerializeAsMHTML_Params; |
| 92 struct FrameMsg_TextTrackSettings_Params; | 92 struct FrameMsg_TextTrackSettings_Params; |
| 93 | 93 |
| 94 namespace blink { | 94 namespace blink { |
| 95 class WebContentDecryptionModule; | 95 class WebContentDecryptionModule; |
| 96 class WebLocalFrame; |
| 96 class WebPresentationClient; | 97 class WebPresentationClient; |
| 97 class WebPushClient; | 98 class WebPushClient; |
| 98 class WebSecurityOrigin; | 99 class WebSecurityOrigin; |
| 99 enum class WebCachePolicy; | 100 enum class WebCachePolicy; |
| 100 struct WebCompositionUnderline; | 101 struct WebCompositionUnderline; |
| 101 struct WebContextMenuData; | 102 struct WebContextMenuData; |
| 102 struct WebCursorInfo; | 103 struct WebCursorInfo; |
| 103 struct WebFindOptions; | 104 struct WebFindOptions; |
| 104 class WebRelatedAppsFetcher; | 105 class WebRelatedAppsFetcher; |
| 105 } // namespace blink | 106 } // namespace blink |
| (...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 819 void BindToWebFrame(blink::WebLocalFrame* web_frame); | 820 void BindToWebFrame(blink::WebLocalFrame* web_frame); |
| 820 | 821 |
| 821 // Functions to add and remove observers for this object. | 822 // Functions to add and remove observers for this object. |
| 822 void AddObserver(RenderFrameObserver* observer); | 823 void AddObserver(RenderFrameObserver* observer); |
| 823 void RemoveObserver(RenderFrameObserver* observer); | 824 void RemoveObserver(RenderFrameObserver* observer); |
| 824 | 825 |
| 825 bool IsLocalRoot() const; | 826 bool IsLocalRoot() const; |
| 826 const RenderFrameImpl* GetLocalRoot() const; | 827 const RenderFrameImpl* GetLocalRoot() const; |
| 827 | 828 |
| 828 // Builds and sends DidCommitProvisionalLoad to the host. | 829 // Builds and sends DidCommitProvisionalLoad to the host. |
| 829 void SendDidCommitProvisionalLoad(blink::WebFrame* frame, | 830 void SendDidCommitProvisionalLoad(blink::WebLocalFrame* frame, |
| 830 blink::WebHistoryCommitType commit_type); | 831 blink::WebHistoryCommitType commit_type); |
| 831 | 832 |
| 832 // Swaps the current frame into the frame tree, replacing the | 833 // Swaps the current frame into the frame tree, replacing the |
| 833 // RenderFrameProxy it is associated with. Return value indicates whether | 834 // RenderFrameProxy it is associated with. Return value indicates whether |
| 834 // the swap operation succeeded. This should only be used for provisional | 835 // the swap operation succeeded. This should only be used for provisional |
| 835 // frames associated with a proxy, while the proxy is still in the frame | 836 // frames associated with a proxy, while the proxy is still in the frame |
| 836 // tree. If the associated proxy has been detached before this is called, | 837 // tree. If the associated proxy has been detached before this is called, |
| 837 // this returns false and aborts the swap. | 838 // this returns false and aborts the swap. |
| 838 bool SwapIn(); | 839 bool SwapIn(); |
| 839 | 840 |
| (...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1416 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; | 1417 std::vector<media::RoutingTokenCallback> pending_routing_token_callbacks_; |
| 1417 | 1418 |
| 1418 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1419 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1419 | 1420 |
| 1420 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1421 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1421 }; | 1422 }; |
| 1422 | 1423 |
| 1423 } // namespace content | 1424 } // namespace content |
| 1424 | 1425 |
| 1425 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1426 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |