| 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 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 468 const NotificationDetails& details) OVERRIDE; | 468 const NotificationDetails& details) OVERRIDE; |
| 469 | 469 |
| 470 | 470 |
| 471 private: | 471 private: |
| 472 friend class NavigationControllerImpl; | 472 friend class NavigationControllerImpl; |
| 473 friend class WebContentsObserver; | 473 friend class WebContentsObserver; |
| 474 friend class WebContents; // To implement factory methods. | 474 friend class WebContents; // To implement factory methods. |
| 475 | 475 |
| 476 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, NoJSMessageOnInterstitials); | 476 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, NoJSMessageOnInterstitials); |
| 477 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, UpdateTitle); | 477 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, UpdateTitle); |
| 478 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, FindOpenerRVHWhenPending); |
| 478 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, | 479 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, |
| 479 CrossSiteCantPreemptAfterUnload); | 480 CrossSiteCantPreemptAfterUnload); |
| 480 FRIEND_TEST_ALL_PREFIXES(FormStructureBrowserTest, HTMLFiles); | 481 FRIEND_TEST_ALL_PREFIXES(FormStructureBrowserTest, HTMLFiles); |
| 481 FRIEND_TEST_ALL_PREFIXES(NavigationControllerTest, HistoryNavigate); | 482 FRIEND_TEST_ALL_PREFIXES(NavigationControllerTest, HistoryNavigate); |
| 482 FRIEND_TEST_ALL_PREFIXES(RenderViewHostManagerTest, PageDoesBackAndReload); | 483 FRIEND_TEST_ALL_PREFIXES(RenderViewHostManagerTest, PageDoesBackAndReload); |
| 483 | 484 |
| 484 // So InterstitialPageImpl can access SetIsLoading. | 485 // So InterstitialPageImpl can access SetIsLoading. |
| 485 friend class InterstitialPageImpl; | 486 friend class InterstitialPageImpl; |
| 486 | 487 |
| 487 // TODO(brettw) TestWebContents shouldn't exist! | 488 // TODO(brettw) TestWebContents shouldn't exist! |
| (...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 885 // Maps the ids of pending favicon downloads to their callbacks | 886 // Maps the ids of pending favicon downloads to their callbacks |
| 886 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; | 887 typedef std::map<int, FaviconDownloadCallback> FaviconDownloadMap; |
| 887 FaviconDownloadMap favicon_download_map_; | 888 FaviconDownloadMap favicon_download_map_; |
| 888 | 889 |
| 889 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 890 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 890 }; | 891 }; |
| 891 | 892 |
| 892 } // namespace content | 893 } // namespace content |
| 893 | 894 |
| 894 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 895 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |