Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/ui/gtk/
Dmenu_bar_helper.cc62 buttons_.push_back(button); in Add()
67 find(buttons_.begin(), buttons_.end(), button); in Remove()
68 if (iter == buttons_.end()) { in Remove()
72 buttons_.erase(iter); in Remove()
76 buttons_.clear(); in Clear()
106 if (buttons_.empty()) in OnMenuMotionNotify()
113 for (size_t i = 0; i < buttons_.size(); ++i) { in OnMenuMotionNotify()
114 GtkWidget* button = buttons_[i]; in OnMenuMotionNotify()
121 gtk_widget_get_pointer(buttons_[0], &x, &y); in OnMenuMotionNotify()
Dmenu_bar_helper.h61 std::vector<GtkWidget*> buttons_; variable
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_bar_folder_controller.mm248 buttons_.reset([[NSMutableArray alloc] init]);
268 for (BookmarkButton* button in buttons_.get()) {
314 for (BookmarkButton* button in buttons_.get()) {
318 [buttons_ removeAllObjects];
719 (CGFloat)[self menuHeightForButtonCount:[buttons_ count]];
770 [buttons_ addObject:button];
779 [buttons_ addObject:button];
824 for (BookmarkButton* button in buttons_.get())
829 for (BookmarkButton* button in buttons_.get()) {
859 int index = [buttons_ indexOfObject:button];
[all …]
Dbookmark_bar_controller.mm155 // Modifies self->buttons_. Do not add more buttons than will fit on the view.
238 buttons_.reset([[NSMutableArray alloc] init]);
321 for (BookmarkButton* button in buttons_.get()) {
1046 thingsToDo = [buttons_ count] ? YES : NO;
1233 [buttons_ addObject:button];
1544 BookmarkButton* button = [buttons_ lastObject];
1547 [buttons_ removeLastObject];
1556 NSMaxX([[buttons_ lastObject] frame]) +
1569 [buttons_ addObject:button];
1575 if (![buttons_ count])
[all …]
Dbookmark_bar_folder_controller.h66 scoped_nsobject<NSMutableArray> buttons_; variable
Dbookmark_bar_controller.h180 scoped_nsobject<NSMutableArray> buttons_; variable
/external/chromium/chrome/browser/ui/cocoa/extensions/
Dbrowser_actions_controller.mm291 buttons_.reset([[NSMutableDictionary alloc] init]);
310 for (BrowserActionButton* button in [buttons_ allValues]) {
317 return [buttons_ count];
348 for (BrowserActionButton* button in [buttons_ allValues]) {
480 [buttons_ setObject:newButton forKey:buttonKey];
504 BrowserActionButton* button = [buttons_ objectForKey:buttonKey];
516 [buttons_ removeObjectForKey:buttonKey];
544 for (BrowserActionButton* button in [buttons_ allValues]) {
565 return [buttons_ objectForKey:extensionId];
863 return [buttons_ objectForKey:base::SysUTF8ToNSString(extension->id())];
Dbrowser_actions_controller.h50 scoped_nsobject<NSMutableDictionary> buttons_; variable