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 CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
6 #define CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CONTENT_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 585 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
596 | 596 |
597 // Used to access the CreateHistoryAddPageArgs member function. | 597 // Used to access the CreateHistoryAddPageArgs member function. |
598 friend class ExternalTabContainer; | 598 friend class ExternalTabContainer; |
599 | 599 |
600 // Add all the TabContentObservers. | 600 // Add all the TabContentObservers. |
601 void AddObservers(); | 601 void AddObservers(); |
602 | 602 |
603 // Message handlers. | 603 // Message handlers. |
604 void OnDidStartProvisionalLoadForFrame(int64 frame_id, | 604 void OnDidStartProvisionalLoadForFrame(int64 frame_id, |
605 bool main_frame, | 605 bool main_frame, |
| 606 bool has_opener_set, |
606 const GURL& url); | 607 const GURL& url); |
607 void OnDidRedirectProvisionalLoad(int32 page_id, | 608 void OnDidRedirectProvisionalLoad(int32 page_id, |
| 609 bool has_opener_set, |
608 const GURL& source_url, | 610 const GURL& source_url, |
609 const GURL& target_url); | 611 const GURL& target_url); |
610 void OnDidFailProvisionalLoadWithError(int64 frame_id, | 612 void OnDidFailProvisionalLoadWithError(int64 frame_id, |
611 bool main_frame, | 613 bool main_frame, |
612 int error_code, | 614 int error_code, |
613 const GURL& url, | 615 const GURL& url, |
614 bool showing_repost_interstitial); | 616 bool showing_repost_interstitial); |
615 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 617 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
616 const std::string& security_info); | 618 const std::string& security_info); |
617 void OnDidDisplayInsecureContent(); | 619 void OnDidDisplayInsecureContent(); |
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
972 ObserverList<TabContentsObserver> observers_; | 974 ObserverList<TabContentsObserver> observers_; |
973 | 975 |
974 // Content restrictions, used to disable print/copy etc based on content's | 976 // Content restrictions, used to disable print/copy etc based on content's |
975 // (full-page plugins for now only) permissions. | 977 // (full-page plugins for now only) permissions. |
976 int content_restrictions_; | 978 int content_restrictions_; |
977 | 979 |
978 DISALLOW_COPY_AND_ASSIGN(TabContents); | 980 DISALLOW_COPY_AND_ASSIGN(TabContents); |
979 }; | 981 }; |
980 | 982 |
981 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 983 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |