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

Side by Side Diff: chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.h

Issue 13853010: Make panels turn on or off shadow effect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedback Created 7 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 | Annotate | Revision Log
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_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
7 7
8 // A class acting as the Objective-C controller for the Panel window 8 // A class acting as the Objective-C controller for the Panel window
9 // object. Handles interactions between Cocoa and the cross-platform 9 // object. Handles interactions between Cocoa and the cross-platform
10 // code. Each window has a single titlebar and is managed/owned by Panel. 10 // code. Each window has a single titlebar and is managed/owned by Panel.
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 // version using the current panel expanstion state. 130 // version using the current panel expanstion state.
131 - (void)updateWindowLevel; 131 - (void)updateWindowLevel;
132 - (void)updateWindowLevel:(BOOL)panelIsMinimized; 132 - (void)updateWindowLevel:(BOOL)panelIsMinimized;
133 133
134 // Adjusts NSWindowCollectionBehavior based on whether panel is always on top. 134 // Adjusts NSWindowCollectionBehavior based on whether panel is always on top.
135 - (void)updateWindowCollectionBehavior; 135 - (void)updateWindowCollectionBehavior;
136 136
137 // Turns on user-resizable corners/sides indications and enables live resize. 137 // Turns on user-resizable corners/sides indications and enables live resize.
138 - (void)enableResizeByMouse:(BOOL)enable; 138 - (void)enableResizeByMouse:(BOOL)enable;
139 139
140 // Turns on/off shadow effect around the window shape.
141 - (void)showShadow:(BOOL)show;
142
140 - (NSRect)frameRectForContentRect:(NSRect)contentRect; 143 - (NSRect)frameRectForContentRect:(NSRect)contentRect;
141 - (NSRect)contentRectForFrameRect:(NSRect)frameRect; 144 - (NSRect)contentRectForFrameRect:(NSRect)frameRect;
142 145
143 @end // @interface PanelWindowController 146 @end // @interface PanelWindowController
144 147
145 #endif // CHROME_BROWSER_UI_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 148 #endif // CHROME_BROWSER_UI_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/panels/panel_cocoa.mm ('k') | chrome/browser/ui/cocoa/panels/panel_window_controller_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698