| 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 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 ResetJavaScriptDialogOnUserNavigate); | 764 ResetJavaScriptDialogOnUserNavigate); |
| 765 FRIEND_TEST_ALL_PREFIXES(FormStructureBrowserTest, HTMLFiles); | 765 FRIEND_TEST_ALL_PREFIXES(FormStructureBrowserTest, HTMLFiles); |
| 766 FRIEND_TEST_ALL_PREFIXES(NavigationControllerTest, HistoryNavigate); | 766 FRIEND_TEST_ALL_PREFIXES(NavigationControllerTest, HistoryNavigate); |
| 767 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, PageDoesBackAndReload); | 767 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, PageDoesBackAndReload); |
| 768 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrossSiteIframe); | 768 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrossSiteIframe); |
| 769 FRIEND_TEST_ALL_PREFIXES(SitePerProcessAccessibilityBrowserTest, | 769 FRIEND_TEST_ALL_PREFIXES(SitePerProcessAccessibilityBrowserTest, |
| 770 CrossSiteIframeAccessibility); | 770 CrossSiteIframeAccessibility); |
| 771 FRIEND_TEST_ALL_PREFIXES(WebContentsImplBrowserTest, | 771 FRIEND_TEST_ALL_PREFIXES(WebContentsImplBrowserTest, |
| 772 JavaScriptDialogsInMainAndSubframes); | 772 JavaScriptDialogsInMainAndSubframes); |
| 773 | 773 |
| 774 // So |find_request_manager_| can be accessed for testing. | |
| 775 friend class FindRequestManagerTest; | |
| 776 | |
| 777 // So InterstitialPageImpl can access SetIsLoading. | 774 // So InterstitialPageImpl can access SetIsLoading. |
| 778 friend class InterstitialPageImpl; | 775 friend class InterstitialPageImpl; |
| 779 | 776 |
| 780 // TODO(brettw) TestWebContents shouldn't exist! | 777 // TODO(brettw) TestWebContents shouldn't exist! |
| 781 friend class TestWebContents; | 778 friend class TestWebContents; |
| 782 | 779 |
| 783 class DestructionObserver; | 780 class DestructionObserver; |
| 784 | 781 |
| 785 // Represents a WebContents node in a tree of WebContents structure. | 782 // Represents a WebContents node in a tree of WebContents structure. |
| 786 // | 783 // |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1378 // Adds/removes a callback called on creation of each new WebContents. | 1375 // Adds/removes a callback called on creation of each new WebContents. |
| 1379 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1376 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1380 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1377 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1381 | 1378 |
| 1382 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1379 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1383 }; | 1380 }; |
| 1384 | 1381 |
| 1385 } // namespace content | 1382 } // namespace content |
| 1386 | 1383 |
| 1387 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1384 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |