| 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 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 506 const GURL& validated_url, | 506 const GURL& validated_url, |
| 507 bool is_error_page, | 507 bool is_error_page, |
| 508 bool is_iframe_srcdoc) override; | 508 bool is_iframe_srcdoc) override; |
| 509 void DidFailProvisionalLoadWithError( | 509 void DidFailProvisionalLoadWithError( |
| 510 RenderFrameHostImpl* render_frame_host, | 510 RenderFrameHostImpl* render_frame_host, |
| 511 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) | 511 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) |
| 512 override; | 512 override; |
| 513 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, | 513 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, |
| 514 const GURL& url, | 514 const GURL& url, |
| 515 int error_code, | 515 int error_code, |
| 516 const base::string16& error_description) override; | 516 const base::string16& error_description, |
| 517 bool was_ignored_by_handler) override; |
| 517 void DidCommitProvisionalLoad(RenderFrameHostImpl* render_frame_host, | 518 void DidCommitProvisionalLoad(RenderFrameHostImpl* render_frame_host, |
| 518 const GURL& url, | 519 const GURL& url, |
| 519 ui::PageTransition transition_type) override; | 520 ui::PageTransition transition_type) override; |
| 520 void DidNavigateMainFramePreCommit(bool navigation_is_within_page) override; | 521 void DidNavigateMainFramePreCommit(bool navigation_is_within_page) override; |
| 521 void DidNavigateMainFramePostCommit( | 522 void DidNavigateMainFramePostCommit( |
| 522 RenderFrameHostImpl* render_frame_host, | 523 RenderFrameHostImpl* render_frame_host, |
| 523 const LoadCommittedDetails& details, | 524 const LoadCommittedDetails& details, |
| 524 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; | 525 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; |
| 525 void DidNavigateAnyFramePostCommit( | 526 void DidNavigateAnyFramePostCommit( |
| 526 RenderFrameHostImpl* render_frame_host, | 527 RenderFrameHostImpl* render_frame_host, |
| (...skipping 746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1273 // Adds/removes a callback called on creation of each new WebContents. | 1274 // Adds/removes a callback called on creation of each new WebContents. |
| 1274 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1275 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1275 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1276 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1276 | 1277 |
| 1277 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1278 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1278 }; | 1279 }; |
| 1279 | 1280 |
| 1280 } // namespace content | 1281 } // namespace content |
| 1281 | 1282 |
| 1282 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1283 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |