Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(453)

Unified Diff: chrome/browser/ui/cocoa/browser_window_controller.mm

Issue 10694031: [Mac] Remove the presentation mode button and its associated action from the tabstrip. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge origin/master Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/browser_window_controller.mm
diff --git a/chrome/browser/ui/cocoa/browser_window_controller.mm b/chrome/browser/ui/cocoa/browser_window_controller.mm
index e275d83f551131965acdcb4073e8983bec81c0cf..b454ee5377a2853056d14c55d0a6a2bd6614aaff 100644
--- a/chrome/browser/ui/cocoa/browser_window_controller.mm
+++ b/chrome/browser/ui/cocoa/browser_window_controller.mm
@@ -2000,13 +2000,6 @@ willAnimateFromState:(bookmarks::VisualState)oldState
enteringFullscreen_;
}
-- (void)togglePresentationModeForLionOrLater:(id)sender {
- // Called only by the presentation mode toggle button.
- DCHECK(base::mac::IsOSLionOrLater());
- enteredPresentationModeFromFullscreen_ = YES;
- chrome::ExecuteCommand(browser_.get(), IDC_PRESENTATION_MODE);
-}
-
// On Lion, this function is called by either the presentation mode toggle
// button or the "Enter Presentation Mode" menu item. In the latter case, this
// function also triggers the Lion machinery to enter fullscreen mode as well as
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_controller.h ('k') | chrome/browser/ui/cocoa/browser_window_controller_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698