OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #include <deque> | 10 #include <deque> |
11 #include <map> | 11 #include <map> |
12 #include <set> | 12 #include <set> |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "app/gfx/native_widget_types.h" | 16 #include "app/gfx/native_widget_types.h" |
17 #include "base/basictypes.h" | 17 #include "base/basictypes.h" |
18 #include "base/gfx/rect.h" | 18 #include "base/gfx/rect.h" |
19 #include "base/scoped_ptr.h" | 19 #include "base/scoped_ptr.h" |
20 #include "chrome/browser/autocomplete/autocomplete_edit.h" | 20 #include "chrome/browser/autocomplete/autocomplete_edit.h" |
21 #include "chrome/browser/cancelable_request.h" | 21 #include "chrome/browser/cancelable_request.h" |
22 #include "chrome/browser/dom_ui/dom_ui_factory.h" | 22 #include "chrome/browser/dom_ui/dom_ui_factory.h" |
23 #include "chrome/browser/download/save_package.h" | 23 #include "chrome/browser/download/save_package.h" |
24 #include "chrome/browser/fav_icon_helper.h" | 24 #include "chrome/browser/fav_icon_helper.h" |
25 #include "chrome/browser/find_notification_details.h" | 25 #include "chrome/browser/find_notification_details.h" |
26 #include "chrome/browser/jsmessage_box_client.h" | 26 #include "chrome/browser/jsmessage_box_client.h" |
27 #include "chrome/browser/net/url_request_context_getter.h" | 27 #include "chrome/browser/net/url_request_context_getter.h" |
| 28 #include "chrome/browser/printing/print_view_manager.h" |
28 #include "chrome/browser/shell_dialogs.h" | 29 #include "chrome/browser/shell_dialogs.h" |
29 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 30 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
30 #include "chrome/browser/tab_contents/constrained_window.h" | 31 #include "chrome/browser/tab_contents/constrained_window.h" |
31 #include "chrome/browser/tab_contents/infobar_delegate.h" | 32 #include "chrome/browser/tab_contents/infobar_delegate.h" |
32 #include "chrome/browser/tab_contents/navigation_controller.h" | 33 #include "chrome/browser/tab_contents/navigation_controller.h" |
33 #include "chrome/browser/tab_contents/navigation_entry.h" | 34 #include "chrome/browser/tab_contents/navigation_entry.h" |
34 #include "chrome/browser/tab_contents/page_navigator.h" | 35 #include "chrome/browser/tab_contents/page_navigator.h" |
35 #include "chrome/browser/tab_contents/render_view_host_manager.h" | 36 #include "chrome/browser/tab_contents/render_view_host_manager.h" |
36 #include "chrome/common/content_settings_types.h" | 37 #include "chrome/common/content_settings_types.h" |
37 #include "chrome/common/extensions/url_pattern.h" | 38 #include "chrome/common/extensions/url_pattern.h" |
38 #include "chrome/common/navigation_types.h" | 39 #include "chrome/common/navigation_types.h" |
39 #include "chrome/common/notification_registrar.h" | 40 #include "chrome/common/notification_registrar.h" |
40 #include "chrome/common/property_bag.h" | 41 #include "chrome/common/property_bag.h" |
41 #include "chrome/common/renderer_preferences.h" | 42 #include "chrome/common/renderer_preferences.h" |
42 #include "net/base/load_states.h" | 43 #include "net/base/load_states.h" |
43 #include "webkit/glue/dom_operations.h" | 44 #include "webkit/glue/dom_operations.h" |
44 #include "webkit/glue/password_form.h" | 45 #include "webkit/glue/password_form.h" |
45 #include "webkit/glue/webpreferences.h" | 46 #include "webkit/glue/webpreferences.h" |
46 | 47 |
47 #if defined(OS_LINUX) | |
48 // Remove when we've finished porting the supporting classes. | |
49 #include "chrome/common/temp_scaffolding_stubs.h" | |
50 #elif defined(OS_WIN) || defined(OS_MACOSX) | |
51 #include "chrome/browser/printing/print_view_manager.h" | |
52 #endif | |
53 | |
54 namespace gfx { | 48 namespace gfx { |
55 class Rect; | 49 class Rect; |
56 class Size; | 50 class Size; |
57 } | 51 } |
58 | 52 |
59 namespace views { | 53 namespace views { |
60 class WindowDelegate; | 54 class WindowDelegate; |
61 } | 55 } |
62 | 56 |
63 namespace base { | 57 namespace base { |
(...skipping 1121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1185 // If non-null this tab is an app tab and this is the extension the tab was | 1179 // If non-null this tab is an app tab and this is the extension the tab was |
1186 // created for. | 1180 // created for. |
1187 Extension* app_extension_; | 1181 Extension* app_extension_; |
1188 | 1182 |
1189 // --------------------------------------------------------------------------- | 1183 // --------------------------------------------------------------------------- |
1190 | 1184 |
1191 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1185 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1192 }; | 1186 }; |
1193 | 1187 |
1194 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1188 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |