Home
last modified time | relevance | path

Searched refs:closeButton_ (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/cocoa/notifications/
Dballoon_controller.mm86 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];
Dballoon_controller.h38 IBOutlet NSButton* closeButton_; variable
/external/chromium/chrome/browser/ui/cocoa/notifications/
Dballoon_controller.mm87 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];
Dballoon_controller.h40 IBOutlet NSButton* closeButton_; variable
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dtab_controller.mm118 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 …]
Dtab_view.mm72 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 …]
Dtab_view.h50 HoverCloseButton* closeButton_; // Weak. variable
/external/chromium_org/ui/message_center/cocoa/
Dnotification_controller.mm205 // 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 …]
Dnotification_controller.h38 base::scoped_nsobject<HoverImageButton> closeButton_; variable
/external/chromium/chrome/browser/ui/cocoa/
Dframed_browser_window.mm62 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];
Dframed_browser_window.h35 NSButton* closeButton_; variable
/external/chromium_org/chrome/browser/ui/cocoa/infobars/
Dinfobar_controller.mm45 [[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];
Dinfobar_controller.h31 IBOutlet NSButton* closeButton_; variable
/external/chromium_org/ui/webui/resources/js/cr/ui/
Ddialogs.js59 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/
Dframed_browser_window.mm103 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];
Dprofile_signin_confirmation_view_controller.mm163 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];
Dframed_browser_window.h30 NSButton* closeButton_; variable
Done_click_signin_view_controller.h26 IBOutlet NSButton* closeButton_; variable
/external/chromium_org/remoting/webapp/
Dpaired_client_manager.js152 this.closeButton_ = closeButton;
218 this.closeButton_.disabled = working;
/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/
Dconstrained_window_alert.mm57 closeButton_.reset(
59 [contentView addSubview:closeButton_];
123 return closeButton_;
272 [closeButton_ setFrame:frame];
Dconstrained_window_alert.h23 base::scoped_nsobject<NSButton> closeButton_; variable
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_controller.mm28 @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/
Dinfobar_controller.h31 IBOutlet HoverCloseButton* closeButton_; variable
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dextension_installed_bubble_controller.h69 IBOutlet HoverCloseButton* closeButton_; variable
/external/chromium_org/chrome/browser/ui/cocoa/find_bar/
Dfind_bar_cocoa_controller.h29 IBOutlet NSButton* closeButton_; variable

12