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

Side by Side Diff: content/browser/web_contents/web_contents_impl.h

Issue 1804613003: Remove unused method WebContents::CreateSwappedOutRenderView. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_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_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 6 #define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <functional> 10 #include <functional>
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 static WebContentsImpl* CreateWithOpener( 113 static WebContentsImpl* CreateWithOpener(
114 const WebContents::CreateParams& params, 114 const WebContents::CreateParams& params,
115 FrameTreeNode* opener); 115 FrameTreeNode* opener);
116 116
117 static std::vector<WebContentsImpl*> GetAllWebContents(); 117 static std::vector<WebContentsImpl*> GetAllWebContents();
118 118
119 static WebContentsImpl* FromFrameTreeNode(FrameTreeNode* frame_tree_node); 119 static WebContentsImpl* FromFrameTreeNode(FrameTreeNode* frame_tree_node);
120 static WebContents* FromRenderFrameHostID(int render_process_host_id, 120 static WebContents* FromRenderFrameHostID(int render_process_host_id,
121 int render_frame_host_id); 121 int render_frame_host_id);
122 122
123 // Creates a swapped out RenderView. This is used by the browser plugin to
124 // create a swapped out RenderView in the embedder render process for the
125 // guest, to expose the guest's window object to the embedder.
126 // This returns the routing ID of the newly created swapped out RenderView.
127 int CreateSwappedOutRenderView(SiteInstance* instance);
128
129 // Complex initialization here. Specifically needed to avoid having 123 // Complex initialization here. Specifically needed to avoid having
130 // members call back into our virtual functions in the constructor. 124 // members call back into our virtual functions in the constructor.
131 virtual void Init(const WebContents::CreateParams& params); 125 virtual void Init(const WebContents::CreateParams& params);
132 126
133 // Returns the SavePackage which manages the page saving job. May be NULL. 127 // Returns the SavePackage which manages the page saving job. May be NULL.
134 SavePackage* save_package() const { return save_package_.get(); } 128 SavePackage* save_package() const { return save_package_.get(); }
135 129
136 #if defined(OS_ANDROID) 130 #if defined(OS_ANDROID)
137 // In Android WebView, the RenderView needs created even there is no 131 // In Android WebView, the RenderView needs created even there is no
138 // navigation entry, this allows Android WebViews to use 132 // navigation entry, this allows Android WebViews to use
(...skipping 1217 matching lines...) Expand 10 before | Expand all | Expand 10 after
1356 // Adds/removes a callback called on creation of each new WebContents. 1350 // Adds/removes a callback called on creation of each new WebContents.
1357 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); 1351 static void AddCreatedCallbackForTesting(const CreatedCallback& callback);
1358 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); 1352 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback);
1359 1353
1360 DISALLOW_COPY_AND_ASSIGN(FriendZone); 1354 DISALLOW_COPY_AND_ASSIGN(FriendZone);
1361 }; 1355 };
1362 1356
1363 } // namespace content 1357 } // namespace content
1364 1358
1365 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1359 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698