| 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 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 564 bool HideDownloadUI() const override; | 564 bool HideDownloadUI() const override; |
| 565 | 565 |
| 566 // NavigatorDelegate --------------------------------------------------------- | 566 // NavigatorDelegate --------------------------------------------------------- |
| 567 | 567 |
| 568 void DidStartNavigation(NavigationHandle* navigation_handle) override; | 568 void DidStartNavigation(NavigationHandle* navigation_handle) override; |
| 569 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; | 569 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; |
| 570 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; | 570 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; |
| 571 void DidFinishNavigation(NavigationHandle* navigation_handle) override; | 571 void DidFinishNavigation(NavigationHandle* navigation_handle) override; |
| 572 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, | 572 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, |
| 573 const GURL& validated_url, | 573 const GURL& validated_url, |
| 574 bool is_error_page, | 574 bool is_error_page) override; |
| 575 bool is_iframe_srcdoc) override; | |
| 576 void DidFailProvisionalLoadWithError(RenderFrameHostImpl* render_frame_host, | 575 void DidFailProvisionalLoadWithError(RenderFrameHostImpl* render_frame_host, |
| 577 const GURL& validated_url, | 576 const GURL& validated_url, |
| 578 int error_code, | 577 int error_code, |
| 579 const base::string16& error_description, | 578 const base::string16& error_description, |
| 580 bool was_ignored_by_handler) override; | 579 bool was_ignored_by_handler) override; |
| 581 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, | 580 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, |
| 582 const GURL& url, | 581 const GURL& url, |
| 583 int error_code, | 582 int error_code, |
| 584 const base::string16& error_description, | 583 const base::string16& error_description, |
| 585 bool was_ignored_by_handler) override; | 584 bool was_ignored_by_handler) override; |
| (...skipping 905 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1491 // Adds/removes a callback called on creation of each new WebContents. | 1490 // Adds/removes a callback called on creation of each new WebContents. |
| 1492 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1491 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1493 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1492 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1494 | 1493 |
| 1495 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1494 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1496 }; | 1495 }; |
| 1497 | 1496 |
| 1498 } // namespace content | 1497 } // namespace content |
| 1499 | 1498 |
| 1500 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1499 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |