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

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

Issue 7983027: Typo fix, since we use screens not screeens. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
6 #define CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 6 #define CHROME_BROWSER_UI_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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 87
88 // Used by PanelTitlebarViewCocoa when user rearranges the Panels by dragging. 88 // Used by PanelTitlebarViewCocoa when user rearranges the Panels by dragging.
89 - (void)startDrag; 89 - (void)startDrag;
90 - (void)endDrag:(BOOL)cancelled; 90 - (void)endDrag:(BOOL)cancelled;
91 - (void)dragWithDeltaX:(int)deltaX; 91 - (void)dragWithDeltaX:(int)deltaX;
92 92
93 // Accessor for titlebar view. 93 // Accessor for titlebar view.
94 - (PanelTitlebarViewCocoa*)titlebarView; 94 - (PanelTitlebarViewCocoa*)titlebarView;
95 // Returns the height of titlebar, used to show the titlebar in 95 // Returns the height of titlebar, used to show the titlebar in
96 // "Draw Attention" state. 96 // "Draw Attention" state.
97 - (int)titlebarHeightInScreeenCoordinates; 97 - (int)titlebarHeightInScreenCoordinates;
98 98
99 // Invoked when user clicks on the titlebar. Flips Minimized/Restored states. 99 // Invoked when user clicks on the titlebar. Flips Minimized/Restored states.
100 - (void)flipExpansionState; 100 - (void)flipExpansionState;
101 101
102 // Executes the command in the context of the current browser. 102 // Executes the command in the context of the current browser.
103 // |command| is an integer value containing one of the constants defined in the 103 // |command| is an integer value containing one of the constants defined in the
104 // "chrome/app/chrome_command_ids.h" file. 104 // "chrome/app/chrome_command_ids.h" file.
105 - (void)executeCommand:(int)command; 105 - (void)executeCommand:(int)command;
106 106
107 // Invokes the settings menu when the settings button is pressed. 107 // Invokes the settings menu when the settings button is pressed.
108 - (void)runSettingsMenu:(NSView*)button; 108 - (void)runSettingsMenu:(NSView*)button;
109 109
110 // NSAnimationDelegate method, invoked when bounds animation is finished. 110 // NSAnimationDelegate method, invoked when bounds animation is finished.
111 - (void)animationDidEnd:(NSAnimation*)animation; 111 - (void)animationDidEnd:(NSAnimation*)animation;
112 // Terminates current bounds animation, if any. 112 // Terminates current bounds animation, if any.
113 - (void)terminateBoundsAnimation; 113 - (void)terminateBoundsAnimation;
114 114
115 @end // @interface PanelWindowController 115 @end // @interface PanelWindowController
116 116
117 // Methods which are either only for testing, or only public for testing. 117 // Methods which are either only for testing, or only public for testing.
118 @interface PanelWindowControllerCocoa(TestingAPI) 118 @interface PanelWindowControllerCocoa(TestingAPI)
119 119
120 + (void)enableBoundsAnimationNotifications; 120 + (void)enableBoundsAnimationNotifications;
121 121
122 @end // @interface PanelWindowControllerCocoa(TestingAPI) 122 @end // @interface PanelWindowControllerCocoa(TestingAPI)
123 123
124 #endif // CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_ 124 #endif // CHROME_BROWSER_UI_PANELS_PANEL_WINDOW_CONTROLLER_COCOA_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/panels/panel_browser_window_cocoa.mm ('k') | chrome/browser/ui/panels/panel_window_controller_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698