/external/chromium_org/chrome/browser/ui/cocoa/notifications/ |
D | balloon_controller.mm | 86 closeButton_ = [NSWindow standardWindowButton:NSWindowCloseButton 88 NSRect frame = [closeButton_ frame]; 89 [closeButton_ setFrame:NSMakeRect(6, 1, frame.size.width, frame.size.height)]; 90 [closeButton_ setTarget:self]; 91 [closeButton_ setAction:@selector(closeButtonPressed:)]; 92 [shelf_ addSubview:closeButton_]; 110 closeButtonTrackingTag_ = [shelf_ addTrackingRect:[closeButton_ frame] 117 [[closeButton_ cell] setHighlighted:YES]; 121 [[closeButton_ cell] setHighlighted:NO];
|
D | balloon_controller.h | 38 IBOutlet NSButton* closeButton_; variable
|
/external/chromium/chrome/browser/ui/cocoa/notifications/ |
D | balloon_controller.mm | 87 closeButton_ = [NSWindow standardWindowButton:NSWindowCloseButton 89 NSRect frame = [closeButton_ frame]; 90 [closeButton_ setFrame:NSMakeRect(6, 1, frame.size.width, frame.size.height)]; 91 [closeButton_ setTarget:self]; 92 [closeButton_ setAction:@selector(closeButtonPressed:)]; 93 [shelf_ addSubview:closeButton_]; 111 closeButtonTrackingTag_ = [shelf_ addTrackingRect:[closeButton_ frame] 118 [[closeButton_ cell] setHighlighted:YES]; 122 [[closeButton_ cell] setHighlighted:NO];
|
D | balloon_controller.h | 40 IBOutlet NSButton* closeButton_; variable
|
/external/chromium_org/chrome/browser/ui/cocoa/tabs/ |
D | tab_controller.mm | 118 closeButton_.reset([[HoverCloseButton alloc] initWithFrame: 120 [closeButton_ setAutoresizingMask:NSViewMinXMargin]; 121 [closeButton_ setTarget:self]; 122 [closeButton_ setAction:@selector(closeTab:)]; 127 closeButton:closeButton_]); 131 [view addSubview:closeButton_]; 294 return closeButton_; 306 0, NSMaxX([closeButton_ frame]) - NSMinX(originalIconFrame_)); 350 [closeButton_ setHidden:!newShowCloseButton]; 367 // and/or closeButton_ are visible, and where they have been positioned. [all …]
|
D | tab_view.mm | 72 closeButton_ = closeButton; 134 if (![closeButton_ isHidden]) { 135 [closeButton_ setTrackingEnabled:enabled]; 143 if (![closeButton_ isHidden]) 144 if (NSPointInRect(viewPoint, [closeButton_ frame])) return closeButton_; 193 BOOL closeButtonActive = ![closeButton_ isHidden]; 202 if ([self hitTest:hitLocation] == closeButton_) { 203 [closeButton_ mouseDown:theEvent]; 232 if (![closeButton_ isHidden] && 238 if ([self hitTest:hitLocation] == closeButton_) { [all …]
|
D | tab_view.h | 50 HoverCloseButton* closeButton_; // Weak. variable
|
/external/chromium_org/ui/message_center/cocoa/ |
D | notification_controller.mm | 205 // Initializes the closeButton_ ivar with the configured button. 223 // This depends on the icon_ and closeButton_ being initialized. 265 [rootView addSubview:closeButton_]; 560 [closeButton_ setTarget:nil]; 646 closeButton_.reset([[HoverImageButton alloc] initWithFrame:NSMakeRect( 652 [closeButton_ setDefaultImage: 654 [closeButton_ setHoverImage: 656 [closeButton_ setPressedImage: 658 [[closeButton_ cell] setHighlightsBy:NSOnState]; 659 [closeButton_ setTrackingEnabled:YES]; [all …]
|
D | notification_controller.h | 38 base::scoped_nsobject<HoverImageButton> closeButton_; variable
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | framed_browser_window.mm | 62 closeButton_ = [self standardWindowButton:NSWindowCloseButton]; 63 [closeButton_ setPostsFrameChangedNotifications:YES]; 73 object:closeButton_]; 158 buttonFrame.origin.x += NSWidth([closeButton_ frame]); 179 NSControl* controls[] = { closeButton_, zoomButton_, miniaturizeButton_ }; 233 if (NSPointInRect(mouse, [closeButton_ frame])) { 234 [closeButton_ mouseDown:event];
|
D | framed_browser_window.h | 35 NSButton* closeButton_; variable
|
/external/chromium_org/chrome/browser/ui/cocoa/infobars/ |
D | infobar_controller.mm | 45 [[closeButton_ cell] setImageID:IDR_CLOSE_1 47 [[closeButton_ cell] setImageID:IDR_CLOSE_1_H 49 [[closeButton_ cell] setImageID:IDR_CLOSE_1_P 51 [[closeButton_ cell] setImageID:IDR_CLOSE_1 77 [closeButton_ setTarget:nil];
|
D | infobar_controller.h | 31 IBOutlet NSButton* closeButton_; variable
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | dialogs.js | 59 this.closeButton_ = doc.createElement('div'); 60 this.closeButton_.className = 'cr-dialog-close'; 61 this.closeButton_.addEventListener('click', 63 this.frame_.appendChild(this.closeButton_);
|
/external/chromium_org/chrome/browser/ui/cocoa/ |
D | framed_browser_window.mm | 103 closeButton_ = [self standardWindowButton:NSWindowCloseButton]; 104 [closeButton_ setPostsFrameChangedNotifications:YES]; 111 NSMinX([miniaturizeButton_ frame]) - NSMaxX([closeButton_ frame]); 113 [self adjustButton:closeButton_ ofKind:NSWindowCloseButton]; 121 object:closeButton_]; 180 buttonFrame.origin.x += NSWidth([closeButton_ frame]); 201 NSControl* controls[] = { closeButton_, zoomButton_, miniaturizeButton_ }; 255 if (NSPointInRect(mouse, [closeButton_ frame])) { 256 [closeButton_ mouseDown:event];
|
D | profile_signin_confirmation_view_controller.mm | 163 closeButton_.reset( 196 [self addButton:closeButton_ 201 NSRect closeButtonFrame = [closeButton_ frame]; 204 [closeButton_ setFrame:closeButtonFrame]; 230 NSWidth([titleField_ frame]) + NSWidth([closeButton_ frame]); 361 [closeButton_ setFrameOrigin:closeOrigin];
|
D | framed_browser_window.h | 30 NSButton* closeButton_; variable
|
D | one_click_signin_view_controller.h | 26 IBOutlet NSButton* closeButton_; variable
|
/external/chromium_org/remoting/webapp/ |
D | paired_client_manager.js | 152 this.closeButton_ = closeButton; 218 this.closeButton_.disabled = working;
|
/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/ |
D | constrained_window_alert.mm | 57 closeButton_.reset( 59 [contentView addSubview:closeButton_]; 123 return closeButton_; 272 [closeButton_ setFrame:frame];
|
D | constrained_window_alert.h | 23 base::scoped_nsobject<NSButton> closeButton_; variable
|
/external/chromium/chrome/browser/ui/cocoa/tabs/ |
D | tab_controller.mm | 28 @synthesize closeButton = closeButton_; 200 CGFloat width = NSMaxX([closeButton_ frame]) - NSMinX(originalIconFrame_); 245 [closeButton_ setHidden:!newShowCloseButton]; 261 newTitleFrame.size.width = NSMinX([closeButton_ frame]) - 264 newTitleFrame.size.width = NSMaxX([closeButton_ frame]) -
|
/external/chromium/chrome/browser/ui/cocoa/infobars/ |
D | infobar_controller.h | 31 IBOutlet HoverCloseButton* closeButton_; variable
|
/external/chromium/chrome/browser/ui/cocoa/extensions/ |
D | extension_installed_bubble_controller.h | 69 IBOutlet HoverCloseButton* closeButton_; variable
|
/external/chromium_org/chrome/browser/ui/cocoa/find_bar/ |
D | find_bar_cocoa_controller.h | 29 IBOutlet NSButton* closeButton_; variable
|