| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 529 void SelectPreviousTab(); | 529 void SelectPreviousTab(); |
| 530 void OpenTabpose(); | 530 void OpenTabpose(); |
| 531 void MoveTabNext(); | 531 void MoveTabNext(); |
| 532 void MoveTabPrevious(); | 532 void MoveTabPrevious(); |
| 533 void SelectNumberedTab(int index); | 533 void SelectNumberedTab(int index); |
| 534 void SelectLastTab(); | 534 void SelectLastTab(); |
| 535 void DuplicateTab(); | 535 void DuplicateTab(); |
| 536 void WriteCurrentURLToClipboard(); | 536 void WriteCurrentURLToClipboard(); |
| 537 void ConvertPopupToTabbedBrowser(); | 537 void ConvertPopupToTabbedBrowser(); |
| 538 // In kiosk mode, the first toggle is valid, the rest is discarded. | 538 // In kiosk mode, the first toggle is valid, the rest is discarded. |
| 539 void ToggleFullscreenMode(bool from_tab); | 539 void ToggleFullscreenMode(); |
| 540 // See the description of |
| 541 // FullscreenController::ToggleFullscreenModeWithExtension. |
| 542 void ToggleFullscreenModeWithExtension(const Extension& extension); |
| 540 #if defined(OS_MACOSX) | 543 #if defined(OS_MACOSX) |
| 541 void TogglePresentationMode(bool from_tab); | 544 void TogglePresentationMode(); |
| 542 #endif | 545 #endif |
| 543 void Exit(); | 546 void Exit(); |
| 544 #if defined(OS_CHROMEOS) | 547 #if defined(OS_CHROMEOS) |
| 545 void Search(); | 548 void Search(); |
| 546 void ShowKeyboardOverlay(); | 549 void ShowKeyboardOverlay(); |
| 547 #endif | 550 #endif |
| 548 | 551 |
| 549 // Page-related commands | 552 // Page-related commands |
| 550 void BookmarkCurrentPage(); | 553 void BookmarkCurrentPage(); |
| 551 void SavePage(); | 554 void SavePage(); |
| (...skipping 893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1445 | 1448 |
| 1446 scoped_refptr<FullscreenController> fullscreen_controller_; | 1449 scoped_refptr<FullscreenController> fullscreen_controller_; |
| 1447 | 1450 |
| 1448 // True if the browser window has been shown at least once. | 1451 // True if the browser window has been shown at least once. |
| 1449 bool window_has_shown_; | 1452 bool window_has_shown_; |
| 1450 | 1453 |
| 1451 DISALLOW_COPY_AND_ASSIGN(Browser); | 1454 DISALLOW_COPY_AND_ASSIGN(Browser); |
| 1452 }; | 1455 }; |
| 1453 | 1456 |
| 1454 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1457 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
| OLD | NEW |