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> |
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/download/save_package.h" | 18 #include "chrome/browser/download/save_package.h" |
19 #include "chrome/browser/extensions/image_loading_tracker.h" | 19 #include "chrome/browser/extensions/image_loading_tracker.h" |
20 #include "chrome/browser/fav_icon_helper.h" | 20 #include "chrome/browser/fav_icon_helper.h" |
21 #include "chrome/browser/prefs/pref_change_registrar.h" | 21 #include "chrome/browser/prefs/pref_change_registrar.h" |
22 #include "chrome/browser/renderer_host/render_view_host_delegate.h" | 22 #include "chrome/browser/renderer_host/render_view_host_delegate.h" |
23 #include "chrome/browser/tab_contents/tab_specific_content_settings.h" | 23 #include "chrome/browser/tab_contents/tab_specific_content_settings.h" |
24 #include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h" | 24 #include "chrome/browser/ui/app_modal_dialogs/js_modal_dialog.h" |
25 #include "chrome/browser/webui/web_ui_factory.h" | |
26 #include "chrome/common/notification_registrar.h" | 25 #include "chrome/common/notification_registrar.h" |
27 #include "chrome/common/property_bag.h" | 26 #include "chrome/common/property_bag.h" |
28 #include "chrome/common/renderer_preferences.h" | 27 #include "chrome/common/renderer_preferences.h" |
29 #include "chrome/common/translate_errors.h" | 28 #include "chrome/common/translate_errors.h" |
30 #include "chrome/common/web_apps.h" | 29 #include "chrome/common/web_apps.h" |
31 #include "content/browser/tab_contents/constrained_window.h" | 30 #include "content/browser/tab_contents/constrained_window.h" |
32 #include "content/browser/tab_contents/language_state.h" | 31 #include "content/browser/tab_contents/language_state.h" |
33 #include "content/browser/tab_contents/navigation_controller.h" | 32 #include "content/browser/tab_contents/navigation_controller.h" |
34 #include "content/browser/tab_contents/navigation_entry.h" | 33 #include "content/browser/tab_contents/navigation_entry.h" |
35 #include "content/browser/tab_contents/page_navigator.h" | 34 #include "content/browser/tab_contents/page_navigator.h" |
36 #include "content/browser/tab_contents/render_view_host_manager.h" | 35 #include "content/browser/tab_contents/render_view_host_manager.h" |
| 36 #include "content/browser/webui/web_ui_factory.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" |
42 #endif | 42 #endif |
43 | 43 |
44 namespace gfx { | 44 namespace gfx { |
45 class Rect; | 45 class Rect; |
46 } | 46 } |
(...skipping 1211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1258 // (full-page plugins for now only) permissions. | 1258 // (full-page plugins for now only) permissions. |
1259 int content_restrictions_; | 1259 int content_restrictions_; |
1260 | 1260 |
1261 // Were the contents of this tab previously prerendered? | 1261 // Were the contents of this tab previously prerendered? |
1262 bool was_prerendered_; | 1262 bool was_prerendered_; |
1263 | 1263 |
1264 DISALLOW_COPY_AND_ASSIGN(TabContents); | 1264 DISALLOW_COPY_AND_ASSIGN(TabContents); |
1265 }; | 1265 }; |
1266 | 1266 |
1267 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ | 1267 #endif // CONTENT_BROWSER_TAB_CONTENTS_TAB_CONTENTS_H_ |
OLD | NEW |