OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_EXTENSIONS_BROWSER_ACTIONS_CONTAINER_VIEW_ | 5 #ifndef CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTAINER_VIEW_ |
6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTAINER_VIEW_ | 6 #define CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTAINER_VIEW_ |
7 | 7 |
8 #import <Cocoa/Cocoa.h> | 8 #import <Cocoa/Cocoa.h> |
9 | 9 |
10 #include "base/mac/scoped_nsobject.h" | 10 #include "base/mac/scoped_nsobject.h" |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // Whether the container is currently being resized by the user. | 77 // Whether the container is currently being resized by the user. |
78 BOOL userIsResizing_; | 78 BOOL userIsResizing_; |
79 | 79 |
80 // Whether the user can resize the container; this is disabled for overflow | 80 // Whether the user can resize the container; this is disabled for overflow |
81 // (where it would make no sense) and during highlighting, since this is a | 81 // (where it would make no sense) and during highlighting, since this is a |
82 // temporary and entirely browser-driven sequence in order to warn the user | 82 // temporary and entirely browser-driven sequence in order to warn the user |
83 // about potentially dangerous items. | 83 // about potentially dangerous items. |
84 BOOL resizable_; | 84 BOOL resizable_; |
85 | 85 |
86 // Whether or not the container is the overflow container, and is shown in the | 86 // Whether or not the container is the overflow container, and is shown in the |
87 // wrench menu. | 87 // app menu. |
88 BOOL isOverflow_; | 88 BOOL isOverflow_; |
89 | 89 |
90 // Whether the user is allowed to drag the grippy to the left. NO if all | 90 // Whether the user is allowed to drag the grippy to the left. NO if all |
91 // extensions are shown or the location bar has hit its minimum width (handled | 91 // extensions are shown or the location bar has hit its minimum width (handled |
92 // within toolbar_controller.mm). | 92 // within toolbar_controller.mm). |
93 BOOL canDragLeft_; | 93 BOOL canDragLeft_; |
94 | 94 |
95 // Whether the user is allowed to drag the grippy to the right. NO if all | 95 // Whether the user is allowed to drag the grippy to the right. NO if all |
96 // extensions are hidden. | 96 // extensions are hidden. |
97 BOOL canDragRight_; | 97 BOOL canDragRight_; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 @property(nonatomic) BOOL canDragLeft; | 140 @property(nonatomic) BOOL canDragLeft; |
141 @property(nonatomic) BOOL canDragRight; | 141 @property(nonatomic) BOOL canDragRight; |
142 @property(nonatomic) BOOL grippyPinned; | 142 @property(nonatomic) BOOL grippyPinned; |
143 @property(nonatomic) CGFloat maxDesiredWidth; | 143 @property(nonatomic) CGFloat maxDesiredWidth; |
144 @property(readonly, nonatomic) BOOL userIsResizing; | 144 @property(readonly, nonatomic) BOOL userIsResizing; |
145 @property(nonatomic) BrowserActionsContainerViewSizeDelegate* delegate; | 145 @property(nonatomic) BrowserActionsContainerViewSizeDelegate* delegate; |
146 | 146 |
147 @end | 147 @end |
148 | 148 |
149 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTAINER_VIEW_ | 149 #endif // CHROME_BROWSER_UI_COCOA_EXTENSIONS_BROWSER_ACTIONS_CONTAINER_VIEW_ |
OLD | NEW |