| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_VIEW_IMPL_H_ | 5 #ifndef CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 6 #define CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| 7 | 7 |
| 8 #include <deque> | 8 #include <deque> |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 class CONTENT_EXPORT RenderViewImpl | 175 class CONTENT_EXPORT RenderViewImpl |
| 176 : public RenderWidget, | 176 : public RenderWidget, |
| 177 NON_EXPORTED_BASE(public blink::WebViewClient), | 177 NON_EXPORTED_BASE(public blink::WebViewClient), |
| 178 NON_EXPORTED_BASE(public blink::WebFrameClient), | 178 NON_EXPORTED_BASE(public blink::WebFrameClient), |
| 179 NON_EXPORTED_BASE(public blink::WebPageSerializerClient), | 179 NON_EXPORTED_BASE(public blink::WebPageSerializerClient), |
| 180 public RenderView, | 180 public RenderView, |
| 181 NON_EXPORTED_BASE(public WebMediaPlayerDelegate), | 181 NON_EXPORTED_BASE(public WebMediaPlayerDelegate), |
| 182 public base::SupportsWeakPtr<RenderViewImpl> { | 182 public base::SupportsWeakPtr<RenderViewImpl> { |
| 183 public: | 183 public: |
| 184 // Creates a new RenderView. |opener_id| is the routing ID of the RenderView | 184 // Creates a new RenderView. |opener_id| is the routing ID of the RenderView |
| 185 // responsible for creating this RenderView. | 185 // responsible for creating this RenderView. Note that if the original opener |
| 186 // has been closed, |window_was_created_with_opener| will be true and |
| 187 // |opener_id| will be MSG_ROUTING_NONE. |
| 186 static RenderViewImpl* Create(int32 opener_id, | 188 static RenderViewImpl* Create(int32 opener_id, |
| 189 bool window_was_created_with_opener, |
| 187 const RendererPreferences& renderer_prefs, | 190 const RendererPreferences& renderer_prefs, |
| 188 const WebPreferences& webkit_prefs, | 191 const WebPreferences& webkit_prefs, |
| 189 int32 routing_id, | 192 int32 routing_id, |
| 190 int32 main_frame_routing_id, | 193 int32 main_frame_routing_id, |
| 191 int32 surface_id, | 194 int32 surface_id, |
| 192 int64 session_storage_namespace_id, | 195 int64 session_storage_namespace_id, |
| 193 const base::string16& frame_name, | 196 const base::string16& frame_name, |
| 194 bool is_renderer_created, | 197 bool is_renderer_created, |
| 195 bool swapped_out, | 198 bool swapped_out, |
| 196 bool hidden, | 199 bool hidden, |
| (...skipping 1133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1330 // use the Observer interface to filter IPC messages and receive frame change | 1333 // use the Observer interface to filter IPC messages and receive frame change |
| 1331 // notifications. | 1334 // notifications. |
| 1332 // --------------------------------------------------------------------------- | 1335 // --------------------------------------------------------------------------- |
| 1333 | 1336 |
| 1334 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1337 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
| 1335 }; | 1338 }; |
| 1336 | 1339 |
| 1337 } // namespace content | 1340 } // namespace content |
| 1338 | 1341 |
| 1339 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1342 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
| OLD | NEW |