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

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

Issue 2157963002: Improve grammar in some comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: maxiumum Created 4 years, 5 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_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 15 matching lines...) Expand all
26 @end 26 @end
27 27
28 @interface PanelWindowControllerCocoa : NSWindowController 28 @interface PanelWindowControllerCocoa : NSWindowController
29 <NSWindowDelegate, 29 <NSWindowDelegate,
30 NSAnimationDelegate> { 30 NSAnimationDelegate> {
31 @private 31 @private
32 IBOutlet PanelTitlebarViewCocoa* titlebar_view_; 32 IBOutlet PanelTitlebarViewCocoa* titlebar_view_;
33 std::unique_ptr<PanelCocoa> windowShim_; 33 std::unique_ptr<PanelCocoa> windowShim_;
34 base::scoped_nsobject<NSString> pendingWindowTitle_; 34 base::scoped_nsobject<NSString> pendingWindowTitle_;
35 NSViewAnimation* boundsAnimation_; // Lifetime controlled manually, needs 35 NSViewAnimation* boundsAnimation_; // Lifetime controlled manually, needs
36 // more then just |release| to terminate. 36 // more than just |release| to terminate.
37 BOOL animateOnBoundsChange_; 37 BOOL animateOnBoundsChange_;
38 BOOL throbberShouldSpin_; 38 BOOL throbberShouldSpin_;
39 BOOL playingMinimizeAnimation_; 39 BOOL playingMinimizeAnimation_;
40 float animationStopToShowTitlebarOnly_; 40 float animationStopToShowTitlebarOnly_;
41 BOOL canBecomeKeyWindow_; 41 BOOL canBecomeKeyWindow_;
42 // Allow a panel to become key if activated via Panel logic, as opposed 42 // Allow a panel to become key if activated via Panel logic, as opposed
43 // to by default system selection. The system will prefer a panel 43 // to by default system selection. The system will prefer a panel
44 // window over other application windows due to panels having a higher 44 // window over other application windows due to panels having a higher
45 // priority NSWindowLevel, so we distinguish between the two scenarios. 45 // priority NSWindowLevel, so we distinguish between the two scenarios.
46 BOOL activationRequestedByPanel_; 46 BOOL activationRequestedByPanel_;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 // Returns true if the user-resizing is allowed for the edge/corner close to 159 // Returns true if the user-resizing is allowed for the edge/corner close to
160 // current mouse location. 160 // current mouse location.
161 - (BOOL)canResizeByMouseAtCurrentLocation; 161 - (BOOL)canResizeByMouseAtCurrentLocation;
162 162
163 - (NSRect)frameRectForContentRect:(NSRect)contentRect; 163 - (NSRect)frameRectForContentRect:(NSRect)contentRect;
164 - (NSRect)contentRectForFrameRect:(NSRect)frameRect; 164 - (NSRect)contentRectForFrameRect:(NSRect)frameRect;
165 165
166 @end // @interface PanelWindowController 166 @end // @interface PanelWindowController
167 167
168 #endif // CHROME_BROWSER_UI_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 168 #endif // CHROME_BROWSER_UI_COCOA_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/ash/launcher/chrome_launcher_controller_impl_unittest.cc ('k') | chrome/browser/ui/panels/panel_constants.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698