| 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 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 463 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE; | 463 virtual gfx::NativeViewAccessible GetParentNativeViewAccessible() OVERRIDE; |
| 464 #endif | 464 #endif |
| 465 | 465 |
| 466 // RenderViewHostManager::Delegate ------------------------------------------- | 466 // RenderViewHostManager::Delegate ------------------------------------------- |
| 467 | 467 |
| 468 virtual bool CreateRenderViewForRenderManager( | 468 virtual bool CreateRenderViewForRenderManager( |
| 469 RenderViewHost* render_view_host, int opener_route_id) OVERRIDE; | 469 RenderViewHost* render_view_host, int opener_route_id) OVERRIDE; |
| 470 virtual void BeforeUnloadFiredFromRenderManager( | 470 virtual void BeforeUnloadFiredFromRenderManager( |
| 471 bool proceed, const base::TimeTicks& proceed_time, | 471 bool proceed, const base::TimeTicks& proceed_time, |
| 472 bool* proceed_to_fire_unload) OVERRIDE; | 472 bool* proceed_to_fire_unload) OVERRIDE; |
| 473 virtual void RenderViewGoneFromRenderManager( | 473 virtual void RenderProcessGoneFromRenderManager( |
| 474 RenderViewHost* render_view_host) OVERRIDE; | 474 RenderViewHost* render_view_host) OVERRIDE; |
| 475 virtual void UpdateRenderViewSizeForRenderManager() OVERRIDE; | 475 virtual void UpdateRenderViewSizeForRenderManager() OVERRIDE; |
| 476 virtual void NotifySwappedFromRenderManager( | 476 virtual void NotifySwappedFromRenderManager( |
| 477 RenderViewHost* old_render_view_host) OVERRIDE; | 477 RenderViewHost* old_render_view_host) OVERRIDE; |
| 478 virtual int CreateOpenerRenderViewsForRenderManager( | 478 virtual int CreateOpenerRenderViewsForRenderManager( |
| 479 SiteInstance* instance) OVERRIDE; | 479 SiteInstance* instance) OVERRIDE; |
| 480 virtual NavigationControllerImpl& | 480 virtual NavigationControllerImpl& |
| 481 GetControllerForRenderManager() OVERRIDE; | 481 GetControllerForRenderManager() OVERRIDE; |
| 482 virtual WebUIImpl* CreateWebUIForRenderManager(const GURL& url) OVERRIDE; | 482 virtual WebUIImpl* CreateWebUIForRenderManager(const GURL& url) OVERRIDE; |
| 483 virtual NavigationEntry* | 483 virtual NavigationEntry* |
| (...skipping 456 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 940 // Maps the ids of pending image downloads to their callbacks | 940 // Maps the ids of pending image downloads to their callbacks |
| 941 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 941 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
| 942 ImageDownloadMap image_download_map_; | 942 ImageDownloadMap image_download_map_; |
| 943 | 943 |
| 944 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 944 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 945 }; | 945 }; |
| 946 | 946 |
| 947 } // namespace content | 947 } // namespace content |
| 948 | 948 |
| 949 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 949 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |