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 521 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
532 void SelectNumberedTab(int index); | 532 void SelectNumberedTab(int index); |
533 void SelectLastTab(); | 533 void SelectLastTab(); |
534 void DuplicateTab(); | 534 void DuplicateTab(); |
535 void WriteCurrentURLToClipboard(); | 535 void WriteCurrentURLToClipboard(); |
536 void ConvertPopupToTabbedBrowser(); | 536 void ConvertPopupToTabbedBrowser(); |
537 // In kiosk mode, the first toggle is valid, the rest is discarded. | 537 // In kiosk mode, the first toggle is valid, the rest is discarded. |
538 void ToggleFullscreenMode(); | 538 void ToggleFullscreenMode(); |
539 // See the description of | 539 // See the description of |
540 // FullscreenController::ToggleFullscreenModeWithExtension. | 540 // FullscreenController::ToggleFullscreenModeWithExtension. |
541 void ToggleFullscreenModeWithExtension(const GURL& extension_url); | 541 void ToggleFullscreenModeWithExtension(const GURL& extension_url); |
| 542 #if defined(OS_WIN) |
| 543 // See the description of FullscreenController::ToggleMetroSnapMode. |
| 544 void ToggleMetroSnapMode(bool enable); |
| 545 #endif |
542 #if defined(OS_MACOSX) | 546 #if defined(OS_MACOSX) |
543 void TogglePresentationMode(); | 547 void TogglePresentationMode(); |
544 #endif | 548 #endif |
545 void Exit(); | 549 void Exit(); |
546 | 550 |
547 // Page-related commands | 551 // Page-related commands |
548 void BookmarkCurrentPage(); | 552 void BookmarkCurrentPage(); |
549 void PinCurrentPageToStartScreen(); | 553 void PinCurrentPageToStartScreen(); |
550 void SavePage(); | 554 void SavePage(); |
551 void ViewSelectedSource(); | 555 void ViewSelectedSource(); |
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1428 bool window_has_shown_; | 1432 bool window_has_shown_; |
1429 | 1433 |
1430 // Currently open color chooser. Non-NULL after OpenColorChooser is called and | 1434 // Currently open color chooser. Non-NULL after OpenColorChooser is called and |
1431 // before DidEndColorChooser is called. | 1435 // before DidEndColorChooser is called. |
1432 scoped_ptr<content::ColorChooser> color_chooser_; | 1436 scoped_ptr<content::ColorChooser> color_chooser_; |
1433 | 1437 |
1434 DISALLOW_COPY_AND_ASSIGN(Browser); | 1438 DISALLOW_COPY_AND_ASSIGN(Browser); |
1435 }; | 1439 }; |
1436 | 1440 |
1437 #endif // CHROME_BROWSER_UI_BROWSER_H_ | 1441 #endif // CHROME_BROWSER_UI_BROWSER_H_ |
OLD | NEW |