OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <deque> | 9 #include <deque> |
10 #include <map> | 10 #include <map> |
(...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
800 void OnDidFailProvisionalLoadWithError(int64 frame_id, | 800 void OnDidFailProvisionalLoadWithError(int64 frame_id, |
801 bool main_frame, | 801 bool main_frame, |
802 int error_code, | 802 int error_code, |
803 const GURL& url, | 803 const GURL& url, |
804 bool showing_repost_interstitial); | 804 bool showing_repost_interstitial); |
805 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 805 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
806 const std::string& frame_origin, | 806 const std::string& frame_origin, |
807 const std::string& main_frame_origin, | 807 const std::string& main_frame_origin, |
808 const std::string& security_info); | 808 const std::string& security_info); |
809 void OnDidDisplayInsecureContent(); | 809 void OnDidDisplayInsecureContent(); |
810 void OnDidRunInsecureContent(const std::string& security_origin); | 810 void OnDidRunInsecureContent(const std::string& security_origin, |
| 811 const std::string& target_url); |
811 void OnDocumentLoadedInFrame(int64 frame_id); | 812 void OnDocumentLoadedInFrame(int64 frame_id); |
812 void OnDidFinishLoad(int64 frame_id); | 813 void OnDidFinishLoad(int64 frame_id); |
813 | 814 |
814 // Changes the IsLoading state and notifies delegate as needed | 815 // Changes the IsLoading state and notifies delegate as needed |
815 // |details| is used to provide details on the load that just finished | 816 // |details| is used to provide details on the load that just finished |
816 // (but can be null if not applicable). Can be overridden. | 817 // (but can be null if not applicable). Can be overridden. |
817 void SetIsLoading(bool is_loading, | 818 void SetIsLoading(bool is_loading, |
818 LoadNotificationDetails* details); | 819 LoadNotificationDetails* details); |
819 | 820 |
820 // Adds the incoming |new_contents| to the |blocked_contents_| container. | 821 // Adds the incoming |new_contents| to the |blocked_contents_| container. |
(...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1343 // (full-page plugins for now only) permissions. | 1344 // (full-page plugins for now only) permissions. |
1344 int content_restrictions_; | 1345 int content_restrictions_; |
1345 | 1346 |
1346 // All the IPC message filters for this render view. | 1347 // All the IPC message filters for this render view. |
1347 std::vector<IPC::Channel::Listener*> message_filters_; | 1348 std::vector<IPC::Channel::Listener*> message_filters_; |
1348 | 1349 |
1349 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1350 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1350 }; | 1351 }; |
1351 | 1352 |
1352 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1353 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |