| 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 496 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 const GURL& validated_url, | 507 const GURL& validated_url, |
| 508 bool is_error_page, | 508 bool is_error_page, |
| 509 bool is_iframe_srcdoc) override; | 509 bool is_iframe_srcdoc) override; |
| 510 void DidFailProvisionalLoadWithError( | 510 void DidFailProvisionalLoadWithError( |
| 511 RenderFrameHostImpl* render_frame_host, | 511 RenderFrameHostImpl* render_frame_host, |
| 512 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) | 512 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) |
| 513 override; | 513 override; |
| 514 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, | 514 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, |
| 515 const GURL& url, | 515 const GURL& url, |
| 516 int error_code, | 516 int error_code, |
| 517 const base::string16& error_description) override; | 517 const base::string16& error_description, |
| 518 bool was_ignored_by_handler) override; |
| 518 void DidCommitProvisionalLoad(RenderFrameHostImpl* render_frame_host, | 519 void DidCommitProvisionalLoad(RenderFrameHostImpl* render_frame_host, |
| 519 const GURL& url, | 520 const GURL& url, |
| 520 ui::PageTransition transition_type) override; | 521 ui::PageTransition transition_type) override; |
| 521 void DidNavigateMainFramePreCommit(bool navigation_is_within_page) override; | 522 void DidNavigateMainFramePreCommit(bool navigation_is_within_page) override; |
| 522 void DidNavigateMainFramePostCommit( | 523 void DidNavigateMainFramePostCommit( |
| 523 RenderFrameHostImpl* render_frame_host, | 524 RenderFrameHostImpl* render_frame_host, |
| 524 const LoadCommittedDetails& details, | 525 const LoadCommittedDetails& details, |
| 525 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; | 526 const FrameHostMsg_DidCommitProvisionalLoad_Params& params) override; |
| 526 void DidNavigateAnyFramePostCommit( | 527 void DidNavigateAnyFramePostCommit( |
| 527 RenderFrameHostImpl* render_frame_host, | 528 RenderFrameHostImpl* render_frame_host, |
| (...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1255 // Adds/removes a callback called on creation of each new WebContents. | 1256 // Adds/removes a callback called on creation of each new WebContents. |
| 1256 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1257 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1257 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1258 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1258 | 1259 |
| 1259 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1260 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1260 }; | 1261 }; |
| 1261 | 1262 |
| 1262 } // namespace content | 1263 } // namespace content |
| 1263 | 1264 |
| 1264 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1265 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |