| 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 CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| 6 #define CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 6 #define CHROME_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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 namespace gfx { | 44 namespace gfx { |
| 45 class Rect; | 45 class Rect; |
| 46 } | 46 } |
| 47 | 47 |
| 48 namespace history { | 48 namespace history { |
| 49 class HistoryAddPageArgs; | 49 class HistoryAddPageArgs; |
| 50 } | 50 } |
| 51 | 51 |
| 52 namespace printing { | 52 namespace printing { |
| 53 class PrintPreviewMessageHandler; |
| 53 class PrintViewManager; | 54 class PrintViewManager; |
| 54 } | 55 } |
| 55 | 56 |
| 56 class AutocompleteHistoryManager; | 57 class AutocompleteHistoryManager; |
| 57 class AutoFillManager; | 58 class AutoFillManager; |
| 58 class BlockedContentContainer; | 59 class BlockedContentContainer; |
| 59 class DOMUI; | 60 class DOMUI; |
| 60 class DesktopNotificationHandler; | 61 class DesktopNotificationHandler; |
| 61 class DownloadItem; | 62 class DownloadItem; |
| 62 class Extension; | 63 class Extension; |
| (...skipping 984 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1047 | 1048 |
| 1048 // Stores random bits of data for others to associate with this object. | 1049 // Stores random bits of data for others to associate with this object. |
| 1049 PropertyBag property_bag_; | 1050 PropertyBag property_bag_; |
| 1050 | 1051 |
| 1051 // Registers and unregisters us for notifications. | 1052 // Registers and unregisters us for notifications. |
| 1052 NotificationRegistrar registrar_; | 1053 NotificationRegistrar registrar_; |
| 1053 | 1054 |
| 1054 // Registers and unregisters for pref notifications. | 1055 // Registers and unregisters for pref notifications. |
| 1055 PrefChangeRegistrar pref_change_registrar_; | 1056 PrefChangeRegistrar pref_change_registrar_; |
| 1056 | 1057 |
| 1057 // Handles print preview and print job for this contents. | 1058 // Handles print job for this contents. |
| 1058 scoped_ptr<printing::PrintViewManager> printing_; | 1059 scoped_ptr<printing::PrintViewManager> printing_; |
| 1059 | 1060 |
| 1061 // Handles print preview for this contents. |
| 1062 scoped_ptr<printing::PrintPreviewMessageHandler> print_preview_; |
| 1063 |
| 1060 // SavePackage, lazily created. | 1064 // SavePackage, lazily created. |
| 1061 scoped_refptr<SavePackage> save_package_; | 1065 scoped_refptr<SavePackage> save_package_; |
| 1062 | 1066 |
| 1063 // AutocompleteHistoryManager. | 1067 // AutocompleteHistoryManager. |
| 1064 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; | 1068 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; |
| 1065 | 1069 |
| 1066 // AutoFillManager. | 1070 // AutoFillManager. |
| 1067 scoped_ptr<AutoFillManager> autofill_manager_; | 1071 scoped_ptr<AutoFillManager> autofill_manager_; |
| 1068 | 1072 |
| 1069 // Handles plugin messages. | 1073 // Handles plugin messages. |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1248 ObserverList<TabContentsObserver> observers_; | 1252 ObserverList<TabContentsObserver> observers_; |
| 1249 | 1253 |
| 1250 // Content restrictions, used to disable print/copy etc based on content's | 1254 // Content restrictions, used to disable print/copy etc based on content's |
| 1251 // (full-page plugins for now only) permissions. | 1255 // (full-page plugins for now only) permissions. |
| 1252 int content_restrictions_; | 1256 int content_restrictions_; |
| 1253 | 1257 |
| 1254 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1258 DISALLOW_COPY_AND_ASSIGN(TabContents); |
| 1255 }; | 1259 }; |
| 1256 | 1260 |
| 1257 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1261 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
| OLD | NEW |