Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1212)

Side by Side Diff: chrome/browser/tab_contents/tab_contents.h

Issue 6334010: Print Preview: Store preview data in the print preview handler.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 45
46 namespace gfx { 46 namespace gfx {
47 class Rect; 47 class Rect;
48 } 48 }
49 49
50 namespace history { 50 namespace history {
51 class HistoryAddPageArgs; 51 class HistoryAddPageArgs;
52 } 52 }
53 53
54 namespace printing { 54 namespace printing {
55 class PrintPreviewMessageHandler;
55 class PrintViewManager; 56 class PrintViewManager;
56 } 57 }
57 58
58 class AutocompleteHistoryManager; 59 class AutocompleteHistoryManager;
59 class AutoFillManager; 60 class AutoFillManager;
60 class BlockedContentContainer; 61 class BlockedContentContainer;
61 class DOMUI; 62 class DOMUI;
62 class DownloadItem; 63 class DownloadItem;
63 class Extension; 64 class Extension;
64 class FileSelectHelper; 65 class FileSelectHelper;
(...skipping 1037 matching lines...) Expand 10 before | Expand all | Expand 10 after
1102 1103
1103 // Stores random bits of data for others to associate with this object. 1104 // Stores random bits of data for others to associate with this object.
1104 PropertyBag property_bag_; 1105 PropertyBag property_bag_;
1105 1106
1106 // Registers and unregisters us for notifications. 1107 // Registers and unregisters us for notifications.
1107 NotificationRegistrar registrar_; 1108 NotificationRegistrar registrar_;
1108 1109
1109 // Registers and unregisters for pref notifications. 1110 // Registers and unregisters for pref notifications.
1110 PrefChangeRegistrar pref_change_registrar_; 1111 PrefChangeRegistrar pref_change_registrar_;
1111 1112
1112 // Handles print preview and print job for this contents. 1113 // Handles print job for this contents.
1113 scoped_ptr<printing::PrintViewManager> printing_; 1114 scoped_ptr<printing::PrintViewManager> printing_;
1114 1115
1116 // Handles print preview for this contents.
1117 scoped_ptr<printing::PrintPreviewMessageHandler> print_preview_;
1118
1115 // SavePackage, lazily created. 1119 // SavePackage, lazily created.
1116 scoped_refptr<SavePackage> save_package_; 1120 scoped_refptr<SavePackage> save_package_;
1117 1121
1118 // AutocompleteHistoryManager. 1122 // AutocompleteHistoryManager.
1119 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_; 1123 scoped_ptr<AutocompleteHistoryManager> autocomplete_history_manager_;
1120 1124
1121 // AutoFillManager. 1125 // AutoFillManager.
1122 scoped_ptr<AutoFillManager> autofill_manager_; 1126 scoped_ptr<AutoFillManager> autofill_manager_;
1123 1127
1124 // PluginInstallerInfoBarDelegate, lazily created. 1128 // PluginInstallerInfoBarDelegate, lazily created.
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
1335 ObserverList<WebNavigationObserver> web_navigation_observers_; 1339 ObserverList<WebNavigationObserver> web_navigation_observers_;
1336 1340
1337 // Content restrictions, used to disable print/copy etc based on content's 1341 // Content restrictions, used to disable print/copy etc based on content's
1338 // (full-page plugins for now only) permissions. 1342 // (full-page plugins for now only) permissions.
1339 int content_restrictions_; 1343 int content_restrictions_;
1340 1344
1341 DISALLOW_COPY_AND_ASSIGN(TabContents); 1345 DISALLOW_COPY_AND_ASSIGN(TabContents);
1342 }; 1346 };
1343 1347
1344 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ 1348 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698