Chromium Code Reviews| 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 780 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 791 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, | 791 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, |
| 792 TwoSubframesCreatePopupMenuWidgetsSimultaneously); | 792 TwoSubframesCreatePopupMenuWidgetsSimultaneously); |
| 793 FRIEND_TEST_ALL_PREFIXES(SitePerProcessAccessibilityBrowserTest, | 793 FRIEND_TEST_ALL_PREFIXES(SitePerProcessAccessibilityBrowserTest, |
| 794 CrossSiteIframeAccessibility); | 794 CrossSiteIframeAccessibility); |
| 795 FRIEND_TEST_ALL_PREFIXES(WebContentsImplBrowserTest, | 795 FRIEND_TEST_ALL_PREFIXES(WebContentsImplBrowserTest, |
| 796 JavaScriptDialogsInMainAndSubframes); | 796 JavaScriptDialogsInMainAndSubframes); |
| 797 | 797 |
| 798 // So |find_request_manager_| can be accessed for testing. | 798 // So |find_request_manager_| can be accessed for testing. |
| 799 friend class FindRequestManagerTest; | 799 friend class FindRequestManagerTest; |
| 800 | 800 |
| 801 // So InterstitialPageImpl can access SetIsLoading. | 801 // So InterstitialPageImpl can access UpdateTitleForEntry. |
| 802 friend class InterstitialPageImpl; | 802 friend class InterstitialPageImpl; |
|
Charlie Reis
2016/06/24 22:21:17
I think it's probably safer to make UpdateTitleFor
afakhry
2016/06/27 14:29:18
Done.
| |
| 803 | 803 |
| 804 // TODO(brettw) TestWebContents shouldn't exist! | 804 // TODO(brettw) TestWebContents shouldn't exist! |
| 805 friend class TestWebContents; | 805 friend class TestWebContents; |
| 806 | 806 |
| 807 class DestructionObserver; | 807 class DestructionObserver; |
| 808 | 808 |
| 809 // Represents a WebContents node in a tree of WebContents structure. | 809 // Represents a WebContents node in a tree of WebContents structure. |
| 810 // | 810 // |
| 811 // Two WebContents with separate FrameTrees can be connected by | 811 // Two WebContents with separate FrameTrees can be connected by |
| 812 // outer/inner relationship using this class. Note that their FrameTrees | 812 // outer/inner relationship using this class. Note that their FrameTrees |
| (...skipping 607 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1420 // Adds/removes a callback called on creation of each new WebContents. | 1420 // Adds/removes a callback called on creation of each new WebContents. |
| 1421 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); | 1421 static void AddCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1422 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); | 1422 static void RemoveCreatedCallbackForTesting(const CreatedCallback& callback); |
| 1423 | 1423 |
| 1424 DISALLOW_COPY_AND_ASSIGN(FriendZone); | 1424 DISALLOW_COPY_AND_ASSIGN(FriendZone); |
| 1425 }; | 1425 }; |
| 1426 | 1426 |
| 1427 } // namespace content | 1427 } // namespace content |
| 1428 | 1428 |
| 1429 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1429 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |