Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(44)

Side by Side Diff: content/renderer/render_view_impl.h

Issue 212703005: Preserve Page::openedByDOM state across process swaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: creis comments. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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| while be true while
nasko 2014/04/08 22:43:25 nit: This sentence doesn't read very easily and I'
davidben 2014/04/08 23:48:23 It means I'm very bad at typing. :-) Fixed.
186 // |opened_id| is MSG_ROUTING_NONE.
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 1220 matching lines...) Expand 10 before | Expand all | Expand 10 after
1416 // use the Observer interface to filter IPC messages and receive frame change 1419 // use the Observer interface to filter IPC messages and receive frame change
1417 // notifications. 1420 // notifications.
1418 // --------------------------------------------------------------------------- 1421 // ---------------------------------------------------------------------------
1419 1422
1420 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl); 1423 DISALLOW_COPY_AND_ASSIGN(RenderViewImpl);
1421 }; 1424 };
1422 1425
1423 } // namespace content 1426 } // namespace content
1424 1427
1425 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_ 1428 #endif // CONTENT_RENDERER_RENDER_VIEW_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698