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 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 const GURL& url) OVERRIDE; | 340 const GURL& url) OVERRIDE; |
341 virtual void DidRedirectProvisionalLoad( | 341 virtual void DidRedirectProvisionalLoad( |
342 RenderViewHost* render_view_host, | 342 RenderViewHost* render_view_host, |
343 int32 page_id, | 343 int32 page_id, |
344 const GURL& source_url, | 344 const GURL& source_url, |
345 const GURL& target_url) OVERRIDE; | 345 const GURL& target_url) OVERRIDE; |
346 virtual void DidFailProvisionalLoadWithError( | 346 virtual void DidFailProvisionalLoadWithError( |
347 RenderViewHost* render_view_host, | 347 RenderViewHost* render_view_host, |
348 const ViewHostMsg_DidFailProvisionalLoadWithError_Params& params) | 348 const ViewHostMsg_DidFailProvisionalLoadWithError_Params& params) |
349 OVERRIDE; | 349 OVERRIDE; |
| 350 virtual void DidGetResourceResponseStart( |
| 351 const ResourceRequestDetails& details) OVERRIDE; |
| 352 virtual void DidGetRedirectForResourceRequest( |
| 353 const ResourceRedirectDetails& details) OVERRIDE; |
350 virtual void DidNavigate( | 354 virtual void DidNavigate( |
351 RenderViewHost* render_view_host, | 355 RenderViewHost* render_view_host, |
352 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; | 356 const ViewHostMsg_FrameNavigate_Params& params) OVERRIDE; |
353 virtual void UpdateState(RenderViewHost* render_view_host, | 357 virtual void UpdateState(RenderViewHost* render_view_host, |
354 int32 page_id, | 358 int32 page_id, |
355 const PageState& page_state) OVERRIDE; | 359 const PageState& page_state) OVERRIDE; |
356 virtual void UpdateTitle(RenderViewHost* render_view_host, | 360 virtual void UpdateTitle(RenderViewHost* render_view_host, |
357 int32 page_id, | 361 int32 page_id, |
358 const string16& title, | 362 const string16& title, |
359 base::i18n::TextDirection title_direction) OVERRIDE; | 363 base::i18n::TextDirection title_direction) OVERRIDE; |
(...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
967 // Maps the ids of pending image downloads to their callbacks | 971 // Maps the ids of pending image downloads to their callbacks |
968 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; | 972 typedef std::map<int, ImageDownloadCallback> ImageDownloadMap; |
969 ImageDownloadMap image_download_map_; | 973 ImageDownloadMap image_download_map_; |
970 | 974 |
971 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 975 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
972 }; | 976 }; |
973 | 977 |
974 } // namespace content | 978 } // namespace content |
975 | 979 |
976 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 980 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |