| 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 |
| 774 // So InterstitialPageImpl can access SetIsLoading. | 777 // So InterstitialPageImpl can access SetIsLoading. |
| 775 friend class InterstitialPageImpl; | 778 friend class InterstitialPageImpl; |
| 776 | 779 |
| 777 // TODO(brettw) TestWebContents shouldn't exist! | 780 // TODO(brettw) TestWebContents shouldn't exist! |
| 778 friend class TestWebContents; | 781 friend class TestWebContents; |
| 779 | 782 |
| 780 class DestructionObserver; | 783 class DestructionObserver; |
| 781 | 784 |
| 782 // Represents a WebContents node in a tree of WebContents structure. | 785 // Represents a WebContents node in a tree of WebContents structure. |
| 783 // | 786 // |
| (...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1375 // Adds/removes a callback called on creation of each new WebContents. | 1378 // Adds/removes a callback called on creation of each new WebContents. |
| 1376 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1379 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1377 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1380 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1378 | 1381 |
| 1379 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1382 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1380 }; | 1383 }; |
| 1381 | 1384 |
| 1382 } // namespace content | 1385 } // namespace content |
| 1383 | 1386 |
| 1384 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1387 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |