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

Side by Side Diff: chrome/browser/cocoa/tab_view.h

Issue 452012: Merge 33291 - Clear the target/action of the close button when the view goes ... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/249/src/
Patch Set: Created 11 years 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/cocoa/tab_view.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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_COCOA_TAB_VIEW_H_ 5 #ifndef CHROME_BROWSER_COCOA_TAB_VIEW_H_
6 #define CHROME_BROWSER_COCOA_TAB_VIEW_H_ 6 #define CHROME_BROWSER_COCOA_TAB_VIEW_H_
7 7
8 #import <Cocoa/Cocoa.h> 8 #import <Cocoa/Cocoa.h>
9 9
10 #include "base/scoped_nsobject.h" 10 #include "base/scoped_nsobject.h"
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 NSWindow* dragWindow_; // weak. The window being dragged 52 NSWindow* dragWindow_; // weak. The window being dragged
53 NSWindow* dragOverlay_; // weak. The overlay being dragged 53 NSWindow* dragOverlay_; // weak. The overlay being dragged
54 54
55 TabWindowController* targetController_; // weak. Controller being targeted 55 TabWindowController* targetController_; // weak. Controller being targeted
56 NSCellStateValue state_; 56 NSCellStateValue state_;
57 } 57 }
58 @property(assign) NSCellStateValue state; 58 @property(assign) NSCellStateValue state;
59 @property(assign, nonatomic) CGFloat hoverAlpha; 59 @property(assign, nonatomic) CGFloat hoverAlpha;
60 60
61 // Determines if the tab is in the process of animating closed. It may still 61 // Determines if the tab is in the process of animating closed. It may still
62 // be visible on-screen, but should not respond to/initiate any events. 62 // be visible on-screen, but should not respond to/initiate any events. Upon
63 // setting to NO, clears the target/action of the close button to prevent
64 // clicks inside it from sending messages.
63 @property(assign, nonatomic) BOOL isClosing; 65 @property(assign, nonatomic) BOOL isClosing;
64 66
65 // Enables/Disables tracking regions for the tab. 67 // Enables/Disables tracking regions for the tab.
66 - (void)setTrackingEnabled:(BOOL)enabled; 68 - (void)setTrackingEnabled:(BOOL)enabled;
67 69
68 @end 70 @end
69 71
70 #endif // CHROME_BROWSER_COCOA_TAB_VIEW_H_ 72 #endif // CHROME_BROWSER_COCOA_TAB_VIEW_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/cocoa/tab_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698