/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | dialogs.js | 79 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/ |
D | confirm_infobar_controller.mm | 44 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;
|
D | before_translate_infobar_controller.mm | 67 MoveControl(label2_, cancelButton_, spaceBetweenControls_, true); 68 MoveControl(cancelButton_, okButton_, spaceBetweenControls_, true); 96 cancelButton_, okButton_, nil];
|
D | infobar_controller.mm | 76 [cancelButton_ setTarget:nil]; 135 labelFrame.size.width = NSMaxX([cancelButton_ frame]) - NSMinX(labelFrame); 138 [cancelButton_ removeFromSuperview]; 139 cancelButton_ = nil;
|
D | infobar_controller.h | 30 IBOutlet NSButton* cancelButton_; variable
|
D | translate_infobar_base.mm | 168 // 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/ |
D | confirm_bubble_cocoa.mm | 187 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()];
|
D | speech_recognition_window_controller.mm | 70 [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];
|
D | profile_signin_confirmation_view_controller.mm | 153 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]);
|
D | login_prompt_cocoa.h | 20 IBOutlet NSButton* cancelButton_; variable
|
D | confirm_bubble_cocoa.h | 44 base::scoped_nsobject<NSButton> cancelButton_; variable
|
D | global_error_bubble_controller.h | 36 IBOutlet NSButton* cancelButton_; variable
|
D | speech_recognition_window_controller.h | 23 IBOutlet NSButton* cancelButton_; variable
|
D | profile_signin_confirmation_view_controller.h | 47 base::scoped_nsobject<ConstrainedWindowButton> cancelButton_; variable
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | speech_input_window_controller.mm | 66 [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];
|
D | speech_input_window_controller.h | 24 IBOutlet NSButton* cancelButton_; variable
|
D | bug_report_window_controller.h | 44 IBOutlet NSButton* cancelButton_; variable
|
/external/chromium_org/chrome/browser/ui/cocoa/media_picker/ |
D | desktop_media_picker_controller.mm | 130 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_];
|
D | desktop_media_picker_controller.h | 32 NSButton* cancelButton_; // weak; owned by contentView variable
|
/external/chromium/chrome/browser/ui/cocoa/translate/ |
D | before_translate_infobar_controller.mm | 57 MoveControl(okButton_, cancelButton_, spaceBetweenControls_, true); 58 NSView* lastControl = cancelButton_; 85 okButton_, cancelButton_, nil];
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
D | extension_install_view_controller.mm | 172 @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/ |
D | instant_opt_in_controller.h | 30 IBOutlet NSButton* cancelButton_; variable
|
/external/chromium/chrome/browser/ui/cocoa/infobars/ |
D | infobar_controller.mm | 228 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];
|
D | infobar_controller.h | 30 IBOutlet NSButton* cancelButton_; variable
|
/external/chromium/chrome/browser/ui/login/ |
D | login_prompt_mac.h | 21 IBOutlet NSButton* cancelButton_; variable
|