| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 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 | 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 #import <Cocoa/Cocoa.h> | 5 #import <Cocoa/Cocoa.h> |
| 6 #include <vector> | 6 #include <vector> |
| 7 #import "chrome/browser/ui/cocoa/draggable_button.h" | 7 #import "chrome/browser/ui/cocoa/draggable_button.h" |
| 8 #import "chrome/browser/ui/cocoa/themed_window.h" | 8 #import "chrome/browser/ui/cocoa/themed_window.h" |
| 9 #include "ui/base/window_open_disposition.h" | 9 #include "ui/base/window_open_disposition.h" |
| 10 | 10 |
| (...skipping 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 - (BOOL)acceptsTrackInFrom:(id)sender; | 232 - (BOOL)acceptsTrackInFrom:(id)sender; |
| 233 | 233 |
| 234 // At this time we represent an empty folder (e.g. the string | 234 // At this time we represent an empty folder (e.g. the string |
| 235 // '(empty)') as a disabled button with no associated node. | 235 // '(empty)') as a disabled button with no associated node. |
| 236 // | 236 // |
| 237 // TODO(jrg): improve; things work but are slightly ugly since "empty" | 237 // TODO(jrg): improve; things work but are slightly ugly since "empty" |
| 238 // and "one disabled button" are not the same thing. | 238 // and "one disabled button" are not the same thing. |
| 239 // http://crbug.com/35967 | 239 // http://crbug.com/35967 |
| 240 - (BOOL)isEmpty; | 240 - (BOOL)isEmpty; |
| 241 | 241 |
| 242 // Turn on or off pulsing of a bookmark button. | 242 // Stick or unstick the pulse of a bookmark button. |
| 243 // Triggered by the bookmark bubble. | 243 // Triggered by the bookmark bubble. |
| 244 - (void)setIsContinuousPulsing:(BOOL)flag; | 244 - (void)setPulseIsStuckOn:(BOOL)flag; |
| 245 | 245 |
| 246 // Return continuous pulse state. | 246 // Return pulse sticky state. |
| 247 - (BOOL)isContinuousPulsing; | 247 - (BOOL)isPulseStuckOn; |
| 248 | 248 |
| 249 // Return the location in screen coordinates where the remove animation should | 249 // Return the location in screen coordinates where the remove animation should |
| 250 // be displayed. | 250 // be displayed. |
| 251 - (NSPoint)screenLocationForRemoveAnimation; | 251 - (NSPoint)screenLocationForRemoveAnimation; |
| 252 | 252 |
| 253 // The BookmarkButton which is currently being dragged, if any. | 253 // The BookmarkButton which is currently being dragged, if any. |
| 254 + (BookmarkButton*)draggedButton; | 254 + (BookmarkButton*)draggedButton; |
| 255 | 255 |
| 256 | 256 |
| 257 @end // @interface BookmarkButton | 257 @end // @interface BookmarkButton |
| 258 | 258 |
| 259 | 259 |
| 260 @interface BookmarkButton(TestingAPI) | 260 @interface BookmarkButton(TestingAPI) |
| 261 - (void)beginDrag:(NSEvent*)event; | 261 - (void)beginDrag:(NSEvent*)event; |
| 262 @end | 262 @end |
| 263 | 263 |
| OLD | NEW |