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

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: nasko comments. (Also a rebase. Oops.) 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
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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| 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
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_
OLDNEW
« no previous file with comments | « content/renderer/render_thread_impl.cc ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698