| 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 825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 836 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, PageDoesBackAndReload); | 836 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, PageDoesBackAndReload); |
| 837 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrossSiteIframe); | 837 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrossSiteIframe); |
| 838 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, | 838 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, |
| 839 TwoSubframesCreatePopupsSimultaneously); | 839 TwoSubframesCreatePopupsSimultaneously); |
| 840 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, | 840 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, |
| 841 TwoSubframesCreatePopupMenuWidgetsSimultaneously); | 841 TwoSubframesCreatePopupMenuWidgetsSimultaneously); |
| 842 FRIEND_TEST_ALL_PREFIXES(SitePerProcessAccessibilityBrowserTest, | 842 FRIEND_TEST_ALL_PREFIXES(SitePerProcessAccessibilityBrowserTest, |
| 843 CrossSiteIframeAccessibility); | 843 CrossSiteIframeAccessibility); |
| 844 FRIEND_TEST_ALL_PREFIXES(WebContentsImplBrowserTest, | 844 FRIEND_TEST_ALL_PREFIXES(WebContentsImplBrowserTest, |
| 845 JavaScriptDialogsInMainAndSubframes); | 845 JavaScriptDialogsInMainAndSubframes); |
| 846 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostImplBrowserTest, | |
| 847 IframeBeforeUnloadParentHang); | |
| 848 | 846 |
| 849 // So |find_request_manager_| can be accessed for testing. | 847 // So |find_request_manager_| can be accessed for testing. |
| 850 friend class FindRequestManagerTest; | 848 friend class FindRequestManagerTest; |
| 851 | 849 |
| 852 // TODO(brettw) TestWebContents shouldn't exist! | 850 // TODO(brettw) TestWebContents shouldn't exist! |
| 853 friend class TestWebContents; | 851 friend class TestWebContents; |
| 854 | 852 |
| 855 class DestructionObserver; | 853 class DestructionObserver; |
| 856 | 854 |
| 857 // Represents a WebContents node in a tree of WebContents structure. | 855 // Represents a WebContents node in a tree of WebContents structure. |
| (...skipping 691 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1549 // Adds/removes a callback called on creation of each new WebContents. | 1547 // Adds/removes a callback called on creation of each new WebContents. |
| 1550 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1548 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1551 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1549 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1552 | 1550 |
| 1553 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1551 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1554 }; | 1552 }; |
| 1555 | 1553 |
| 1556 } // namespace content | 1554 } // namespace content |
| 1557 | 1555 |
| 1558 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1556 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |