| 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 <stdint.h> | 8 #include <stdint.h> |
| 9 | 9 |
| 10 #include <functional> | 10 #include <functional> |
| (...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 542 // NavigatorDelegate --------------------------------------------------------- | 542 // NavigatorDelegate --------------------------------------------------------- |
| 543 | 543 |
| 544 void DidStartNavigation(NavigationHandle* navigation_handle) override; | 544 void DidStartNavigation(NavigationHandle* navigation_handle) override; |
| 545 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; | 545 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; |
| 546 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; | 546 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; |
| 547 void DidFinishNavigation(NavigationHandle* navigation_handle) override; | 547 void DidFinishNavigation(NavigationHandle* navigation_handle) override; |
| 548 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, | 548 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, |
| 549 const GURL& validated_url, | 549 const GURL& validated_url, |
| 550 bool is_error_page, | 550 bool is_error_page, |
| 551 bool is_iframe_srcdoc) override; | 551 bool is_iframe_srcdoc) override; |
| 552 void DidFailProvisionalLoadWithError( | 552 void DidFailProvisionalLoadWithError(RenderFrameHostImpl* render_frame_host, |
| 553 RenderFrameHostImpl* render_frame_host, | 553 const GURL& validated_url, |
| 554 const FrameHostMsg_DidFailProvisionalLoadWithError_Params& params) | 554 int error_code, |
| 555 override; | 555 const base::string16& error_description, |
| 556 bool was_ignored_by_handler) override; |
| 556 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, | 557 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, |
| 557 const GURL& url, | 558 const GURL& url, |
| 558 int error_code, | 559 int error_code, |
| 559 const base::string16& error_description, | 560 const base::string16& error_description, |
| 560 bool was_ignored_by_handler) override; | 561 bool was_ignored_by_handler) override; |
| 561 void DidCommitProvisionalLoad(RenderFrameHostImpl* render_frame_host, | 562 void DidCommitProvisionalLoad(RenderFrameHostImpl* render_frame_host, |
| 562 const GURL& url, | 563 const GURL& url, |
| 563 ui::PageTransition transition_type) override; | 564 ui::PageTransition transition_type) override; |
| 564 void DidNavigateMainFramePreCommit(bool navigation_is_within_page) override; | 565 void DidNavigateMainFramePreCommit(bool navigation_is_within_page) override; |
| 565 void DidNavigateMainFramePostCommit( | 566 void DidNavigateMainFramePostCommit( |
| (...skipping 854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1420 // Adds/removes a callback called on creation of each new WebContents. | 1421 // Adds/removes a callback called on creation of each new WebContents. |
| 1421 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1422 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1422 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1423 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1423 | 1424 |
| 1424 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1425 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1425 }; | 1426 }; |
| 1426 | 1427 |
| 1427 } // namespace content | 1428 } // namespace content |
| 1428 | 1429 |
| 1429 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1430 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |