/external/chromium_org/chrome/browser/ui/toolbar/ |
D | recent_tabs_sub_menu_model_unittest.cc | 182 EXPECT_FALSE(model.IsEnabledAt(0)); in TEST_F() 183 EXPECT_FALSE(model.IsEnabledAt(2)); in TEST_F() 218 EXPECT_FALSE(model.IsEnabledAt(0)); in TEST_F() 219 EXPECT_TRUE(model.IsEnabledAt(1)); in TEST_F() 220 EXPECT_TRUE(model.IsEnabledAt(2)); in TEST_F() 223 EXPECT_FALSE(model.IsEnabledAt(4)); in TEST_F() 303 EXPECT_FALSE(model.IsEnabledAt(0)); in TEST_F() 305 EXPECT_FALSE(model.IsEnabledAt(2)); in TEST_F() 325 EXPECT_FALSE(model.IsEnabledAt(0)); in TEST_F() 326 EXPECT_TRUE(model.IsEnabledAt(1)); in TEST_F() [all …]
|
D | wrench_menu_model_unittest.cc | 132 EXPECT_TRUE(model.IsEnabledAt(1)); in TEST_F() 135 EXPECT_TRUE(model.IsEnabledAt(2)); in TEST_F() 158 EXPECT_TRUE(bookmarksModel->IsEnabledAt(1)); in TEST_F() 184 EXPECT_TRUE(model.IsEnabledAt(index1)); in TEST_F() 189 EXPECT_TRUE(model.IsEnabledAt(index2)); in TEST_F()
|
D | back_forward_menu_model.h | 72 virtual bool IsEnabledAt(int index) const OVERRIDE;
|
D | back_forward_menu_model.cc | 163 bool BackForwardMenuModel::IsEnabledAt(int index) const { in IsEnabledAt() function in BackForwardMenuModel
|
/external/chromium_org/ui/message_center/ |
D | message_center_tray_unittest.cc | 283 EXPECT_TRUE(model->IsEnabledAt(0)); in TEST_F() 284 EXPECT_TRUE(model->IsEnabledAt(1)); in TEST_F() 309 EXPECT_FALSE(model->IsEnabledAt(0)); in TEST_F()
|
/external/chromium_org/chrome/test/base/ |
D | menu_model_test.cc | 44 model->IsEnabledAt(i); // Check if it's enabled (ignore answer). in CountEnabledExecutable()
|
/external/chromium_org/ui/base/models/ |
D | button_menu_item_model.h | 86 bool IsEnabledAt(int index) const;
|
D | menu_model.h | 98 virtual bool IsEnabledAt(int index) const = 0;
|
D | button_menu_item_model.cc | 114 bool ButtonMenuItemModel::IsEnabledAt(int index) const { in IsEnabledAt() function in ui::ButtonMenuItemModel
|
D | simple_menu_model.h | 159 virtual bool IsEnabledAt(int index) const OVERRIDE;
|
D | simple_menu_model.cc | 363 bool SimpleMenuModel::IsEnabledAt(int index) const { in IsEnabledAt() function in ui::SimpleMenuModel
|
/external/chromium_org/chrome/browser/ui/libgtk2ui/ |
D | app_indicator_icon_menu.cc | 119 if (menu_model_->IsEnabledAt(id)) in OnMenuItemActivated()
|
D | menu_util.cc | 226 gtk_widget_set_sensitive(widget, model->IsEnabledAt(id)); in SetMenuItemInfo()
|
/external/chromium_org/chrome/browser/ui/autofill/ |
D | autofill_dialog_models.cc | 84 if (IsEnabledAt(i)) in SetCheckedItem()
|
D | autofill_dialog_controller_unittest.cc | 3432 EXPECT_FALSE(model->IsEnabledAt(0)); in TEST_F() 3433 EXPECT_TRUE(model->IsEnabledAt(1)); in TEST_F() 3575 EXPECT_TRUE(model->IsEnabledAt(0)); in TEST_F() 3576 EXPECT_TRUE(model->IsEnabledAt(1)); in TEST_F() 3577 EXPECT_FALSE(model->IsEnabledAt(2)); in TEST_F() 3578 EXPECT_TRUE(model->IsEnabledAt(3)); in TEST_F() 3579 EXPECT_TRUE(model->IsEnabledAt(4)); in TEST_F()
|
/external/chromium_org/chrome/browser/ui/webui/chromeos/login/ |
D | network_dropdown.cc | 97 item->SetBoolean("enabled", model->IsEnabledAt(i)); in ConvertMenuModel()
|
/external/chromium_org/ui/views/controls/textfield/ |
D | textfield_unittest.cc | 350 EXPECT_EQ(can_undo, menu->IsEnabledAt(0 /* UNDO */)); in VerifyTextfieldContextMenuContents() 351 EXPECT_TRUE(menu->IsEnabledAt(1 /* Separator */)); in VerifyTextfieldContextMenuContents() 352 EXPECT_EQ(textfield_has_selection, menu->IsEnabledAt(2 /* CUT */)); in VerifyTextfieldContextMenuContents() 353 EXPECT_EQ(textfield_has_selection, menu->IsEnabledAt(3 /* COPY */)); in VerifyTextfieldContextMenuContents() 355 menu->IsEnabledAt(4 /* PASTE */)); in VerifyTextfieldContextMenuContents() 356 EXPECT_EQ(textfield_has_selection, menu->IsEnabledAt(5 /* DELETE */)); in VerifyTextfieldContextMenuContents() 357 EXPECT_TRUE(menu->IsEnabledAt(6 /* Separator */)); in VerifyTextfieldContextMenuContents() 358 EXPECT_TRUE(menu->IsEnabledAt(7 /* SELECT ALL */)); in VerifyTextfieldContextMenuContents()
|
/external/chromium_org/chrome/browser/ui/views/ |
D | menu_model_adapter_test.cc | 78 virtual bool IsEnabledAt(int index) const OVERRIDE { in IsEnabledAt() function in __anon1122e0e40111::CommonMenuModel
|
/external/chromium_org/ui/views/controls/menu/ |
D | menu_model_adapter_unittest.cc | 88 virtual bool IsEnabledAt(int index) const OVERRIDE { in IsEnabledAt() function in __anone3b55c4b0111::MenuModelBase
|
D | menu_model_adapter.cc | 201 return model->IsEnabledAt(index); in IsCommandEnabled()
|
/external/chromium_org/chrome/browser/ui/cocoa/autofill/ |
D | autofill_account_chooser.mm | 126 model->IsEnabledAt(i),
|
/external/chromium_org/chrome/browser/chromeos/status/ |
D | network_menu.cc | 139 virtual bool IsEnabledAt(int index) const OVERRIDE; 287 bool NetworkMenuModel::IsEnabledAt(int index) const { in IsEnabledAt() function in chromeos::NetworkMenuModel
|
/external/chromium_org/ui/base/cocoa/ |
D | menu_controller.mm | 193 return model->IsEnabledAt(modelIndex);
|
/external/chromium_org/chrome/browser/ui/views/toolbar/ |
D | wrench_menu.cc | 357 button->SetEnabled(menu_model_->IsEnabledAt(index)); in CreateButtonWithAccName() 1003 return entry.first->IsEnabledAt(entry.second); in IsCommandEnabled()
|
/external/chromium_org/chrome/browser/background/ |
D | background_mode_manager_unittest.cc | 182 return model->IsEnabledAt(index); in IsCommandEnabled()
|