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 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1457 // Adds/removes a callback called on creation of each new WebContents. | 1456 // Adds/removes a callback called on creation of each new WebContents. |
1458 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1457 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1459 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1458 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1460 | 1459 |
1461 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1460 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1462 }; | 1461 }; |
1463 | 1462 |
1464 } // namespace content | 1463 } // namespace content |
1465 | 1464 |
1466 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1465 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |