| 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 357 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 975 ObserverList<TabContentsObserver> observers_; | 977 ObserverList<TabContentsObserver> observers_; |
| 976 | 978 |
| 977 // Content restrictions, used to disable print/copy etc based on content's | 979 // Content restrictions, used to disable print/copy etc based on content's |
| 978 // (full-page plugins for now only) permissions. | 980 // (full-page plugins for now only) permissions. |
| 979 int content_restrictions_; | 981 int content_restrictions_; |
| 980 | 982 |
| 981 DISALLOW_COPY_AND_ASSIGN(TabContents); | 983 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 982 }; | 984 }; |
| 983 | 985 |
| 984 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 986 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |