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_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 class RenderViewHostImpl; | 69 class RenderViewHostImpl; |
70 class RenderWidgetHostDelegate; | 70 class RenderWidgetHostDelegate; |
71 class RenderWidgetHostImpl; | 71 class RenderWidgetHostImpl; |
72 class RenderWidgetHostView; | 72 class RenderWidgetHostView; |
73 class RenderWidgetHostViewBase; | 73 class RenderWidgetHostViewBase; |
74 class ResourceRequestBody; | 74 class ResourceRequestBody; |
75 class ServiceRegistry; | 75 class ServiceRegistry; |
76 class StreamHandle; | 76 class StreamHandle; |
77 class TimeoutMonitor; | 77 class TimeoutMonitor; |
78 struct ContextMenuParams; | 78 struct ContextMenuParams; |
| 79 struct ExplodedFrameState; |
79 struct GlobalRequestID; | 80 struct GlobalRequestID; |
80 struct Referrer; | 81 struct Referrer; |
81 struct ResourceResponse; | 82 struct ResourceResponse; |
82 | 83 |
83 // Flag arguments for RenderFrameHost creation. | 84 // Flag arguments for RenderFrameHost creation. |
84 enum CreateRenderFrameFlags { | 85 enum CreateRenderFrameFlags { |
85 // The RFH will be initially placed on the swapped out hosts list. | 86 // The RFH will be initially placed on the swapped out hosts list. |
86 CREATE_RF_SWAPPED_OUT = 1 << 0, | 87 CREATE_RF_SWAPPED_OUT = 1 << 0, |
87 // The RenderFrame is initially hidden. | 88 // The RenderFrame is initially hidden. |
88 CREATE_RF_HIDDEN = 1 << 1, | 89 CREATE_RF_HIDDEN = 1 << 1, |
(...skipping 461 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
550 const base::TimeTicks& navigation_start); | 551 const base::TimeTicks& navigation_start); |
551 void OnDidFailProvisionalLoadWithError( | 552 void OnDidFailProvisionalLoadWithError( |
552 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); | 553 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params); |
553 void OnDidFailLoadWithError( | 554 void OnDidFailLoadWithError( |
554 const GURL& url, | 555 const GURL& url, |
555 int error_code, | 556 int error_code, |
556 const base::string16& error_description, | 557 const base::string16& error_description, |
557 bool was_ignored_by_handler); | 558 bool was_ignored_by_handler); |
558 void OnDidCommitProvisionalLoad(const IPC::Message& msg); | 559 void OnDidCommitProvisionalLoad(const IPC::Message& msg); |
559 void OnDidDropNavigation(); | 560 void OnDidDropNavigation(); |
560 void OnUpdateState(const PageState& state); | 561 void OnUpdateState(const ExplodedFrameState& state); |
561 void OnBeforeUnloadACK( | 562 void OnBeforeUnloadACK( |
562 bool proceed, | 563 bool proceed, |
563 const base::TimeTicks& renderer_before_unload_start_time, | 564 const base::TimeTicks& renderer_before_unload_start_time, |
564 const base::TimeTicks& renderer_before_unload_end_time); | 565 const base::TimeTicks& renderer_before_unload_end_time); |
565 void OnSwapOutACK(); | 566 void OnSwapOutACK(); |
566 void OnRenderProcessGone(int status, int error_code); | 567 void OnRenderProcessGone(int status, int error_code); |
567 void OnContextMenu(const ContextMenuParams& params); | 568 void OnContextMenu(const ContextMenuParams& params); |
568 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); | 569 void OnJavaScriptExecuteResponse(int id, const base::ListValue& result); |
569 void OnVisualStateResponse(uint64 id); | 570 void OnVisualStateResponse(uint64 id); |
570 void OnRunJavaScriptMessage(const base::string16& message, | 571 void OnRunJavaScriptMessage(const base::string16& message, |
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 | 874 |
874 // NOTE: This must be the last member. | 875 // NOTE: This must be the last member. |
875 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 876 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
876 | 877 |
877 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 878 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
878 }; | 879 }; |
879 | 880 |
880 } // namespace content | 881 } // namespace content |
881 | 882 |
882 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 883 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |