| 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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 591 // (but can be null if not applicable). | 591 // (but can be null if not applicable). |
| 592 virtual void SetIsLoading(RenderViewHost* render_view_host, | 592 virtual void SetIsLoading(RenderViewHost* render_view_host, |
| 593 bool is_loading, | 593 bool is_loading, |
| 594 LoadNotificationDetails* details) OVERRIDE; | 594 LoadNotificationDetails* details) OVERRIDE; |
| 595 | 595 |
| 596 typedef base::Callback<void(WebContents*)> CreatedCallback; | 596 typedef base::Callback<void(WebContents*)> CreatedCallback; |
| 597 | 597 |
| 598 private: | 598 private: |
| 599 friend class NavigationControllerImpl; | 599 friend class NavigationControllerImpl; |
| 600 friend class TestNavigationObserver; | 600 friend class TestNavigationObserver; |
| 601 friend class WebContentsAddedObserver; |
| 601 friend class WebContentsObserver; | 602 friend class WebContentsObserver; |
| 602 friend class WebContents; // To implement factory methods. | 603 friend class WebContents; // To implement factory methods. |
| 603 | 604 |
| 604 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, NoJSMessageOnInterstitials); | 605 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, NoJSMessageOnInterstitials); |
| 605 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, UpdateTitle); | 606 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, UpdateTitle); |
| 606 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, FindOpenerRVHWhenPending); | 607 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, FindOpenerRVHWhenPending); |
| 607 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, | 608 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, |
| 608 CrossSiteCantPreemptAfterUnload); | 609 CrossSiteCantPreemptAfterUnload); |
| 609 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, PendingContents); | 610 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, PendingContents); |
| 610 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, FrameTreeShape); | 611 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, FrameTreeShape); |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 // Whether this WebContents is responsible for displaying a subframe in a | 1045 // Whether this WebContents is responsible for displaying a subframe in a |
| 1045 // different process from its parent page. | 1046 // different process from its parent page. |
| 1046 bool is_subframe_; | 1047 bool is_subframe_; |
| 1047 | 1048 |
| 1048 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1049 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1049 }; | 1050 }; |
| 1050 | 1051 |
| 1051 } // namespace content | 1052 } // namespace content |
| 1052 | 1053 |
| 1053 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1054 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |