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

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: sync 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 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
1013 // Maps the ids of pending image downloads to their callbacks 1015 // Maps the ids of pending image downloads to their callbacks
1014 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; 1016 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap;
1015 ImageDownloadMap image_download_map_; 1017 ImageDownloadMap image_download_map_;
1016 1018
1017 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); 1019 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl);
1018 }; 1020 };
1019 1021
1020 } // namespace content 1022 } // namespace content
1021 1023
1022 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ 1024 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698