| 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 620 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 631 | 631 |
| 632 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, NoJSMessageOnInterstitials); | 632 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, NoJSMessageOnInterstitials); |
| 633 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, UpdateTitle); | 633 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, UpdateTitle); |
| 634 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, FindOpenerRVHWhenPending); | 634 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, FindOpenerRVHWhenPending); |
| 635 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, | 635 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, |
| 636 CrossSiteCantPreemptAfterUnload); | 636 CrossSiteCantPreemptAfterUnload); |
| 637 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, PendingContents); | 637 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, PendingContents); |
| 638 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, FrameTreeShape); | 638 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, FrameTreeShape); |
| 639 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, GetLastActiveTime); | 639 FRIEND_TEST_ALL_PREFIXES(WebContentsImplTest, GetLastActiveTime); |
| 640 FRIEND_TEST_ALL_PREFIXES(FormStructureBrowserTest, HTMLFiles); | 640 FRIEND_TEST_ALL_PREFIXES(FormStructureBrowserTest, HTMLFiles); |
| 641 FRIEND_TEST_ALL_PREFIXES(NavigationControllerTest, BlockingPageEntry); |
| 641 FRIEND_TEST_ALL_PREFIXES(NavigationControllerTest, HistoryNavigate); | 642 FRIEND_TEST_ALL_PREFIXES(NavigationControllerTest, HistoryNavigate); |
| 642 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, PageDoesBackAndReload); | 643 FRIEND_TEST_ALL_PREFIXES(RenderFrameHostManagerTest, PageDoesBackAndReload); |
| 643 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrossSiteIframe); | 644 FRIEND_TEST_ALL_PREFIXES(SitePerProcessBrowserTest, CrossSiteIframe); |
| 644 | 645 |
| 645 // So InterstitialPageImpl can access SetIsLoading. | 646 // So InterstitialPageImpl can access SetIsLoading. |
| 646 friend class InterstitialPageImpl; | 647 friend class InterstitialPageImpl; |
| 647 | 648 |
| 648 // TODO(brettw) TestWebContents shouldn't exist! | 649 // TODO(brettw) TestWebContents shouldn't exist! |
| 649 friend class TestWebContents; | 650 friend class TestWebContents; |
| 650 | 651 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 | 696 |
| 696 // IPC message handlers. | 697 // IPC message handlers. |
| 697 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 698 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
| 698 const std::string& security_info, | 699 const std::string& security_info, |
| 699 const std::string& http_request, | 700 const std::string& http_request, |
| 700 const std::string& mime_type, | 701 const std::string& mime_type, |
| 701 ResourceType::Type resource_type); | 702 ResourceType::Type resource_type); |
| 702 void OnDidDisplayInsecureContent(); | 703 void OnDidDisplayInsecureContent(); |
| 703 void OnDidRunInsecureContent(const std::string& security_origin, | 704 void OnDidRunInsecureContent(const std::string& security_origin, |
| 704 const GURL& target_url); | 705 const GURL& target_url); |
| 706 void OnDidDetectXSS(int32 page_id, const GURL& url, bool blocked_entire_page); |
| 705 void OnDocumentLoadedInFrame(); | 707 void OnDocumentLoadedInFrame(); |
| 706 void OnDidFinishLoad(const GURL& url); | 708 void OnDidFinishLoad(const GURL& url); |
| 707 void OnDidStartLoading(bool to_different_document); | 709 void OnDidStartLoading(bool to_different_document); |
| 708 void OnDidStopLoading(); | 710 void OnDidStopLoading(); |
| 709 void OnDidChangeLoadProgress(double load_progress); | 711 void OnDidChangeLoadProgress(double load_progress); |
| 710 void OnGoToEntryAtOffset(int offset); | 712 void OnGoToEntryAtOffset(int offset); |
| 711 void OnUpdateZoomLimits(int minimum_percent, | 713 void OnUpdateZoomLimits(int minimum_percent, |
| 712 int maximum_percent); | 714 int maximum_percent); |
| 713 void OnEnumerateDirectory(int request_id, const base::FilePath& path); | 715 void OnEnumerateDirectory(int request_id, const base::FilePath& path); |
| 714 | 716 |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1126 bool last_dialog_suppressed_; | 1128 bool last_dialog_suppressed_; |
| 1127 | 1129 |
| 1128 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; | 1130 scoped_ptr<GeolocationDispatcherHost> geolocation_dispatcher_host_; |
| 1129 | 1131 |
| 1130 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); | 1132 DISALLOW_COPY_AND_ASSIGN(WebContentsImpl); |
| 1131 }; | 1133 }; |
| 1132 | 1134 |
| 1133 } // namespace content | 1135 } // namespace content |
| 1134 | 1136 |
| 1135 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ | 1137 #endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_IMPL_H_ |
| OLD | NEW |