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 <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
457 const NotificationDetails& details) OVERRIDE; | 457 const NotificationDetails& details) OVERRIDE; |
458 | 458 |
459 | 459 |
460 private: | 460 private: |
461 friend class NavigationControllerImpl; | 461 friend class NavigationControllerImpl; |
462 friend class WebContentsObserver; | 462 friend class WebContentsObserver; |
463 friend class WebContents; // To implement factory methods. | 463 friend class WebContents; // To implement factory methods. |
464 | 464 |
465 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, NoJSMessageOnInterstitials); | 465 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, NoJSMessageOnInterstitials); |
466 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, UpdateTitle); | 466 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, UpdateTitle); |
| 467 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, FindOpenerRVHWhenPending); |
467 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, | 468 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, |
468 CrossSiteCantPreemptAfterUnload); | 469 CrossSiteCantPreemptAfterUnload); |
469 FRIEND_TEST_ALL_PREFIXES(FormStructureBrowserTest, HTMLFiles); | 470 FRIEND_TEST_ALL_PREFIXES(FormStructureBrowserTest, HTMLFiles); |
470 FRIEND_TEST_ALL_PREFIXES(NavigationControllerTest, HistoryNavigate); | 471 FRIEND_TEST_ALL_PREFIXES(NavigationControllerTest, HistoryNavigate); |
471 FRIEND_TEST_ALL_PREFIXES(RenderViewHostManagerTest, PageDoesBackAndReload); | 472 FRIEND_TEST_ALL_PREFIXES(RenderViewHostManagerTest, PageDoesBackAndReload); |
472 | 473 |
473 // So InterstitialPageImpl can access SetIsLoading. | 474 // So InterstitialPageImpl can access SetIsLoading. |
474 friend class InterstitialPageImpl; | 475 friend class InterstitialPageImpl; |
475 | 476 |
476 // TODO(brettw) TestWebContents shouldn't exist! | 477 // TODO(brettw) TestWebContents shouldn't exist! |
(...skipping 382 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
859 // Maps the ids of pending favicon downloads to their callbacks | 860 // Maps the ids of pending favicon downloads to their callbacks |
860 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 861 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
861 FaviconDownloadMap favicon_download_map_; | 862 FaviconDownloadMap favicon_download_map_; |
862 | 863 |
863 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 864 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
864 }; | 865 }; |
865 | 866 |
866 } // namespace content | 867 } // namespace content |
867 | 868 |
868 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 869 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
OLD | NEW |