| 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 309 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 320 const std::string& encoding) OVERRIDE; | 320 const std::string& encoding) OVERRIDE; |
| 321 virtual void UpdateTargetURL(int32 page_id, const GURL& url) OVERRIDE; | 321 virtual void UpdateTargetURL(int32 page_id, const GURL& url) OVERRIDE; |
| 322 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; | 322 virtual void Close(RenderViewHost* render_view_host) OVERRIDE; |
| 323 virtual void RequestMove(const gfx::Rect& new_bounds) OVERRIDE; | 323 virtual void RequestMove(const gfx::Rect& new_bounds) OVERRIDE; |
| 324 virtual void SwappedOut(RenderViewHost* render_view_host) OVERRIDE; | 324 virtual void SwappedOut(RenderViewHost* render_view_host) OVERRIDE; |
| 325 virtual void DidStartLoading(RenderViewHost* render_view_host) OVERRIDE; | 325 virtual void DidStartLoading(RenderViewHost* render_view_host) OVERRIDE; |
| 326 virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE; | 326 virtual void DidStopLoading(RenderViewHost* render_view_host) OVERRIDE; |
| 327 virtual void DidCancelLoading() OVERRIDE; | 327 virtual void DidCancelLoading() OVERRIDE; |
| 328 virtual void DidChangeLoadProgress(double progress) OVERRIDE; | 328 virtual void DidChangeLoadProgress(double progress) OVERRIDE; |
| 329 virtual void DidDisownOpener(RenderViewHost* rvh) OVERRIDE; | 329 virtual void DidDisownOpener(RenderViewHost* rvh) OVERRIDE; |
| 330 virtual void DidAccessInitialDocument() OVERRIDE; | |
| 331 virtual void DocumentAvailableInMainFrame( | 330 virtual void DocumentAvailableInMainFrame( |
| 332 RenderViewHost* render_view_host) OVERRIDE; | 331 RenderViewHost* render_view_host) OVERRIDE; |
| 333 virtual void DocumentOnLoadCompletedInMainFrame( | 332 virtual void DocumentOnLoadCompletedInMainFrame( |
| 334 RenderViewHost* render_view_host, | 333 RenderViewHost* render_view_host, |
| 335 int32 page_id) OVERRIDE; | 334 int32 page_id) OVERRIDE; |
| 336 virtual void RequestOpenURL(RenderViewHost* rvh, | 335 virtual void RequestOpenURL(RenderViewHost* rvh, |
| 337 const GURL& url, | 336 const GURL& url, |
| 338 const Referrer& referrer, | 337 const Referrer& referrer, |
| 339 WindowOpenDisposition disposition, | 338 WindowOpenDisposition disposition, |
| 340 int64 source_frame_id, | 339 int64 source_frame_id, |
| (...skipping 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 873 // Maps the ids of pending image downloads to their callbacks | 872 // Maps the ids of pending image downloads to their callbacks |
| 874 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 873 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
| 875 ImageDownloadMap image_download_map_; | 874 ImageDownloadMap image_download_map_; |
| 876 | 875 |
| 877 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 876 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 878 }; | 877 }; |
| 879 | 878 |
| 880 } // namespace content | 879 } // namespace content |
| 881 | 880 |
| 882 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 881 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |