OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_UI_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_UI_BROWSER_H_ |
6 #define CHROME_BROWSER_UI_BROWSER_H_ | 6 #define CHROME_BROWSER_UI_BROWSER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "base/basictypes.h" | 13 #include "base/basictypes.h" |
14 #include "base/compiler_specific.h" | 14 #include "base/compiler_specific.h" |
15 #include "base/gtest_prod_util.h" | 15 #include "base/gtest_prod_util.h" |
16 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
17 #include "base/memory/weak_ptr.h" | 17 #include "base/memory/weak_ptr.h" |
18 #include "base/prefs/pref_change_registrar.h" | 18 #include "base/prefs/pref_change_registrar.h" |
19 #include "base/prefs/pref_member.h" | 19 #include "base/prefs/pref_member.h" |
20 #include "base/scoped_observer.h" | 20 #include "base/scoped_observer.h" |
21 #include "base/strings/string16.h" | 21 #include "base/strings/string16.h" |
22 #include "chrome/browser/devtools/devtools_toggle_action.h" | 22 #include "chrome/browser/devtools/devtools_toggle_action.h" |
23 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" | 23 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" |
24 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper_delegate.h" | 24 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper_delegate.h" |
25 #include "chrome/browser/ui/browser_navigator.h" | 25 #include "chrome/browser/ui/browser_navigator.h" |
26 #include "chrome/browser/ui/chrome_bubble_manager.h" | 26 #include "chrome/browser/ui/chrome_bubble_manager.h" |
27 #include "chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.h" | 27 #include "chrome/browser/ui/chrome_web_modal_dialog_manager_delegate.h" |
28 #include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h" | 28 #include "chrome/browser/ui/exclusive_access/exclusive_access_manager.h" |
29 #include "chrome/browser/ui/host_desktop.h" | |
30 #include "chrome/browser/ui/search/search_tab_helper_delegate.h" | 29 #include "chrome/browser/ui/search/search_tab_helper_delegate.h" |
31 #include "chrome/browser/ui/search_engines/search_engine_tab_helper_delegate.h" | 30 #include "chrome/browser/ui/search_engines/search_engine_tab_helper_delegate.h" |
32 #include "chrome/browser/ui/tab_contents/core_tab_helper_delegate.h" | 31 #include "chrome/browser/ui/tab_contents/core_tab_helper_delegate.h" |
33 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" | 32 #include "chrome/browser/ui/tabs/tab_strip_model_observer.h" |
34 #include "components/content_settings/core/common/content_settings.h" | 33 #include "components/content_settings/core/common/content_settings.h" |
35 #include "components/content_settings/core/common/content_settings_types.h" | 34 #include "components/content_settings/core/common/content_settings_types.h" |
36 #include "components/sessions/session_id.h" | 35 #include "components/sessions/session_id.h" |
37 #include "components/toolbar/toolbar_model.h" | 36 #include "components/toolbar/toolbar_model.h" |
38 #include "components/translate/content/browser/content_translate_driver.h" | 37 #include "components/translate/content/browser/content_translate_driver.h" |
39 #include "components/ui/zoom/zoom_observer.h" | 38 #include "components/ui/zoom/zoom_observer.h" |
40 #include "content/public/browser/notification_observer.h" | 39 #include "content/public/browser/notification_observer.h" |
41 #include "content/public/browser/notification_registrar.h" | 40 #include "content/public/browser/notification_registrar.h" |
42 #include "content/public/browser/page_navigator.h" | 41 #include "content/public/browser/page_navigator.h" |
43 #include "content/public/browser/web_contents_delegate.h" | 42 #include "content/public/browser/web_contents_delegate.h" |
44 #include "content/public/common/page_zoom.h" | 43 #include "content/public/common/page_zoom.h" |
45 #include "ui/base/page_transition_types.h" | 44 #include "ui/base/page_transition_types.h" |
46 #include "ui/base/ui_base_types.h" | 45 #include "ui/base/ui_base_types.h" |
47 #include "ui/base/window_open_disposition.h" | 46 #include "ui/base/window_open_disposition.h" |
48 #include "ui/gfx/geometry/rect.h" | 47 #include "ui/gfx/geometry/rect.h" |
| 48 #include "ui/gfx/host_desktop_type.h" |
49 #include "ui/shell_dialogs/select_file_dialog.h" | 49 #include "ui/shell_dialogs/select_file_dialog.h" |
50 | 50 |
51 #if defined(ENABLE_EXTENSIONS) | 51 #if defined(ENABLE_EXTENSIONS) |
52 #include "extensions/browser/extension_registry_observer.h" | 52 #include "extensions/browser/extension_registry_observer.h" |
53 #endif | 53 #endif |
54 | 54 |
55 class BrowserContentSettingBubbleModelDelegate; | 55 class BrowserContentSettingBubbleModelDelegate; |
56 class BrowserInstantController; | 56 class BrowserInstantController; |
57 class BrowserSyncedWindowDelegate; | 57 class BrowserSyncedWindowDelegate; |
58 class BrowserToolbarModelDelegate; | 58 class BrowserToolbarModelDelegate; |
(...skipping 922 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
981 // The following factory is used for chrome update coalescing. | 981 // The following factory is used for chrome update coalescing. |
982 base::WeakPtrFactory<Browser> chrome_updater_factory_; | 982 base::WeakPtrFactory<Browser> chrome_updater_factory_; |
983 | 983 |
984 // The following factory is used to close the frame at a later time. | 984 // The following factory is used to close the frame at a later time. |
985 base::WeakPtrFactory<Browser> weak_factory_; | 985 base::WeakPtrFactory<Browser> weak_factory_; |
986 | 986 |
987 DISALLOW_COPY_AND_ASSIGN(Browser); | 987 DISALLOW_COPY_AND_ASSIGN(Browser); |
988 }; | 988 }; |
989 | 989 |
990 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 990 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |