/external/chromium_org/ui/app_list/views/ |
D | page_switcher.cc | 122 buttons_(new views::View) { in PageSwitcher() 123 AddChildView(buttons_); in PageSwitcher() 135 if (!buttons_->bounds().Contains(point)) in GetPageForPoint() 139 views::View::ConvertPointToTarget(this, buttons_, &buttons_point); in GetPageForPoint() 141 for (int i = 0; i < buttons_->child_count(); ++i) { in GetPageForPoint() 142 const views::View* button = buttons_->child_at(i); in GetPageForPoint() 153 const int button_count = buttons_->child_count(); in UpdateUIForDragPoint() 156 static_cast<PageSwitcherButton*>(buttons_->child_at(page)); in UpdateUIForDragPoint() 163 static_cast<PageSwitcherButton*>(buttons_->child_at(i)); in UpdateUIForDragPoint() 171 return gfx::Size(buttons_->GetPreferredSize().width(), in GetPreferredSize() [all …]
|
D | page_switcher.h | 54 views::View* buttons_; // Owned by views hierarchy. variable
|
/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/ |
D | constrained_window_alert.mm | 119 return buttons_; 134 if (!buttons_.get()) 135 buttons_.reset([[NSMutableArray alloc] init]); 142 [buttons_ addObject:button]; 149 for (NSButton* button in buttons_.get()) { 154 if ([buttons_ count]) 155 buttonWidth += ([buttons_ count] - 1) * kButtonGap; 166 CGFloat curY = [buttons_ count] ? NSMaxY([[buttons_ lastObject] frame]) 193 const int buttonCount = [buttons_ count]; 195 NSButton* button = [buttons_ objectAtIndex:i]; [all …]
|
D | constrained_window_alert.h | 22 base::scoped_nsobject<NSMutableArray> buttons_; variable
|
/external/chromium_org/mojo/examples/media_viewer/ |
D | media_viewer.cc | 137 ControlPanel(Delegate* delegate) : delegate_(delegate), buttons_() {} in ControlPanel() 156 buttons_[type] = button; in Initialize() 176 if (sender == buttons_[i]) { in ButtonPressed() 184 views::Button* buttons_[CONTROL_COUNT]; member in mojo::examples::ControlPanel
|
/external/chromium_org/chrome/browser/ui/cocoa/bookmarks/ |
D | bookmark_bar_folder_controller.mm | 297 buttons_.reset([[NSMutableArray alloc] init]); 318 for (BookmarkButton* button in buttons_.get()) { 364 for (BookmarkButton* button in buttons_.get()) { 368 [buttons_ removeAllObjects]; 811 [buttons_ addObject:button]; 818 [buttons_ addObject:button]; 874 for (BookmarkButton* button in buttons_.get()) 879 for (BookmarkButton* button in buttons_.get()) { 909 NSInteger index = [buttons_ indexOfObject:button]; 916 return [buttons_ objectAtIndex:which]; [all …]
|
D | bookmark_bar_controller.mm | 168 // Modifies self->buttons_. Do not add more buttons than will fit on the view. 261 buttons_.reset([[NSMutableArray alloc] init]); 362 for (BookmarkButton* button in buttons_.get()) { 498 for (NSButton* button in buttons_.get()) 501 // buttons_ array. 1113 [buttons_ addObject:button]; 1468 if ((index >= 0) && (static_cast<NSUInteger>(index) < [buttons_ count])) { 1470 [buttons_ objectAtIndex:static_cast<NSUInteger>(index)]; 1531 for (NSButton* button in buttons_.get()) { 1583 BookmarkButton* button = [buttons_ lastObject]; [all …]
|
D | bookmark_bar_folder_controller.h | 66 base::scoped_nsobject<NSMutableArray> buttons_; variable
|
D | bookmark_bar_controller.h | 188 base::scoped_nsobject<NSMutableArray> buttons_; variable
|
/external/chromium_org/ui/message_center/views/ |
D | notifier_settings_view.cc | 518 for (std::set<NotifierButton*>::iterator iter = buttons_.begin(); in UpdateIconImage() 519 iter != buttons_.end(); in UpdateIconImage() 541 buttons_.clear(); in UpdateContentsView() 610 buttons_.insert(button); in UpdateContentsView() 676 buttons_.find(static_cast<NotifierButton*>(sender)); in ButtonPressed() 678 if (iter == buttons_.end()) in ButtonPressed()
|
D | notifier_settings_view_unittest.cc | 103 GetView()->buttons_; in TEST_F()
|
D | notifier_settings_view.h | 118 std::set<NotifierButton*> buttons_; variable
|
/external/chromium_org/ui/file_manager/file_manager/foreground/js/ |
D | suggest_apps_dialog.js | 62 this.buttons_ = this.document_.createElement('div'); 63 this.buttons_.id = 'buttons'; 64 this.frame_.appendChild(this.buttons_); 71 this.buttons_.appendChild(this.webstoreButton_);
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
D | browser_actions_controller.mm | 336 buttons_.reset([[NSMutableDictionary alloc] init]); 355 for (BrowserActionButton* button in [buttons_ allValues]) { 362 return [buttons_ count]; 389 for (BrowserActionButton* button in [buttons_ allValues]) { 537 [buttons_ setObject:newButton forKey:buttonKey]; 561 BrowserActionButton* button = [buttons_ objectForKey:buttonKey]; 572 [buttons_ removeObjectForKey:buttonKey]; 601 for (BrowserActionButton* button in [buttons_ allValues]) { 623 return [buttons_ objectForKey:extensionId]; 896 return [buttons_ objectForKey:base::SysUTF8ToNSString(extension->id())];
|
D | browser_actions_controller.h | 51 base::scoped_nsobject<NSMutableDictionary> buttons_; variable
|