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> |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
16 #include "base/scoped_ptr.h" | 16 #include "base/scoped_ptr.h" |
17 #include "base/string16.h" | 17 #include "base/string16.h" |
18 #include "chrome/browser/dom_ui/web_ui_factory.h" | |
19 #include "chrome/browser/download/save_package.h" | 18 #include "chrome/browser/download/save_package.h" |
20 #include "chrome/browser/extensions/image_loading_tracker.h" | 19 #include "chrome/browser/extensions/image_loading_tracker.h" |
21 #include "chrome/browser/fav_icon_helper.h" | 20 #include "chrome/browser/fav_icon_helper.h" |
22 #include "chrome/browser/prefs/pref_change_registrar.h" | 21 #include "chrome/browser/prefs/pref_change_registrar.h" |
23 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 22 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
24 #include "chrome/browser/tab_contents/constrained_window.h" | 23 #include "chrome/browser/tab_contents/constrained_window.h" |
25 #include "chrome/browser/tab_contents/language_state.h" | 24 #include "chrome/browser/tab_contents/language_state.h" |
26 #include "chrome/browser/tab_contents/navigation_controller.h" | 25 #include "chrome/browser/tab_contents/navigation_controller.h" |
27 #include "chrome/browser/tab_contents/navigation_entry.h" | 26 #include "chrome/browser/tab_contents/navigation_entry.h" |
28 #include "chrome/browser/tab_contents/page_navigator.h" | 27 #include "chrome/browser/tab_contents/page_navigator.h" |
29 #include "chrome/browser/tab_contents/render_view_host_manager.h" | 28 #include "chrome/browser/tab_contents/render_view_host_manager.h" |
30 #include "chrome/browser/tab_contents/tab_specific_content_settings.h" | 29 #include "chrome/browser/tab_contents/tab_specific_content_settings.h" |
31 #include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h" | 30 #include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h" |
| 31 #include "chrome/browser/webui/web_ui_factory.h" |
32 #include "chrome/common/notification_registrar.h" | 32 #include "chrome/common/notification_registrar.h" |
33 #include "chrome/common/property_bag.h" | 33 #include "chrome/common/property_bag.h" |
34 #include "chrome/common/renderer_preferences.h" | 34 #include "chrome/common/renderer_preferences.h" |
35 #include "chrome/common/translate_errors.h" | 35 #include "chrome/common/translate_errors.h" |
36 #include "chrome/common/web_apps.h" | 36 #include "chrome/common/web_apps.h" |
37 #include "net/base/load_states.h" | 37 #include "net/base/load_states.h" |
38 #include "ui/gfx/native_widget_types.h" | 38 #include "ui/gfx/native_widget_types.h" |
39 | 39 |
40 #if defined(OS_WIN) | 40 #if defined(OS_WIN) |
41 #include "base/win/scoped_handle.h" | 41 #include "base/win/scoped_handle.h" |
(...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1253 ObserverList<TabContentsObserver> observers_; | 1253 ObserverList<TabContentsObserver> observers_; |
1254 | 1254 |
1255 // Content restrictions, used to disable print/copy etc based on content's | 1255 // Content restrictions, used to disable print/copy etc based on content's |
1256 // (full-page plugins for now only) permissions. | 1256 // (full-page plugins for now only) permissions. |
1257 int content_restrictions_; | 1257 int content_restrictions_; |
1258 | 1258 |
1259 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1259 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1260 }; | 1260 }; |
1261 | 1261 |
1262 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1262 #endif // CHROME_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |