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" | |
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/tab_contents/core_tab_helper_delegate.h" | 30 #include "chrome/browser/ui/tab_contents/core_tab_helper_delegate.h" |
(...skipping 10 matching lines...) Expand all Loading... |
42 #include "content/public/common/page_zoom.h" | 41 #include "content/public/common/page_zoom.h" |
43 #include "ui/base/dialogs/select_file_dialog.h" | 42 #include "ui/base/dialogs/select_file_dialog.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 827 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
889 | 889 |
890 // Helper which implements the TabRestoreServiceDelegate interface. | 890 // Helper which implements the TabRestoreServiceDelegate interface. |
891 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_; | 891 scoped_ptr<BrowserTabRestoreServiceDelegate> tab_restore_service_delegate_; |
892 | 892 |
893 // Helper which implements the SyncedWindowDelegate interface. | 893 // Helper which implements the SyncedWindowDelegate interface. |
894 scoped_ptr<BrowserSyncedWindowDelegate> synced_window_delegate_; | 894 scoped_ptr<BrowserSyncedWindowDelegate> synced_window_delegate_; |
895 | 895 |
896 scoped_ptr<chrome::BrowserInstantController> instant_controller_; | 896 scoped_ptr<chrome::BrowserInstantController> instant_controller_; |
897 | 897 |
898 BookmarkBar::State bookmark_bar_state_; | 898 BookmarkBar::State bookmark_bar_state_; |
899 DeviceAttachedIntentSource device_attached_intent_source_; | 899 |
| 900 scoped_ptr<DeviceAttachedIntentSource> device_attached_intent_source_; |
900 | 901 |
901 scoped_refptr<FullscreenController> fullscreen_controller_; | 902 scoped_refptr<FullscreenController> fullscreen_controller_; |
902 | 903 |
903 scoped_ptr<extensions::WindowController> extension_window_controller_; | 904 scoped_ptr<extensions::WindowController> extension_window_controller_; |
904 | 905 |
905 scoped_ptr<chrome::BrowserCommandController> command_controller_; | 906 scoped_ptr<chrome::BrowserCommandController> command_controller_; |
906 | 907 |
907 // True if the browser window has been shown at least once. | 908 // True if the browser window has been shown at least once. |
908 bool window_has_shown_; | 909 bool window_has_shown_; |
909 | 910 |
910 // Currently open color chooser. Non-NULL after OpenColorChooser is called and | 911 // Currently open color chooser. Non-NULL after OpenColorChooser is called and |
911 // before DidEndColorChooser is called. | 912 // before DidEndColorChooser is called. |
912 scoped_ptr<content::ColorChooser> color_chooser_; | 913 scoped_ptr<content::ColorChooser> color_chooser_; |
913 | 914 |
914 DISALLOW_COPY_AND_ASSIGN(Browser); | 915 DISALLOW_COPY_AND_ASSIGN(Browser); |
915 }; | 916 }; |
916 | 917 |
917 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 918 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |