OLD | NEW |
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2009 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> |
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
326 void MoveTabNext(); | 326 void MoveTabNext(); |
327 void MoveTabPrevious(); | 327 void MoveTabPrevious(); |
328 void SelectNumberedTab(int index); | 328 void SelectNumberedTab(int index); |
329 void SelectLastTab(); | 329 void SelectLastTab(); |
330 void DuplicateTab(); | 330 void DuplicateTab(); |
331 void RestoreTab(); | 331 void RestoreTab(); |
332 void WriteCurrentURLToClipboard(); | 332 void WriteCurrentURLToClipboard(); |
333 void ConvertPopupToTabbedBrowser(); | 333 void ConvertPopupToTabbedBrowser(); |
334 void ToggleFullscreenMode(); | 334 void ToggleFullscreenMode(); |
335 void Exit(); | 335 void Exit(); |
| 336 #if defined(TOOLKIT_VIEWS) |
| 337 void ToggleCompactNavigationBar(); |
| 338 #endif |
336 | 339 |
337 // Page-related commands | 340 // Page-related commands |
338 void BookmarkCurrentPage(); | 341 void BookmarkCurrentPage(); |
339 void SavePage(); | 342 void SavePage(); |
340 void ViewSource(); | 343 void ViewSource(); |
341 void ShowFindBar(); | 344 void ShowFindBar(); |
342 | 345 |
343 // Returns true if the Browser supports the specified feature. | 346 // Returns true if the Browser supports the specified feature. |
344 virtual bool SupportsWindowFeature(WindowFeature feature) const; | 347 virtual bool SupportsWindowFeature(WindowFeature feature) const; |
345 | 348 |
(...skipping 457 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
803 // Dialog box used for opening and saving files. | 806 // Dialog box used for opening and saving files. |
804 scoped_refptr<SelectFileDialog> select_file_dialog_; | 807 scoped_refptr<SelectFileDialog> select_file_dialog_; |
805 | 808 |
806 // Keep track of the encoding auto detect pref. | 809 // Keep track of the encoding auto detect pref. |
807 BooleanPrefMember encoding_auto_detect_; | 810 BooleanPrefMember encoding_auto_detect_; |
808 | 811 |
809 DISALLOW_COPY_AND_ASSIGN(Browser); | 812 DISALLOW_COPY_AND_ASSIGN(Browser); |
810 }; | 813 }; |
811 | 814 |
812 #endif // CHROME_BROWSER_BROWSER_H_ | 815 #endif // CHROME_BROWSER_BROWSER_H_ |
OLD | NEW |