summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/browser_commands_mac.h
blob: 5fac3c62f488344678c7e8a616f80ecebc7e4bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_BROWSER_COMMANDS_MAC_H_
#define CHROME_BROWSER_UI_BROWSER_COMMANDS_MAC_H_

class Browser;

namespace chrome {

// Enters Mac OSX 10.7 Lion Fullscreen mode, with browser chrome displayed.
// On earlier OSX versions, falls back to presentation mode.
void ToggleFullscreenWithToolbarOrFallback(Browser* browser);

// Toggles the visibility of the toolbar in fullscreen mode.
void ToggleFullscreenToolbar(Browser* browser);

}  // namespace chrome

#endif  // CHROME_BROWSER_UI_BROWSER_COMMANDS_MAC_H_