IsEnabledAt 66 chrome/browser/background/background_mode_manager_unittest.cc return model->IsEnabledAt(index); IsEnabledAt 135 chrome/browser/chromeos/status/network_menu.cc virtual bool IsEnabledAt(int index) const OVERRIDE; IsEnabledAt 2160 chrome/browser/ui/ash/launcher/chrome_launcher_controller_unittest.cc EXPECT_FALSE(menu->IsEnabledAt(first_item)); IsEnabledAt 3782 chrome/browser/ui/autofill/autofill_dialog_controller_impl.cc if (IsASuggestionItemKey(model->GetItemKeyAt(i)) && model->IsEnabledAt(i)) { IsEnabledAt 3320 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_FALSE(model->IsEnabledAt(0)); IsEnabledAt 3321 chrome/browser/ui/autofill/autofill_dialog_controller_unittest.cc EXPECT_TRUE(model->IsEnabledAt(1)); IsEnabledAt 86 chrome/browser/ui/autofill/autofill_dialog_models.cc if (IsEnabledAt(i)) IsEnabledAt 231 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.cc return index >= fixed_items_ || SimpleMenuModel::IsEnabledAt(index); IsEnabledAt 107 chrome/browser/ui/gtk/bookmarks/bookmark_sub_menu_model_gtk.h virtual bool IsEnabledAt(int index) const OVERRIDE; IsEnabledAt 657 chrome/browser/ui/gtk/menu_gtk.cc if (model->IsEnabledAt(id)) IsEnabledAt 903 chrome/browser/ui/gtk/menu_gtk.cc gtk_widget_set_sensitive(GTK_WIDGET(button), model->IsEnabledAt(index)); IsEnabledAt 951 chrome/browser/ui/gtk/menu_gtk.cc gtk_widget_set_sensitive(widget, model->IsEnabledAt(id)); IsEnabledAt 367 chrome/browser/ui/libgtk2ui/app_indicator_icon.cc if (menu_model_->IsEnabledAt(id)) IsEnabledAt 226 chrome/browser/ui/libgtk2ui/menu_util.cc gtk_widget_set_sensitive(widget, model->IsEnabledAt(id)); IsEnabledAt 72 chrome/browser/ui/toolbar/back_forward_menu_model.h virtual bool IsEnabledAt(int index) const OVERRIDE; IsEnabledAt 208 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(0)); IsEnabledAt 209 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(2)); IsEnabledAt 244 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(0)); IsEnabledAt 245 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(1)); IsEnabledAt 246 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(2)); IsEnabledAt 249 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(4)); IsEnabledAt 329 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(0)); IsEnabledAt 331 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(2)); IsEnabledAt 351 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(0)); IsEnabledAt 352 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(1)); IsEnabledAt 353 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(2)); IsEnabledAt 354 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(3)); IsEnabledAt 359 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(5)); IsEnabledAt 430 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_FALSE(model.IsEnabledAt(0)); IsEnabledAt 432 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(3)); IsEnabledAt 434 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(4)); IsEnabledAt 436 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(5)); IsEnabledAt 438 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(8)); IsEnabledAt 440 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(9)); IsEnabledAt 442 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(10)); IsEnabledAt 443 chrome/browser/ui/toolbar/recent_tabs_sub_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(12)); IsEnabledAt 133 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(1)); IsEnabledAt 136 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(2)); IsEnabledAt 159 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_TRUE(bookmarksModel->IsEnabledAt(1)); IsEnabledAt 185 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(index1)); IsEnabledAt 190 chrome/browser/ui/toolbar/wrench_menu_model_unittest.cc EXPECT_TRUE(model.IsEnabledAt(index2)); IsEnabledAt 393 chrome/browser/ui/views/toolbar/wrench_menu.cc button->SetEnabled(menu_model_->IsEnabledAt(index)); IsEnabledAt 1128 chrome/browser/ui/views/toolbar/wrench_menu.cc return entry.first->IsEnabledAt(entry.second); IsEnabledAt 98 chrome/browser/ui/webui/chromeos/login/network_dropdown.cc item->SetBoolean("enabled", model->IsEnabledAt(i)); IsEnabledAt 44 chrome/test/base/menu_model_test.cc model->IsEnabledAt(i); // Check if it's enabled (ignore answer). IsEnabledAt 86 ui/base/models/button_menu_item_model.h bool IsEnabledAt(int index) const; IsEnabledAt 98 ui/base/models/menu_model.h virtual bool IsEnabledAt(int index) const = 0; IsEnabledAt 159 ui/base/models/simple_menu_model.h virtual bool IsEnabledAt(int index) const OVERRIDE; IsEnabledAt 282 ui/message_center/message_center_tray_unittest.cc EXPECT_TRUE(model->IsEnabledAt(0)); IsEnabledAt 283 ui/message_center/message_center_tray_unittest.cc EXPECT_TRUE(model->IsEnabledAt(1)); IsEnabledAt 308 ui/message_center/message_center_tray_unittest.cc EXPECT_FALSE(model->IsEnabledAt(0)); IsEnabledAt 201 ui/views/controls/menu/menu_model_adapter.cc return model->IsEnabledAt(index); IsEnabledAt 496 ui/views/controls/menu/native_menu_win.cc SetMenuItemState(menu_index, model_->IsEnabledAt(model_index), IsEnabledAt 301 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(can_undo, menu->IsEnabledAt(0 /* UNDO */)); IsEnabledAt 302 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(menu->IsEnabledAt(1 /* Separator */)); IsEnabledAt 303 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(textfield_has_selection, menu->IsEnabledAt(2 /* CUT */)); IsEnabledAt 304 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(textfield_has_selection, menu->IsEnabledAt(3 /* COPY */)); IsEnabledAt 306 ui/views/controls/textfield/textfield_unittest.cc menu->IsEnabledAt(4 /* PASTE */)); IsEnabledAt 307 ui/views/controls/textfield/textfield_unittest.cc EXPECT_EQ(textfield_has_selection, menu->IsEnabledAt(5 /* DELETE */)); IsEnabledAt 308 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(menu->IsEnabledAt(6 /* Separator */)); IsEnabledAt 309 ui/views/controls/textfield/textfield_unittest.cc EXPECT_TRUE(menu->IsEnabledAt(7 /* SELECT ALL */));