| 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 756 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 767 ResetJavaScriptDialogOnUserNavigate); | 767 ResetJavaScriptDialogOnUserNavigate); |
| 768 FRIEND_TEST_ALL_PREFIXES(FormStructureBrowserTest, HTMLFiles); | 768 FRIEND_TEST_ALL_PREFIXES(FormStructureBrowserTest, HTMLFiles); |
| 769 FRIEND_TEST_ALL_PREFIXES(NavigationControllerTest, HistoryNavigate); | 769 FRIEND_TEST_ALL_PREFIXES(NavigationControllerTest, HistoryNavigate); |
| 770 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, PageDoesBackAndReload); | 770 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, PageDoesBackAndReload); |
| 771 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrossSiteIframe); | 771 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrossSiteIframe); |
| 772 FRIEND_TEST_ALL_PREFIXES(SitePerProcessAccessibilityBrowserTest, | 772 FRIEND_TEST_ALL_PREFIXES(SitePerProcessAccessibilityBrowserTest, |
| 773 CrossSiteIframeAccessibility); | 773 CrossSiteIframeAccessibility); |
| 774 FRIEND_TEST_ALL_PREFIXES(WebContentsImplBrowserTest, | 774 FRIEND_TEST_ALL_PREFIXES(WebContentsImplBrowserTest, |
| 775 JavaScriptDialogsInMainAndSubframes); | 775 JavaScriptDialogsInMainAndSubframes); |
| 776 | 776 |
| 777 // So |find_request_manager_| can be accessed for testing. |
| 778 friend class FindRequestManagerTest; |
| 779 |
| 777 // So InterstitialPageImpl can access SetIsLoading. | 780 // So InterstitialPageImpl can access SetIsLoading. |
| 778 friend class InterstitialPageImpl; | 781 friend class InterstitialPageImpl; |
| 779 | 782 |
| 780 // TODO(brettw) TestWebContents shouldn't exist! | 783 // TODO(brettw) TestWebContents shouldn't exist! |
| 781 friend class TestWebContents; | 784 friend class TestWebContents; |
| 782 | 785 |
| 783 class DestructionObserver; | 786 class DestructionObserver; |
| 784 | 787 |
| 785 // Represents a WebContents node in a tree of WebContents structure. | 788 // Represents a WebContents node in a tree of WebContents structure. |
| 786 // | 789 // |
| (...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1385 // Adds/removes a callback called on creation of each new WebContents. | 1388 // Adds/removes a callback called on creation of each new WebContents. |
| 1386 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1389 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1387 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1390 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1388 | 1391 |
| 1389 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1392 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1390 }; | 1393 }; |
| 1391 | 1394 |
| 1392 } // namespace content | 1395 } // namespace content |
| 1393 | 1396 |
| 1394 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1397 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |