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) override; | 573 bool is_error_page, |
| 574 bool is_iframe_srcdoc) override; |
574 void DidFailProvisionalLoadWithError(RenderFrameHostImpl* render_frame_host, | 575 void DidFailProvisionalLoadWithError(RenderFrameHostImpl* render_frame_host, |
575 const GURL& validated_url, | 576 const GURL& validated_url, |
576 int error_code, | 577 int error_code, |
577 const base::string16& error_description, | 578 const base::string16& error_description, |
578 bool was_ignored_by_handler) override; | 579 bool was_ignored_by_handler) override; |
579 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, | 580 void DidFailLoadWithError(RenderFrameHostImpl* render_frame_host, |
580 const GURL& url, | 581 const GURL& url, |
581 int error_code, | 582 int error_code, |
582 const base::string16& error_description, | 583 const base::string16& error_description, |
583 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... |
1489 // Adds/removes a callback called on creation of each new WebContents. | 1490 // Adds/removes a callback called on creation of each new WebContents. |
1490 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1491 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
1491 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1492 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
1492 | 1493 |
1493 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1494 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
1494 }; | 1495 }; |
1495 | 1496 |
1496 } // namespace content | 1497 } // namespace content |
1497 | 1498 |
1498 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1499 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |