Home | History | Annotate | Download | only in menu

Lines Matching refs:pending_state_

338   pending_state_ = State();
409 pending_state_ = menu_stack_.back().first;
835 BuildPathsAndCalculateDiff(pending_state_.item, menu_item, &current_path,
841 bool pending_item_changed = pending_state_.item != menu_item;
842 if (pending_item_changed && pending_state_.item) {
843 CustomButton* button = GetFirstHotTrackedView(pending_state_.item);
870 pending_state_.item = menu_item;
871 pending_state_.submenu_open = (selection_types & SELECTION_OPEN_SUBMENU) != 0;
1040 if (pending_state_.item) {
1041 if (pending_state_.item->HasSubmenu()) {
1043 pending_state_.item->GetSubmenu()->IsShowing())
1050 pending_state_.item->enabled()) {
1051 Accept(pending_state_.item, 0);
1124 CustomButton* hot_view = GetFirstHotTrackedView(pending_state_.item);
1139 pending_state_.context_menu = context_menu;
1140 pending_state_.initial_bounds = bounds;
1144 pending_state_.initial_bounds.Inset(0, 1);
1150 pending_state_.anchor = position == MENU_ANCHOR_TOPRIGHT
1154 pending_state_.anchor = position;
1159 pending_state_.monitor_bounds = GetScreen()->GetDisplayNearestPoint(
1162 if (!pending_state_.monitor_bounds.Contains(bounds)) {
1168 pending_state_.monitor_bounds = monitor_area;
1255 if (state_.item == pending_state_.item && state_.submenu_open)
1257 SetSelection(pending_state_.item, selection_types);
1402 BuildPathsAndCalculateDiff(state_.item, pending_state_.item, &current_path,
1416 state_ = pending_state_;
1532 ancestor = pending_state_.item;
1786 const gfx::Rect& owner_bounds = pending_state_.initial_bounds;
1859 MenuItemView* item = pending_state_.item;
1861 if (pending_state_.submenu_open && item->HasSubmenu() &&
1932 MenuItemView* item = pending_state_.item;
1967 if (child == pending_state_.item)
2012 MenuItemView* item = pending_state_.item;
2298 } else if (!part.is_scroll() && pending_state_.item &&
2299 pending_state_.item->GetParentMenuItem() &&
2300 (!pending_state_.item->HasSubmenu() ||
2301 !pending_state_.item->GetSubmenu()->IsShowing())) {
2304 SetSelection(pending_state_.item->GetParentMenuItem(),