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

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

Issue 107893003: Make the renderer-side prerendering code use RenderFrames instead of RenderViews. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: creis review comments Created 7 years 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_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 <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
275 275
276 // Implementation of PageNavigator. 276 // Implementation of PageNavigator.
277 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE; 277 virtual WebContents* OpenURL(const OpenURLParams& params) OVERRIDE;
278 278
279 // Implementation of IPC::Sender. 279 // Implementation of IPC::Sender.
280 virtual bool Send(IPC::Message* message) OVERRIDE; 280 virtual bool Send(IPC::Message* message) OVERRIDE;
281 281
282 // RenderFrameHostDelegate --------------------------------------------------- 282 // RenderFrameHostDelegate ---------------------------------------------------
283 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host, 283 virtual bool OnMessageReceived(RenderFrameHost* render_frame_host,
284 const IPC::Message& message) OVERRIDE; 284 const IPC::Message& message) OVERRIDE;
285 virtual void RenderFrameCreated(RenderFrameHost* render_frame_host) OVERRIDE;
286 virtual void RenderFrameDeleted(RenderFrameHost* render_frame_host) OVERRIDE;
285 287
286 // RenderViewHostDelegate ---------------------------------------------------- 288 // RenderViewHostDelegate ----------------------------------------------------
287 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE; 289 virtual RenderViewHostDelegateView* GetDelegateView() OVERRIDE;
288 virtual RenderViewHostDelegate::RendererManagement* 290 virtual RenderViewHostDelegate::RendererManagement*
289 GetRendererManagementDelegate() OVERRIDE; 291 GetRendererManagementDelegate() OVERRIDE;
290 virtual bool OnMessageReceived(RenderViewHost* render_view_host, 292 virtual bool OnMessageReceived(RenderViewHost* render_view_host,
291 const IPC::Message& message) OVERRIDE; 293 const IPC::Message& message) OVERRIDE;
292 virtual const GURL& GetURL() const OVERRIDE; 294 virtual const GURL& GetURL() const OVERRIDE;
293 virtual const GURL& GetVisibleURL() const OVERRIDE; 295 virtual const GURL& GetVisibleURL() const OVERRIDE;
294 virtual const GURL& GetLastCommittedURL() const OVERRIDE; 296 virtual const GURL& GetLastCommittedURL() const OVERRIDE;
(...skipping 711 matching lines...) Expand 10 before | Expand all | Expand 10 after
1006 // Maps the ids of pending image downloads to their callbacks 1008 // Maps the ids of pending image downloads to their callbacks
1007 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; 1009 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap;
1008 ImageDownloadMap image_download_map_; 1010 ImageDownloadMap image_download_map_;
1009 1011
1010 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1012 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1011 }; 1013 };
1012 1014
1013 } // namespace content 1015 } // namespace content
1014 1016
1015 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1017 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698