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

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

Issue 17593006: mac: Update clients of scoped_nsobject.h. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: iwyu, scoped_nsprotocol Created 7 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 | 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_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_ANIMATION_ H_ 5 #ifndef CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_ANIMATION_ H_
6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_ANIMATION_ H_ 6 #define CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_ANIMATION_ H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/memory/scoped_nsobject.h" 10 #include "base/mac/scoped_nsobject.h"
11 11
12 // Base class for all constrained window animation classes. 12 // Base class for all constrained window animation classes.
13 @interface ConstrainedWindowAnimationBase : NSAnimation { 13 @interface ConstrainedWindowAnimationBase : NSAnimation {
14 @protected 14 @protected
15 scoped_nsobject<NSWindow> window_; 15 base::scoped_nsobject<NSWindow> window_;
16 } 16 }
17 17
18 - (id)initWithWindow:(NSWindow*)window; 18 - (id)initWithWindow:(NSWindow*)window;
19 19
20 @end 20 @end
21 21
22 // An animation to show a window. 22 // An animation to show a window.
23 @interface ConstrainedWindowAnimationShow : ConstrainedWindowAnimationBase 23 @interface ConstrainedWindowAnimationShow : ConstrainedWindowAnimationBase
24 @end 24 @end
25 25
26 // An animation to hide a window. 26 // An animation to hide a window.
27 @interface ConstrainedWindowAnimationHide : ConstrainedWindowAnimationBase 27 @interface ConstrainedWindowAnimationHide : ConstrainedWindowAnimationBase
28 @end 28 @end
29 29
30 // An animation that pulses the window by growing it then shrinking it back. 30 // An animation that pulses the window by growing it then shrinking it back.
31 @interface ConstrainedWindowAnimationPulse : ConstrainedWindowAnimationBase 31 @interface ConstrainedWindowAnimationPulse : ConstrainedWindowAnimationBase
32 @end 32 @end
33 33
34 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_ANIMATI ON_H_ 34 #endif // CHROME_BROWSER_UI_COCOA_CONSTRAINED_WINDOW_CONSTRAINED_WINDOW_ANIMATI ON_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698