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

Side by Side Diff: chrome/browser/ui/cocoa/browser_window_cocoa.mm

Issue 1036173002: Animate showing / hiding the location bar for bookmark apps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix stuffup Created 5 years, 8 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 unified diff | Download patch
OLDNEW
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 #include "chrome/browser/ui/cocoa/browser_window_cocoa.h" 5 #include "chrome/browser/ui/cocoa/browser_window_cocoa.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/command_line.h" 8 #include "base/command_line.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #import "base/mac/sdk_forward_declarations.h" 10 #import "base/mac/sdk_forward_declarations.h"
(...skipping 458 matching lines...) Expand 10 before | Expand all | Expand 10 after
469 } 469 }
470 470
471 void BrowserWindowCocoa::ResetToolbarTabState(content::WebContents* contents) { 471 void BrowserWindowCocoa::ResetToolbarTabState(content::WebContents* contents) {
472 [controller_ resetTabState:contents]; 472 [controller_ resetTabState:contents];
473 } 473 }
474 474
475 void BrowserWindowCocoa::FocusToolbar() { 475 void BrowserWindowCocoa::FocusToolbar() {
476 // Not needed on the Mac. 476 // Not needed on the Mac.
477 } 477 }
478 478
479 void BrowserWindowCocoa::ToolbarSizeChanged(bool is_animating) {
480 // Not needed on the Mac.
481 }
482
479 void BrowserWindowCocoa::FocusAppMenu() { 483 void BrowserWindowCocoa::FocusAppMenu() {
480 // Chrome uses the standard Mac OS X menu bar, so this isn't needed. 484 // Chrome uses the standard Mac OS X menu bar, so this isn't needed.
481 } 485 }
482 486
483 void BrowserWindowCocoa::RotatePaneFocus(bool forwards) { 487 void BrowserWindowCocoa::RotatePaneFocus(bool forwards) {
484 // Not needed on the Mac. 488 // Not needed on the Mac.
485 } 489 }
486 490
487 void BrowserWindowCocoa::FocusBookmarksToolbar() { 491 void BrowserWindowCocoa::FocusBookmarksToolbar() {
488 // Not needed on the Mac. 492 // Not needed on the Mac.
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
836 void BrowserWindowCocoa::UnhideDownloadShelf() { 840 void BrowserWindowCocoa::UnhideDownloadShelf() {
837 GetDownloadShelf()->Unhide(); 841 GetDownloadShelf()->Unhide();
838 } 842 }
839 843
840 void BrowserWindowCocoa::HideDownloadShelf() { 844 void BrowserWindowCocoa::HideDownloadShelf() {
841 GetDownloadShelf()->Hide(); 845 GetDownloadShelf()->Hide();
842 StatusBubble* statusBubble = GetStatusBubble(); 846 StatusBubble* statusBubble = GetStatusBubble();
843 if (statusBubble) 847 if (statusBubble)
844 statusBubble->Hide(); 848 statusBubble->Hide();
845 } 849 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/browser_window_cocoa.h ('k') | chrome/browser/ui/cocoa/location_bar/location_bar_view_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698