| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 502 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 513 | 513 |
| 514 void ToggleBookmarkBar(); | 514 void ToggleBookmarkBar(); |
| 515 | 515 |
| 516 void OpenBookmarkManager(); | 516 void OpenBookmarkManager(); |
| 517 void ShowAppMenu(); | 517 void ShowAppMenu(); |
| 518 void ShowBookmarkManagerTab(); | 518 void ShowBookmarkManagerTab(); |
| 519 void ShowHistoryTab(); | 519 void ShowHistoryTab(); |
| 520 void ShowDownloadsTab(); | 520 void ShowDownloadsTab(); |
| 521 void ShowExtensionsTab(); | 521 void ShowExtensionsTab(); |
| 522 void ShowBrokenPageTab(TabContents* contents); | 522 void ShowBrokenPageTab(TabContents* contents); |
| 523 void ShowOptionsTab(); | 523 void ShowOptionsTab(const char* sub_page); |
| 524 void OpenClearBrowsingDataDialog(); | 524 void OpenClearBrowsingDataDialog(); |
| 525 void OpenOptionsDialog(); | 525 void OpenOptionsDialog(); |
| 526 void OpenKeywordEditor(); | 526 void OpenKeywordEditor(); |
| 527 void OpenPasswordManager(); | 527 void OpenPasswordManager(); |
| 528 void OpenSyncMyBookmarksDialog(); | 528 void OpenSyncMyBookmarksDialog(); |
| 529 #if defined(ENABLE_REMOTING) | 529 #if defined(ENABLE_REMOTING) |
| 530 void OpenRemotingSetupDialog(); | 530 void OpenRemotingSetupDialog(); |
| 531 #endif | 531 #endif |
| 532 void OpenImportSettingsDialog(); | 532 void OpenImportSettingsDialog(); |
| 533 void OpenAboutChromeDialog(); | 533 void OpenAboutChromeDialog(); |
| 534 void OpenUpdateChromeDialog(); | 534 void OpenUpdateChromeDialog(); |
| 535 void OpenHelpTab(); | 535 void OpenHelpTab(); |
| 536 // Used by the "Get themes" link in the options dialog. | 536 // Used by the "Get themes" link in the options dialog. |
| 537 void OpenThemeGalleryTabAndActivate(); | 537 void OpenThemeGalleryTabAndActivate(); |
| 538 void OpenAutoFillHelpTabAndActivate(); | 538 void OpenAutoFillHelpTabAndActivate(); |
| 539 void OpenPrivacyDashboardTabAndActivate(); | 539 void OpenPrivacyDashboardTabAndActivate(); |
| 540 void OpenSearchEngineOptionsDialog(); |
| 540 #if defined(OS_CHROMEOS) | 541 #if defined(OS_CHROMEOS) |
| 542 void OpenInternetOptionsDialog(); |
| 543 void OpenLanguageOptionsDialog(); |
| 541 void OpenSystemOptionsDialog(); | 544 void OpenSystemOptionsDialog(); |
| 542 void OpenInternetOptionsDialog(); | |
| 543 #endif | 545 #endif |
| 544 | 546 |
| 545 virtual void UpdateDownloadShelfVisibility(bool visible); | 547 virtual void UpdateDownloadShelfVisibility(bool visible); |
| 546 | 548 |
| 547 // Overridden from TabStripModelDelegate: | 549 // Overridden from TabStripModelDelegate: |
| 548 virtual bool UseVerticalTabs() const; | 550 virtual bool UseVerticalTabs() const; |
| 549 | 551 |
| 550 ///////////////////////////////////////////////////////////////////////////// | 552 ///////////////////////////////////////////////////////////////////////////// |
| 551 | 553 |
| 552 // Sets the value of homepage related prefs to new values. Since we do not | 554 // Sets the value of homepage related prefs to new values. Since we do not |
| (...skipping 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1079 mutable BooleanPrefMember use_vertical_tabs_; | 1081 mutable BooleanPrefMember use_vertical_tabs_; |
| 1080 | 1082 |
| 1081 // The profile's tab restore service. The service is owned by the profile, | 1083 // The profile's tab restore service. The service is owned by the profile, |
| 1082 // and we install ourselves as an observer. | 1084 // and we install ourselves as an observer. |
| 1083 TabRestoreService* tab_restore_service_; | 1085 TabRestoreService* tab_restore_service_; |
| 1084 | 1086 |
| 1085 DISALLOW_COPY_AND_ASSIGN(Browser); | 1087 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1086 }; | 1088 }; |
| 1087 | 1089 |
| 1088 #endif // CHROME_BROWSER_BROWSER_H_ | 1090 #endif // CHROME_BROWSER_BROWSER_H_ |
| OLD | NEW |