| 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 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 blink::WebHistoryCommitType commit_type, | 731 blink::WebHistoryCommitType commit_type, |
| 732 const blink::WebHistoryItem& item); | 732 const blink::WebHistoryItem& item); |
| 733 | 733 |
| 734 // IPC message handlers ------------------------------------------------------ | 734 // IPC message handlers ------------------------------------------------------ |
| 735 // | 735 // |
| 736 // The documentation for these functions should be in | 736 // The documentation for these functions should be in |
| 737 // content/common/*_messages.h for the message that the function is handling. | 737 // content/common/*_messages.h for the message that the function is handling. |
| 738 void OnNavigate(const CommonNavigationParams& common_params, | 738 void OnNavigate(const CommonNavigationParams& common_params, |
| 739 const StartNavigationParams& start_params, | 739 const StartNavigationParams& start_params, |
| 740 const RequestNavigationParams& request_params); | 740 const RequestNavigationParams& request_params); |
| 741 void OnBeforeUnload(); | 741 void OnBeforeUnload(bool is_reload); |
| 742 void OnSwapOut(int proxy_routing_id, | 742 void OnSwapOut(int proxy_routing_id, |
| 743 bool is_loading, | 743 bool is_loading, |
| 744 const FrameReplicationState& replicated_frame_state); | 744 const FrameReplicationState& replicated_frame_state); |
| 745 void OnDeleteFrame(); | 745 void OnDeleteFrame(); |
| 746 void OnStop(); | 746 void OnStop(); |
| 747 void OnShowContextMenu(const gfx::Point& location); | 747 void OnShowContextMenu(const gfx::Point& location); |
| 748 void OnContextMenuClosed(const CustomContextMenuContext& custom_context); | 748 void OnContextMenuClosed(const CustomContextMenuContext& custom_context); |
| 749 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context, | 749 void OnCustomContextMenuAction(const CustomContextMenuContext& custom_context, |
| 750 unsigned action); | 750 unsigned action); |
| 751 void OnUndo(); | 751 void OnUndo(); |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1237 #endif | 1237 #endif |
| 1238 | 1238 |
| 1239 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1239 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1240 | 1240 |
| 1241 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1241 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1242 }; | 1242 }; |
| 1243 | 1243 |
| 1244 } // namespace content | 1244 } // namespace content |
| 1245 | 1245 |
| 1246 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1246 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |