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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
174 class CONTENT_EXPORT RenderViewImpl | 174 class CONTENT_EXPORT RenderViewImpl |
175 : public RenderWidget, | 175 : public RenderWidget, |
176 NON_EXPORTED_BASE(public blink::WebViewClient), | 176 NON_EXPORTED_BASE(public blink::WebViewClient), |
177 NON_EXPORTED_BASE(public blink::WebFrameClient), | 177 NON_EXPORTED_BASE(public blink::WebFrameClient), |
178 NON_EXPORTED_BASE(public blink::WebPageSerializerClient), | 178 NON_EXPORTED_BASE(public blink::WebPageSerializerClient), |
179 public RenderView, | 179 public RenderView, |
180 NON_EXPORTED_BASE(public WebMediaPlayerDelegate), | 180 NON_EXPORTED_BASE(public WebMediaPlayerDelegate), |
181 public base::SupportsWeakPtr<RenderViewImpl> { | 181 public base::SupportsWeakPtr<RenderViewImpl> { |
182 public: | 182 public: |
183 // Creates a new RenderView. |opener_id| is the routing ID of the RenderView | 183 // Creates a new RenderView. |opener_id| is the routing ID of the RenderView |
184 // responsible for creating this RenderView. | 184 // responsible for creating this RenderView. Note that if the original opener |
185 // has been closed, |window_was_created_with_opener| will be true and | |
186 // |opened_id| will be MSG_ROUTING_NONE. | |
nasko
2014/04/08 23:57:20
nit: opener_id
davidben
2014/04/09 16:43:19
Done.
| |
185 static RenderViewImpl* Create(int32 opener_id, | 187 static RenderViewImpl* Create(int32 opener_id, |
188 bool window_was_created_with_opener, | |
186 const RendererPreferences& renderer_prefs, | 189 const RendererPreferences& renderer_prefs, |
187 const WebPreferences& webkit_prefs, | 190 const WebPreferences& webkit_prefs, |
188 int32 routing_id, | 191 int32 routing_id, |
189 int32 main_frame_routing_id, | 192 int32 main_frame_routing_id, |
190 int32 surface_id, | 193 int32 surface_id, |
191 int64 session_storage_namespace_id, | 194 int64 session_storage_namespace_id, |
192 const base::string16& frame_name, | 195 const base::string16& frame_name, |
193 bool is_renderer_created, | 196 bool is_renderer_created, |
194 bool swapped_out, | 197 bool swapped_out, |
195 bool hidden, | 198 bool hidden, |
(...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1398 // use the Observer interface to filter IPC messages and receive frame change | 1401 // use the Observer interface to filter IPC messages and receive frame change |
1399 // notifications. | 1402 // notifications. |
1400 // --------------------------------------------------------------------------- | 1403 // --------------------------------------------------------------------------- |
1401 | 1404 |
1402 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); | 1405 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); |
1403 }; | 1406 }; |
1404 | 1407 |
1405 } // namespace content | 1408 } // namespace content |
1406 | 1409 |
1407 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ | 1410 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ |
OLD | NEW |