Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #import <Cocoa/Cocoa.h> | |
| 6 | |
| 7 #import "base/mac/cocoa_protocols.h" | |
| 8 #include "base/memory/scoped_nsobject.h" | |
| 9 #include "googleurl/src/gurl.h" | |
| 10 | |
| 11 @class AnimatableView; | |
| 12 class TabContentsWrapper; | |
| 13 | |
| 14 @interface FullscreenExitBubbleController : | |
|
Nico
2011/09/15 04:37:32
class comment
jeremya
2011/09/15 06:33:28
Done.
| |
| 15 NSViewController<NSTextViewDelegate> { | |
| 16 @private | |
| 17 BrowserWindowController* owner_; // weak | |
| 18 Browser* browser_; // weak | |
| 19 | |
| 20 @protected | |
| 21 IBOutlet NSTextField* exitLabelPlaceholder_; | |
| 22 | |
| 23 // Text fields don't work as well with embedded links as text views, but | |
| 24 // text views cannot conveniently be created in IB. The xib file contains | |
| 25 // a text field |exitLabelPlaceholder_| that's replaced by this text view | |
| 26 // |exitLabel_| in -awakeFromNib. | |
| 27 scoped_nsobject<NSTextView> exitLabel_; | |
| 28 | |
| 29 scoped_nsobject<NSTimer> hideTimer_; | |
| 30 NSAnimation* hideAnimation_; | |
|
Nico
2011/09/15 04:37:32
scoped_nsobject?
jeremya
2011/09/15 06:33:28
Done.
| |
| 31 }; | |
| 32 | |
| 33 - (id)initWithOwner:(BrowserWindowController*)owner browser:(Browser*)browser; | |
| 34 | |
| 35 // Returns a pointer to this controller's view, cast as an AnimatableView. | |
| 36 - (AnimatableView*)animatableView; | |
| 37 | |
| 38 @end | |
| OLD | NEW |