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