| 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 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 561 bool HideDownloadUI() const override; | 561 bool HideDownloadUI() const override; |
| 562 | 562 |
| 563 // NavigatorDelegate --------------------------------------------------------- | 563 // NavigatorDelegate --------------------------------------------------------- |
| 564 | 564 |
| 565 void DidStartNavigation(NavigationHandle* navigation_handle) override; | 565 void DidStartNavigation(NavigationHandle* navigation_handle) override; |
| 566 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; | 566 void DidRedirectNavigation(NavigationHandle* navigation_handle) override; |
| 567 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; | 567 void ReadyToCommitNavigation(NavigationHandle* navigation_handle) override; |
| 568 void DidFinishNavigation(NavigationHandle* navigation_handle) override; | 568 void DidFinishNavigation(NavigationHandle* navigation_handle) override; |
| 569 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, | 569 void DidStartProvisionalLoad(RenderFrameHostImpl* render_frame_host, |
| 570 const GURL& validated_url, | 570 const GURL& validated_url, |
| 571 bool is_error_page, | 571 bool is_error_page) override; |
| 572 bool is_iframe_srcdoc) override; | |
| 573 void DidFailProvisionalLoadWithError(RenderFrameHostImpl* render_frame_host, | 572 void DidFailProvisionalLoadWithError(RenderFrameHostImpl* render_frame_host, |
| 574 const GURL& validated_url, | 573 const GURL& validated_url, |
| 575 int error_code, | 574 int error_code, |
| 576 const base::string16& error_description, | 575 const base::string16& error_description, |
| 577 bool was_ignored_by_handler) override; | 576 bool was_ignored_by_handler) override; |
| 578 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, | 577 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, |
| 579 const GURL& url, | 578 const GURL& url, |
| 580 int error_code, | 579 int error_code, |
| 581 const base::string16& error_description, | 580 const base::string16& error_description, |
| 582 bool was_ignored_by_handler) override; | 581 bool was_ignored_by_handler) override; |
| (...skipping 870 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1453 // Adds/removes a callback called on creation of each new WebContents. | 1452 // Adds/removes a callback called on creation of each new WebContents. |
| 1454 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1453 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1455 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1454 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1456 | 1455 |
| 1457 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1456 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1458 }; | 1457 }; |
| 1459 | 1458 |
| 1460 } // namespace content | 1459 } // namespace content |
| 1461 | 1460 |
| 1462 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1461 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |