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

Side by Side Diff: chrome/browser/ui/cocoa/constrained_window/constrained_window_sheet_controller.h

Issue 653733002: Revert of Mac: Update sheet position when bookmark bar is shown or hidden. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 2 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 #ifndef CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_CONT ROLLER_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_CONT ROLLER_H_
6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_CONT ROLLER_H_ 6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_CONT ROLLER_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // sheet then the sheet is made visible. 52 // sheet then the sheet is made visible.
53 - (void)parentViewDidBecomeActive:(NSView*)parentView; 53 - (void)parentViewDidBecomeActive:(NSView*)parentView;
54 54
55 // Run a pulse animation for the given sheet. This does nothing if the sheet 55 // Run a pulse animation for the given sheet. This does nothing if the sheet
56 // is not visible. 56 // is not visible.
57 - (void)pulseSheet:(id<ConstrainedWindowSheet>)sheet; 57 - (void)pulseSheet:(id<ConstrainedWindowSheet>)sheet;
58 58
59 // Gets the number of sheets attached to the controller's window. 59 // Gets the number of sheets attached to the controller's window.
60 - (int)sheetCount; 60 - (int)sheetCount;
61 61
62 // Update the sheet's position, for example when the bookmark bar was shown or
63 // hidden.
64 - (void)updateSheetPosition;
65
66 @end 62 @end
67 63
68 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_C ONTROLLER_H_ 64 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_SHEET_C ONTROLLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698