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