| 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 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 struct RequestNavigationParams; | 127 struct RequestNavigationParams; |
| 128 struct ResourceResponseHead; | 128 struct ResourceResponseHead; |
| 129 struct StartNavigationParams; | 129 struct StartNavigationParams; |
| 130 struct StreamOverrideParameters; | 130 struct StreamOverrideParameters; |
| 131 class VRDispatcher; | 131 class VRDispatcher; |
| 132 | 132 |
| 133 class CONTENT_EXPORT RenderFrameImpl | 133 class CONTENT_EXPORT RenderFrameImpl |
| 134 : public RenderFrame, | 134 : public RenderFrame, |
| 135 NON_EXPORTED_BASE(public blink::WebFrameClient), | 135 NON_EXPORTED_BASE(public blink::WebFrameClient), |
| 136 NON_EXPORTED_BASE(public media::WebMediaPlayerDelegate), | 136 NON_EXPORTED_BASE(public media::WebMediaPlayerDelegate), |
| 137 NON_EXPORTED_BASE(public blink::WebPageSerializerClient) { | 137 NON_EXPORTED_BASE(public blink::WebPageSerializerClient), |
| 138 public base::SupportsWeakPtr<RenderFrameImpl> { |
| 138 public: | 139 public: |
| 139 // Creates a new RenderFrame as the main frame of |render_view|. | 140 // Creates a new RenderFrame as the main frame of |render_view|. |
| 140 static RenderFrameImpl* CreateMainFrame(RenderViewImpl* render_view, | 141 static RenderFrameImpl* CreateMainFrame(RenderViewImpl* render_view, |
| 141 int32 routing_id); | 142 int32 routing_id); |
| 142 | 143 |
| 143 // Creates a new RenderFrame with |routing_id|. If |proxy_routing_id| is | 144 // Creates a new RenderFrame with |routing_id|. If |proxy_routing_id| is |
| 144 // MSG_ROUTING_NONE, it creates the Blink WebLocalFrame and inserts it into | 145 // MSG_ROUTING_NONE, it creates the Blink WebLocalFrame and inserts it into |
| 145 // the frame tree after the frame identified by | 146 // the frame tree after the frame identified by |
| 146 // |previous_sibling_routing_id|, or as the first child if | 147 // |previous_sibling_routing_id|, or as the first child if |
| 147 // |previous_sibling_routing_id| is MSG_ROUTING_NONE. Otherwise, the frame is | 148 // |previous_sibling_routing_id| is MSG_ROUTING_NONE. Otherwise, the frame is |
| (...skipping 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1062 #endif | 1063 #endif |
| 1063 | 1064 |
| 1064 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; | 1065 base::WeakPtrFactory<RenderFrameImpl> weak_factory_; |
| 1065 | 1066 |
| 1066 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); | 1067 DISALLOW_COPY_AND_ASSIGN(RenderFrameImpl); |
| 1067 }; | 1068 }; |
| 1068 | 1069 |
| 1069 } // namespace content | 1070 } // namespace content |
| 1070 | 1071 |
| 1071 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ | 1072 #endif // CONTENT_RENDERER_RENDER_FRAME_IMPL_H_ |
| OLD | NEW |