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 <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 | 10 |
(...skipping 741 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
752 void OnSetHasReceivedUserGesture(); | 752 void OnSetHasReceivedUserGesture(); |
753 | 753 |
754 #if defined(USE_EXTERNAL_POPUP_MENU) | 754 #if defined(USE_EXTERNAL_POPUP_MENU) |
755 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); | 755 void OnShowPopup(const FrameHostMsg_ShowPopup_Params& params); |
756 void OnHidePopup(); | 756 void OnHidePopup(); |
757 #endif | 757 #endif |
758 void OnShowCreatedWindow(int pending_widget_routing_id, | 758 void OnShowCreatedWindow(int pending_widget_routing_id, |
759 WindowOpenDisposition disposition, | 759 WindowOpenDisposition disposition, |
760 const gfx::Rect& initial_rect, | 760 const gfx::Rect& initial_rect, |
761 bool user_gesture); | 761 bool user_gesture); |
| 762 void OnSetPageScaleFactorForSubframes(double page_scale_factor); |
762 | 763 |
763 // Registers Mojo interfaces that this frame host makes available. | 764 // Registers Mojo interfaces that this frame host makes available. |
764 void RegisterMojoInterfaces(); | 765 void RegisterMojoInterfaces(); |
765 | 766 |
766 // Resets any waiting state of this RenderFrameHost that is no longer | 767 // Resets any waiting state of this RenderFrameHost that is no longer |
767 // relevant. | 768 // relevant. |
768 void ResetWaitingState(); | 769 void ResetWaitingState(); |
769 | 770 |
770 // Returns whether the given URL is allowed to commit in the current process. | 771 // Returns whether the given URL is allowed to commit in the current process. |
771 // This is a more conservative check than RenderProcessHost::FilterURL, since | 772 // This is a more conservative check than RenderProcessHost::FilterURL, since |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1141 | 1142 |
1142 // NOTE: This must be the last member. | 1143 // NOTE: This must be the last member. |
1143 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; | 1144 base::WeakPtrFactory<RenderFrameHostImpl> weak_ptr_factory_; |
1144 | 1145 |
1145 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); | 1146 DISALLOW_COPY_AND_ASSIGN(RenderFrameHostImpl); |
1146 }; | 1147 }; |
1147 | 1148 |
1148 } // namespace content | 1149 } // namespace content |
1149 | 1150 |
1150 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ | 1151 #endif // CONTENT_BROWSER_FRAME_HOST_RENDER_FRAME_HOST_IMPL_H_ |
OLD | NEW |