| 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_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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 441 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 452 void SelectLastTab(); | 452 void SelectLastTab(); |
| 453 void DuplicateTab(); | 453 void DuplicateTab(); |
| 454 void WriteCurrentURLToClipboard(); | 454 void WriteCurrentURLToClipboard(); |
| 455 void ConvertPopupToTabbedBrowser(); | 455 void ConvertPopupToTabbedBrowser(); |
| 456 // In kiosk mode, the first toggle is valid, the rest is discarded. | 456 // In kiosk mode, the first toggle is valid, the rest is discarded. |
| 457 void ToggleFullscreenMode(); | 457 void ToggleFullscreenMode(); |
| 458 void Exit(); | 458 void Exit(); |
| 459 #if defined(OS_CHROMEOS) | 459 #if defined(OS_CHROMEOS) |
| 460 void ToggleCompactNavigationBar(); | 460 void ToggleCompactNavigationBar(); |
| 461 void Search(); | 461 void Search(); |
| 462 void ShowKeyboardOverlay(); |
| 462 #endif | 463 #endif |
| 463 | 464 |
| 464 // Page-related commands | 465 // Page-related commands |
| 465 void BookmarkCurrentPage(); | 466 void BookmarkCurrentPage(); |
| 466 void SavePage(); | 467 void SavePage(); |
| 467 void ViewSource(); | 468 void ViewSource(); |
| 468 void ShowFindBar(); | 469 void ShowFindBar(); |
| 469 | 470 |
| 470 // Returns true if the Browser supports the specified feature. The value of | 471 // Returns true if the Browser supports the specified feature. The value of |
| 471 // this varies during the lifetime of the browser. For example, if the window | 472 // this varies during the lifetime of the browser. For example, if the window |
| (...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1107 // The profile's tab restore service. The service is owned by the profile, | 1108 // The profile's tab restore service. The service is owned by the profile, |
| 1108 // and we install ourselves as an observer. | 1109 // and we install ourselves as an observer. |
| 1109 TabRestoreService* tab_restore_service_; | 1110 TabRestoreService* tab_restore_service_; |
| 1110 | 1111 |
| 1111 scoped_ptr<InstantController> instant_; | 1112 scoped_ptr<InstantController> instant_; |
| 1112 | 1113 |
| 1113 DISALLOW_COPY_AND_ASSIGN(Browser); | 1114 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1114 }; | 1115 }; |
| 1115 | 1116 |
| 1116 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1117 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |