Home
last modified time | relevance | path

Searched refs:cancelButton_ (Results 1 – 25 of 38) sorted by relevance

12

/external/chromium_org/ui/webui/resources/js/cr/ui/
Ddialogs.js79 this.cancelButton_ = doc.createElement('button');
80 this.cancelButton_.className = 'cr-dialog-cancel';
81 this.cancelButton_.textContent = BaseDialog.CANCEL_LABEL;
82 this.cancelButton_.addEventListener('click',
84 buttons.appendChild(this.cancelButton_);
94 if (event.keyCode == 27 && !this.cancelButton_.disabled) {
130 this.cancelButton_.textContent = label;
134 this.initialFocusElement_ = this.cancelButton_;
245 this.cancelButton_.style.display = 'none';
/external/chromium_org/chrome/browser/ui/cocoa/infobars/
Dconfirm_infobar_controller.mm44 NSRect cancelButtonFrame = [cancelButton_ frame];
75 [cancelButton_ setTitle:base::SysUTF16ToNSString(
77 [GTMUILocalizerAndLayoutTweaker sizeToFitView:cancelButton_];
78 cancelButtonFrame = [cancelButton_ frame];
87 [cancelButton_ setFrame:cancelButtonFrame];
92 [cancelButton_ removeFromSuperview];
93 cancelButton_ = nil;
Dbefore_translate_infobar_controller.mm67 MoveControl(label2_, cancelButton_, spaceBetweenControls_, true);
68 MoveControl(cancelButton_, okButton_, spaceBetweenControls_, true);
96 cancelButton_, okButton_, nil];
Dinfobar_controller.mm76 [cancelButton_ setTarget:nil];
135 labelFrame.size.width = NSMaxX([cancelButton_ frame]) - NSMinX(labelFrame);
138 [cancelButton_ removeFromSuperview];
139 cancelButton_ = nil;
Dinfobar_controller.h30 IBOutlet NSButton* cancelButton_; variable
Dtranslate_infobar_base.mm168 // Removing okButton_ & cancelButton_ from the view may cause them
173 [cancelButton_ removeFromSuperview];
174 cancelButton_ = nil;
288 NSRect cancelButtonFrame = [cancelButton_ frame];
313 [cancelButton_ setTitle:GetNSStringWithFixup(IDS_TRANSLATE_INFOBAR_DENY)];
488 cancelButton_, showOriginalButton_.get(), translateMessageButton_.get(),
/external/chromium_org/chrome/browser/ui/cocoa/
Dconfirm_bubble_cocoa.mm187 cancelButton_.reset([[NSButton alloc]
189 [cancelButton_.get() setBezelStyle:NSRoundedBezelStyle];
190 [cancelButton_.get() setTitle:[controller_ cancelButtonText]];
191 [cancelButton_.get() setTarget:self];
192 [cancelButton_.get() setAction:@selector(cancel:)];
193 [cancelButton_.get() sizeToFit];
194 NSRect cancelButtonRect = [cancelButton_.get() frame];
197 [cancelButton_.get() setFrame:cancelButtonRect];
198 [self addSubview:cancelButton_.get()];
Dspeech_recognition_window_controller.mm70 [GTMUILocalizerAndLayoutTweaker sizeToFitView:cancelButton_];
73 NSSize cancelSize = [cancelButton_ bounds].size;
125 NSRect cancelRect = [cancelButton_ bounds];
139 if (![cancelButton_ isHidden]) {
140 [cancelButton_ setFrame:cancelRect];
193 [cancelButton_ setHidden:is_warm_up];
Dprofile_signin_confirmation_view_controller.mm153 cancelButton_.reset(
189 [self addButton:cancelButton_
227 kButtonGap + NSWidth([cancelButton_ frame]) +
316 curX -= (kButtonGap + NSWidth([cancelButton_ frame]));
317 [cancelButton_ setFrameOrigin:NSMakePoint(curX, curY)];
319 curY += NSHeight([cancelButton_ frame]);
Dlogin_prompt_cocoa.h20 IBOutlet NSButton* cancelButton_; variable
Dconfirm_bubble_cocoa.h44 base::scoped_nsobject<NSButton> cancelButton_; variable
Dglobal_error_bubble_controller.h36 IBOutlet NSButton* cancelButton_; variable
Dspeech_recognition_window_controller.h23 IBOutlet NSButton* cancelButton_; variable
Dprofile_signin_confirmation_view_controller.h47 base::scoped_nsobject<ConstrainedWindowButton> cancelButton_; variable
/external/chromium/chrome/browser/ui/cocoa/
Dspeech_input_window_controller.mm66 [GTMUILocalizerAndLayoutTweaker sizeToFitView:cancelButton_];
69 NSSize cancelSize = [cancelButton_ bounds].size;
121 NSRect cancelRect = [cancelButton_ bounds];
135 if (![cancelButton_ isHidden]) {
136 [cancelButton_ setFrame:cancelRect];
188 [cancelButton_ setHidden:is_warm_up];
Dspeech_input_window_controller.h24 IBOutlet NSButton* cancelButton_; variable
Dbug_report_window_controller.h44 IBOutlet NSButton* cancelButton_; variable
/external/chromium_org/chrome/browser/ui/cocoa/media_picker/
Ddesktop_media_picker_controller.mm130 cancelButton_ =
133 (NSWidth([cancelButton_ frame]) - kExcessButtonPadding);
134 [cancelButton_ setFrameOrigin:origin];
135 [cancelButton_ setAutoresizingMask:NSViewMinXMargin | NSViewMinYMargin];
136 [cancelButton_ setTarget:self];
137 [cancelButton_ setAction:@selector(cancelPressed:)];
138 [content addSubview:cancelButton_];
Ddesktop_media_picker_controller.h32 NSButton* cancelButton_; // weak; owned by contentView variable
/external/chromium/chrome/browser/ui/cocoa/translate/
Dbefore_translate_infobar_controller.mm57 MoveControl(okButton_, cancelButton_, spaceBetweenControls_, true);
58 NSView* lastControl = cancelButton_;
85 okButton_, cancelButton_, nil];
/external/chromium_org/chrome/browser/ui/cocoa/extensions/
Dextension_install_view_controller.mm172 @synthesize cancelButton = cancelButton_;
240 [cancelButton_ setTitle:prompt_->HasAbortButtonLabel() ?
268 // Resize |okButton_| and |cancelButton_| to fit the button labels, but keep
276 [cancelButton_ setFrame:NSOffsetRect([cancelButton_ frame],
280 // Make |cancelButton_| right-aligned in the absence of |okButton_|.
281 NSRect cancelButtonRect = [cancelButton_ frame];
284 [cancelButton_ setFrame:cancelButtonRect];
286 buttonDelta = [GTMUILocalizerAndLayoutTweaker sizeToFitView:cancelButton_];
288 [cancelButton_ setFrame:NSOffsetRect([cancelButton_ frame],
/external/chromium/chrome/browser/ui/cocoa/location_bar/
Dinstant_opt_in_controller.h30 IBOutlet NSButton* cancelButton_; variable
/external/chromium/chrome/browser/ui/cocoa/infobars/
Dinfobar_controller.mm228 labelFrame.size.width = NSMaxX([cancelButton_ frame]) - NSMinX(labelFrame);
230 [cancelButton_ removeFromSuperview];
410 NSRect cancelButtonFrame = [cancelButton_ frame];
423 [cancelButton_ setTitle:base::SysUTF16ToNSString(
425 [GTMUILocalizerAndLayoutTweaker sizeToFitView:cancelButton_];
426 cancelButtonFrame = [cancelButton_ frame];
430 [cancelButton_ setFrame:cancelButtonFrame];
435 [cancelButton_ removeFromSuperview];
Dinfobar_controller.h30 IBOutlet NSButton* cancelButton_; variable
/external/chromium/chrome/browser/ui/login/
Dlogin_prompt_mac.h21 IBOutlet NSButton* cancelButton_; variable

12