OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |