| 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 592 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 | 603 |
| 604 // Used to access the CreateHistoryAddPageArgs member function. | 604 // Used to access the CreateHistoryAddPageArgs member function. |
| 605 friend class ExternalTabContainer; | 605 friend class ExternalTabContainer; |
| 606 | 606 |
| 607 // Add all the TabContentObservers. | 607 // Add all the TabContentObservers. |
| 608 void AddObservers(); | 608 void AddObservers(); |
| 609 | 609 |
| 610 // Message handlers. | 610 // Message handlers. |
| 611 void OnDidStartProvisionalLoadForFrame(int64 frame_id, | 611 void OnDidStartProvisionalLoadForFrame(int64 frame_id, |
| 612 bool main_frame, | 612 bool main_frame, |
| 613 bool has_opener_set, |
| 613 const GURL& url); | 614 const GURL& url); |
| 614 void OnDidRedirectProvisionalLoad(int32 page_id, | 615 void OnDidRedirectProvisionalLoad(int32 page_id, |
| 616 bool has_opener_set, |
| 615 const GURL& source_url, | 617 const GURL& source_url, |
| 616 const GURL& target_url); | 618 const GURL& target_url); |
| 617 void OnDidFailProvisionalLoadWithError(int64 frame_id, | 619 void OnDidFailProvisionalLoadWithError(int64 frame_id, |
| 618 bool main_frame, | 620 bool main_frame, |
| 619 int error_code, | 621 int error_code, |
| 620 const GURL& url, | 622 const GURL& url, |
| 621 bool showing_repost_interstitial); | 623 bool showing_repost_interstitial); |
| 622 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 624 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
| 623 const std::string& security_info); | 625 const std::string& security_info); |
| 624 void OnDidDisplayInsecureContent(); | 626 void OnDidDisplayInsecureContent(); |
| (...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 983 ObserverList<TabContentsObserver> observers_; | 985 ObserverList<TabContentsObserver> observers_; |
| 984 | 986 |
| 985 // Content restrictions, used to disable print/copy etc based on content's | 987 // Content restrictions, used to disable print/copy etc based on content's |
| 986 // (full-page plugins for now only) permissions. | 988 // (full-page plugins for now only) permissions. |
| 987 int content_restrictions_; | 989 int content_restrictions_; |
| 988 | 990 |
| 989 DISALLOW_COPY_AND_ASSIGN(TabContents); | 991 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 990 }; | 992 }; |
| 991 | 993 |
| 992 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 994 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |