| 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 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1044 | 1044 |
| 1045 // Cached web app icon. | 1045 // Cached web app icon. |
| 1046 SkBitmap app_icon_; | 1046 SkBitmap app_icon_; |
| 1047 | 1047 |
| 1048 // RenderViewHost::ContentSettingsDelegate. | 1048 // RenderViewHost::ContentSettingsDelegate. |
| 1049 scoped_ptr<TabSpecificContentSettings> content_settings_delegate_; | 1049 scoped_ptr<TabSpecificContentSettings> content_settings_delegate_; |
| 1050 | 1050 |
| 1051 // Handles desktop notification IPCs. | 1051 // Handles desktop notification IPCs. |
| 1052 scoped_ptr<DesktopNotificationHandlerForTC> desktop_notification_handler_; | 1052 scoped_ptr<DesktopNotificationHandlerForTC> desktop_notification_handler_; |
| 1053 | 1053 |
| 1054 // Handles Introducer IPCs. |
| 1055 friend class IntroducerService; |
| 1056 scoped_ptr<IPC::Channel::Listener> introducer_handler_; |
| 1057 |
| 1054 // Handles IPCs related to SafeBrowsing client-side phishing detection. | 1058 // Handles IPCs related to SafeBrowsing client-side phishing detection. |
| 1055 scoped_ptr<safe_browsing::ClientSideDetectionHost> | 1059 scoped_ptr<safe_browsing::ClientSideDetectionHost> |
| 1056 safebrowsing_detection_host_; | 1060 safebrowsing_detection_host_; |
| 1057 | 1061 |
| 1058 // Data for loading state ---------------------------------------------------- | 1062 // Data for loading state ---------------------------------------------------- |
| 1059 | 1063 |
| 1060 // Indicates whether we're currently loading a resource. | 1064 // Indicates whether we're currently loading a resource. |
| 1061 bool is_loading_; | 1065 bool is_loading_; |
| 1062 | 1066 |
| 1063 // Indicates if the tab is considered crashed. | 1067 // Indicates if the tab is considered crashed. |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1203 ObserverList<TabContentsObserver> observers_; | 1207 ObserverList<TabContentsObserver> observers_; |
| 1204 | 1208 |
| 1205 // Content restrictions, used to disable print/copy etc based on content's | 1209 // Content restrictions, used to disable print/copy etc based on content's |
| 1206 // (full-page plugins for now only) permissions. | 1210 // (full-page plugins for now only) permissions. |
| 1207 int content_restrictions_; | 1211 int content_restrictions_; |
| 1208 | 1212 |
| 1209 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1213 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1210 }; | 1214 }; |
| 1211 | 1215 |
| 1212 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1216 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |