Home
last modified time | relevance | path

Searched refs:buttons_ (Results 1 – 15 of 15) sorted by relevance

/external/chromium_org/ui/app_list/views/
Dpage_switcher.cc122 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 …]
Dpage_switcher.h54 views::View* buttons_; // Owned by views hierarchy. variable
/external/chromium_org/chrome/browser/ui/cocoa/constrained_window/
Dconstrained_window_alert.mm119 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 …]
Dconstrained_window_alert.h22 base::scoped_nsobject<NSMutableArray> buttons_; variable
/external/chromium_org/mojo/examples/media_viewer/
Dmedia_viewer.cc137 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/
Dbookmark_bar_folder_controller.mm297 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 …]
Dbookmark_bar_controller.mm168 // 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 …]
Dbookmark_bar_folder_controller.h66 base::scoped_nsobject<NSMutableArray> buttons_; variable
Dbookmark_bar_controller.h188 base::scoped_nsobject<NSMutableArray> buttons_; variable
/external/chromium_org/ui/message_center/views/
Dnotifier_settings_view.cc518 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()
Dnotifier_settings_view_unittest.cc103 GetView()->buttons_; in TEST_F()
Dnotifier_settings_view.h118 std::set<NotifierButton*> buttons_; variable
/external/chromium_org/ui/file_manager/file_manager/foreground/js/
Dsuggest_apps_dialog.js62 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/
Dbrowser_actions_controller.mm336 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())];
Dbrowser_actions_controller.h51 base::scoped_nsobject<NSMutableDictionary> buttons_; variable