HomeSort by relevance Sort by last modified time
    Searched refs:submenu_ (Results 1 - 9 of 9) sorted by null

  /external/chromium_org/ui/views/controls/menu/
menu_host_root_view.cc 16 submenu_(submenu),
27 GetMenuController()->OnMousePressed(submenu_, event);
33 GetMenuController()->OnMouseDragged(submenu_, event);
43 GetMenuController()->OnMouseReleased(submenu_, event);
50 GetMenuController()->OnMouseMoved(submenu_, event);
57 GetMenuController()->OnMouseWheel(submenu_, event);
63 return submenu_->OnMouseWheel(event);
75 GetMenuController()->OnGestureEvent(submenu_, event);
79 return submenu_ ? submenu_->GetMenuItem()->GetMenuController() : NULL
    [all...]
menu_host.cc 31 : submenu_(submenu),
47 submenu_->GetMenuItem()->GetMenuController();
48 const MenuConfig& menu_config = submenu_->GetMenuItem()->GetMenuConfig();
50 bool bubble_border = submenu_->GetScrollViewContainer() &&
51 submenu_->GetScrollViewContainer()->HasBubbleBorder();
117 return new MenuHostRootView(this, submenu_);
124 submenu_->GetMenuItem()->GetMenuController();
135 submenu_->MenuHostDestroyed();
145 submenu_->GetMenuItem()->GetMenuController();
menu_host_root_view.h 25 void ClearSubmenu() { submenu_ = NULL; }
45 SubmenuView* submenu_; member in class:views::MenuHostRootView
menu_item_view.cc 96 submenu_(NULL),
236 if (!submenu_)
238 DCHECK_GE(submenu_->child_count(), index);
240 submenu_->AddChildViewAt(new MenuSeparator(this, separator_style), index);
254 submenu_->AddChildViewAt(item, index);
259 DCHECK(submenu_);
261 DCHECK_GT(submenu_->child_count(), index);
263 View* item = submenu_->child_at(index);
265 submenu_->RemoveChildView(item);
322 const int index = submenu_ ? submenu_->child_count() : 0
    [all...]
menu_host.h 65 SubmenuView* submenu_; member in class:views::MenuHost
menu_item_view.h 464 SubmenuView* submenu_; member in class:views::MenuItemView
menu_controller.cc 181 MenuScrollTask() : submenu_(NULL), is_scrolling_up_(false), start_y_(0) {
193 if (new_menu == submenu_ && is_scrolling_up_ == new_is_up)
198 submenu_ = new_menu;
211 submenu_ = NULL;
216 SubmenuView* submenu() const { return submenu_; }
220 DCHECK(submenu_);
221 gfx::Rect vis_rect = submenu_->GetVisibleBounds();
227 std::min(submenu_->height() - vis_rect.height(), start_y_ + delta_y));
228 submenu_->ScrollRectToVisible(vis_rect);
232 SubmenuView* submenu_; member in class:views::MenuController::MenuScrollTask
    [all...]
  /external/chromium_org/chrome/browser/ui/views/
menu_item_view_test.cc 272 submenu_(NULL),
286 submenu_ = menu->AppendSubMenu(1, ASCIIToUTF16("My Submenu"));
287 submenu_->AppendMenuItemWithLabel(101, ASCIIToUTF16("submenu item 1"));
288 submenu_->AppendMenuItemWithLabel(101, ASCIIToUTF16("submenu item 2"));
300 Click(submenu_,
327 views::MenuItemView* submenu_; member in class:MenuItemViewTestInsertWithSubmenu
425 submenu_(NULL) {
439 submenu_ = menu->AppendSubMenu(2, ASCIIToUTF16("My Submenu"));
440 submenu_->AppendMenuItemWithLabel(101, ASCIIToUTF16("submenu item 1"));
441 submenu_->AppendMenuItemWithLabel(102, ASCIIToUTF16("submenu item 2"))
493 views::MenuItemView* submenu_; member in class:MenuItemViewTestRemoveWithSubmenu
    [all...]
  /external/chromium_org/ui/views/examples/
menu_example.cc 52 scoped_ptr<ui::SimpleMenuModel> submenu_; member in class:views::examples::__anon17844::ExampleMenuModel
97 submenu_.reset(new ui::SimpleMenuModel(this));
98 submenu_->AddItem(COMMAND_DO_SOMETHING, ASCIIToUTF16("Do Something 2"));
99 AddSubMenu(0, ASCIIToUTF16("Submenu"), submenu_.get());

Completed in 81 milliseconds