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

Side by Side Diff: chrome/browser/ui/cocoa/apps/native_app_window_cocoa.h

Issue 23494065: Fix restoring a window after maximizing it. (Mac) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add comment Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_APPS_NATIVE_APP_WINDOW_COCOA_H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_
6 #define CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_ 6 #define CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 70
71 // Called when the window is about to be closed. 71 // Called when the window is about to be closed.
72 void WindowWillClose(); 72 void WindowWillClose();
73 73
74 // Called when the window is focused. 74 // Called when the window is focused.
75 void WindowDidBecomeKey(); 75 void WindowDidBecomeKey();
76 76
77 // Called when the window is defocused. 77 // Called when the window is defocused.
78 void WindowDidResignKey(); 78 void WindowDidResignKey();
79 79
80 // Called when the window is resized. 80 // Called when the window finishes resizing, i.e. after zoom/unzoom, after
81 // entering/leaving fullscreen, and after a user is done resizing.
82 void WindowDidFinishResize();
83
84 // Called when the window is resized. This is called repeatedly during a
85 // zoom/unzoom, and while a user is resizing.
81 void WindowDidResize(); 86 void WindowDidResize();
82 87
83 // Called when the window is moved. 88 // Called when the window is moved.
84 void WindowDidMove(); 89 void WindowDidMove();
85 90
86 // Called when the window is minimized. 91 // Called when the window is minimized.
87 void WindowDidMiniaturize(); 92 void WindowDidMiniaturize();
88 93
89 // Called when the window is un-minimized. 94 // Called when the window is un-minimized.
90 void WindowDidDeminiaturize(); 95 void WindowDidDeminiaturize();
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 NSPoint last_mouse_location_; 212 NSPoint last_mouse_location_;
208 213
209 // The Extension Command Registry used to determine which keyboard events to 214 // The Extension Command Registry used to determine which keyboard events to
210 // handle. 215 // handle.
211 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_; 216 scoped_ptr<ExtensionKeybindingRegistryCocoa> extension_keybinding_registry_;
212 217
213 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa); 218 DISALLOW_COPY_AND_ASSIGN(NativeAppWindowCocoa);
214 }; 219 };
215 220
216 #endif // CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_ 221 #endif // CHROME_BROWSER_UI_COCOA_APPS_NATIVE_APP_WINDOW_COCOA_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/cocoa/apps/native_app_window_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698