OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_BROWSER_H_ | 5 #ifndef CHROME_BROWSER_BROWSER_H_ |
6 #define CHROME_BROWSER_BROWSER_H_ | 6 #define CHROME_BROWSER_BROWSER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <set> | 9 #include <set> |
10 #include <vector> | 10 #include <vector> |
11 | 11 |
12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
14 #include "base/scoped_ptr.h" | 14 #include "base/scoped_ptr.h" |
15 #include "chrome/browser/command_updater.h" | 15 #include "chrome/browser/command_updater.h" |
| 16 #include "chrome/browser/debugger/devtools_toggle_action.h" |
16 #include "chrome/browser/pref_member.h" | 17 #include "chrome/browser/pref_member.h" |
17 #include "chrome/browser/sessions/session_id.h" | 18 #include "chrome/browser/sessions/session_id.h" |
18 #include "chrome/browser/sessions/tab_restore_service.h" | 19 #include "chrome/browser/sessions/tab_restore_service.h" |
19 #include "chrome/browser/shell_dialogs.h" | 20 #include "chrome/browser/shell_dialogs.h" |
20 #include "chrome/browser/sync/profile_sync_service_observer.h" | 21 #include "chrome/browser/sync/profile_sync_service_observer.h" |
21 #include "chrome/browser/tabs/tab_strip_model.h" | 22 #include "chrome/browser/tabs/tab_strip_model.h" |
22 #include "chrome/browser/tab_contents/page_navigator.h" | 23 #include "chrome/browser/tab_contents/page_navigator.h" |
23 #include "chrome/browser/tab_contents/tab_contents_delegate.h" | 24 #include "chrome/browser/tab_contents/tab_contents_delegate.h" |
24 #include "chrome/browser/toolbar_model.h" | 25 #include "chrome/browser/toolbar_model.h" |
25 #include "chrome/common/extensions/extension.h" | 26 #include "chrome/common/extensions/extension.h" |
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 void FocusSearch(); | 490 void FocusSearch(); |
490 void FocusPageAndAppMenus(); | 491 void FocusPageAndAppMenus(); |
491 void FocusBookmarksToolbar(); | 492 void FocusBookmarksToolbar(); |
492 void FocusChromeOSStatus(); | 493 void FocusChromeOSStatus(); |
493 void FocusNextPane(); | 494 void FocusNextPane(); |
494 void FocusPreviousPane(); | 495 void FocusPreviousPane(); |
495 | 496 |
496 // Show various bits of UI | 497 // Show various bits of UI |
497 void OpenFile(); | 498 void OpenFile(); |
498 void OpenCreateShortcutsDialog(); | 499 void OpenCreateShortcutsDialog(); |
499 void ToggleDevToolsWindow(bool open_console); | 500 void ToggleDevToolsWindow(DevToolsToggleAction action); |
500 void OpenTaskManager(); | 501 void OpenTaskManager(); |
501 void OpenBugReportDialog(); | 502 void OpenBugReportDialog(); |
502 | 503 |
503 void ToggleBookmarkBar(); | 504 void ToggleBookmarkBar(); |
504 void ToggleExtensionShelf(); | 505 void ToggleExtensionShelf(); |
505 | 506 |
506 void OpenBookmarkManager(); | 507 void OpenBookmarkManager(); |
507 void ShowAppMenu(); | 508 void ShowAppMenu(); |
508 void ShowPageMenu(); | 509 void ShowPageMenu(); |
509 void ShowBookmarkManagerTab(); | 510 void ShowBookmarkManagerTab(); |
(...skipping 550 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1060 mutable BooleanPrefMember use_vertical_tabs_; | 1061 mutable BooleanPrefMember use_vertical_tabs_; |
1061 | 1062 |
1062 // The profile's tab restore service. The service is owned by the profile, | 1063 // The profile's tab restore service. The service is owned by the profile, |
1063 // and we install ourselves as an observer. | 1064 // and we install ourselves as an observer. |
1064 TabRestoreService* tab_restore_service_; | 1065 TabRestoreService* tab_restore_service_; |
1065 | 1066 |
1066 DISALLOW_COPY_AND_ASSIGN(Browser); | 1067 DISALLOW_COPY_AND_ASSIGN(Browser); |
1067 }; | 1068 }; |
1068 | 1069 |
1069 #endif // CHROME_BROWSER_BROWSER_H_ | 1070 #endif // CHROME_BROWSER_BROWSER_H_ |
OLD | NEW |