| 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 546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 557 | 557 |
| 558 // Used to access the CreateHistoryAddPageArgs member function. | 558 // Used to access the CreateHistoryAddPageArgs member function. |
| 559 friend class ExternalTabContainer; | 559 friend class ExternalTabContainer; |
| 560 | 560 |
| 561 // Add all the TabContentObservers. | 561 // Add all the TabContentObservers. |
| 562 void AddObservers(); | 562 void AddObservers(); |
| 563 | 563 |
| 564 // Message handlers. | 564 // Message handlers. |
| 565 void OnDidStartProvisionalLoadForFrame(int64 frame_id, | 565 void OnDidStartProvisionalLoadForFrame(int64 frame_id, |
| 566 bool main_frame, | 566 bool main_frame, |
| 567 bool has_opener_set, |
| 567 const GURL& url); | 568 const GURL& url); |
| 568 void OnDidRedirectProvisionalLoad(int32 page_id, | 569 void OnDidRedirectProvisionalLoad(int32 page_id, |
| 570 bool has_opener_set, |
| 569 const GURL& source_url, | 571 const GURL& source_url, |
| 570 const GURL& target_url); | 572 const GURL& target_url); |
| 571 void OnDidFailProvisionalLoadWithError(int64 frame_id, | 573 void OnDidFailProvisionalLoadWithError(int64 frame_id, |
| 572 bool main_frame, | 574 bool main_frame, |
| 573 int error_code, | 575 int error_code, |
| 574 const GURL& url, | 576 const GURL& url, |
| 575 bool showing_repost_interstitial); | 577 bool showing_repost_interstitial); |
| 576 void OnDidLoadResourceFromMemoryCache(const GURL& url, | 578 void OnDidLoadResourceFromMemoryCache(const GURL& url, |
| 577 const std::string& security_info); | 579 const std::string& security_info); |
| 578 void OnDidDisplayInsecureContent(); | 580 void OnDidDisplayInsecureContent(); |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 913 ObserverList<TabContentsObserver> observers_; | 915 ObserverList<TabContentsObserver> observers_; |
| 914 | 916 |
| 915 // Content restrictions, used to disable print/copy etc based on content's | 917 // Content restrictions, used to disable print/copy etc based on content's |
| 916 // (full-page plugins for now only) permissions. | 918 // (full-page plugins for now only) permissions. |
| 917 int content_restrictions_; | 919 int content_restrictions_; |
| 918 | 920 |
| 919 DISALLOW_COPY_AND_ASSIGN(TabContents); | 921 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 920 }; | 922 }; |
| 921 | 923 |
| 922 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 924 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |