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/string16.h" | 18 #include "base/string16.h" |
19 #include "chrome/browser/debugger/devtools_toggle_action.h" | 19 #include "chrome/browser/debugger/devtools_toggle_action.h" |
20 #include "chrome/browser/event_disposition.h" | 20 #include "chrome/browser/event_disposition.h" |
21 #include "chrome/browser/intents/device_attached_intent_source.h" | |
Lei Zhang
2012/07/19 22:35:17
Trying to keep browser.h as small as possible, sin
| |
22 #include "chrome/browser/prefs/pref_change_registrar.h" | 21 #include "chrome/browser/prefs/pref_change_registrar.h" |
23 #include "chrome/browser/prefs/pref_member.h" | 22 #include "chrome/browser/prefs/pref_member.h" |
24 #include "chrome/browser/sessions/session_id.h" | 23 #include "chrome/browser/sessions/session_id.h" |
25 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate. h" | 24 #include "chrome/browser/ui/blocked_content/blocked_content_tab_helper_delegate. h" |
26 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" | 25 #include "chrome/browser/ui/bookmarks/bookmark_bar.h" |
27 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper_delegate.h" | 26 #include "chrome/browser/ui/bookmarks/bookmark_tab_helper_delegate.h" |
28 #include "chrome/browser/ui/browser_navigator.h" | 27 #include "chrome/browser/ui/browser_navigator.h" |
29 #include "chrome/browser/ui/constrained_window_tab_helper_delegate.h" | 28 #include "chrome/browser/ui/constrained_window_tab_helper_delegate.h" |
30 #include "chrome/browser/ui/search_engines/search_engine_tab_helper_delegate.h" | 29 #include "chrome/browser/ui/search_engines/search_engine_tab_helper_delegate.h" |
31 #include "chrome/browser/ui/select_file_dialog.h" | 30 #include "chrome/browser/ui/select_file_dialog.h" |
(...skipping 10 matching lines...) Expand all Loading... | |
42 #include "content/public/common/page_transition_types.h" | 41 #include "content/public/common/page_transition_types.h" |
43 #include "content/public/common/page_zoom.h" | 42 #include "content/public/common/page_zoom.h" |
44 #include "ui/base/ui_base_types.h" | 43 #include "ui/base/ui_base_types.h" |
45 #include "ui/gfx/rect.h" | 44 #include "ui/gfx/rect.h" |
46 | 45 |
47 class BrowserContentSettingBubbleModelDelegate; | 46 class BrowserContentSettingBubbleModelDelegate; |
48 class BrowserSyncedWindowDelegate; | 47 class BrowserSyncedWindowDelegate; |
49 class BrowserToolbarModelDelegate; | 48 class BrowserToolbarModelDelegate; |
50 class BrowserTabRestoreServiceDelegate; | 49 class BrowserTabRestoreServiceDelegate; |
51 class BrowserWindow; | 50 class BrowserWindow; |
51 class DeviceAttachedIntentSource; | |
52 class FindBarController; | 52 class FindBarController; |
53 class FullscreenController; | 53 class FullscreenController; |
54 class PrefService; | 54 class PrefService; |
55 class Profile; | 55 class Profile; |
56 class SkBitmap; | 56 class SkBitmap; |
57 class StatusBubble; | 57 class StatusBubble; |
58 class TabNavigation; | 58 class TabNavigation; |
59 class TabStripModel; | 59 class TabStripModel; |
60 class TabStripModelDelegate; | 60 class TabStripModelDelegate; |
61 struct WebApplicationInfo; | 61 struct WebApplicationInfo; |
(...skipping 844 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
906 | 906 |
907 // Helper which implements the TabRestoreServiceDelegate interface. | 907 // Helper which implements the TabRestoreServiceDelegate interface. |
908 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_; | 908 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_; |
909 | 909 |
910 // Helper which implements the SyncedWindowDelegate interface. | 910 // Helper which implements the SyncedWindowDelegate interface. |
911 scoped_ptr<BrowserSyncedWindowDelegate> synced_window_delegate_; | 911 scoped_ptr<BrowserSyncedWindowDelegate> synced_window_delegate_; |
912 | 912 |
913 scoped_ptr<chrome::BrowserInstantController> instant_controller_; | 913 scoped_ptr<chrome::BrowserInstantController> instant_controller_; |
914 | 914 |
915 BookmarkBar::State bookmark_bar_state_; | 915 BookmarkBar::State bookmark_bar_state_; |
916 DeviceAttachedIntentSource device_attached_intent_source_; | 916 |
917 scoped_ptr<DeviceAttachedIntentSource> device_attached_intent_source_; | |
917 | 918 |
918 scoped_refptr<FullscreenController> fullscreen_controller_; | 919 scoped_refptr<FullscreenController> fullscreen_controller_; |
919 | 920 |
920 scoped_ptr<extensions::WindowController> extension_window_controller_; | 921 scoped_ptr<extensions::WindowController> extension_window_controller_; |
921 | 922 |
922 scoped_ptr<chrome::BrowserCommandController> command_controller_; | 923 scoped_ptr<chrome::BrowserCommandController> command_controller_; |
923 | 924 |
924 // True if the browser window has been shown at least once. | 925 // True if the browser window has been shown at least once. |
925 bool window_has_shown_; | 926 bool window_has_shown_; |
926 | 927 |
927 // Currently open color chooser. Non-NULL after OpenColorChooser is called and | 928 // Currently open color chooser. Non-NULL after OpenColorChooser is called and |
928 // before DidEndColorChooser is called. | 929 // before DidEndColorChooser is called. |
929 scoped_ptr<content::ColorChooser> color_chooser_; | 930 scoped_ptr<content::ColorChooser> color_chooser_; |
930 | 931 |
931 DISALLOW_COPY_AND_ASSIGN(Browser); | 932 DISALLOW_COPY_AND_ASSIGN(Browser); |
932 }; | 933 }; |
933 | 934 |
934 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 935 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |