Home
last modified time | relevance | path

Searched refs:IsEnabledAt (Results 1 – 25 of 29) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/toolbar/
Drecent_tabs_sub_menu_model_unittest.cc182 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 …]
Dwrench_menu_model_unittest.cc132 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()
Dback_forward_menu_model.h72 virtual bool IsEnabledAt(int index) const OVERRIDE;
Dback_forward_menu_model.cc163 bool BackForwardMenuModel::IsEnabledAt(int index) const { in IsEnabledAt() function in BackForwardMenuModel
/external/chromium_org/ui/message_center/
Dmessage_center_tray_unittest.cc283 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/
Dmenu_model_test.cc44 model->IsEnabledAt(i); // Check if it's enabled (ignore answer). in CountEnabledExecutable()
/external/chromium_org/ui/base/models/
Dbutton_menu_item_model.h86 bool IsEnabledAt(int index) const;
Dmenu_model.h98 virtual bool IsEnabledAt(int index) const = 0;
Dbutton_menu_item_model.cc114 bool ButtonMenuItemModel::IsEnabledAt(int index) const { in IsEnabledAt() function in ui::ButtonMenuItemModel
Dsimple_menu_model.h159 virtual bool IsEnabledAt(int index) const OVERRIDE;
Dsimple_menu_model.cc363 bool SimpleMenuModel::IsEnabledAt(int index) const { in IsEnabledAt() function in ui::SimpleMenuModel
/external/chromium_org/chrome/browser/ui/libgtk2ui/
Dapp_indicator_icon_menu.cc119 if (menu_model_->IsEnabledAt(id)) in OnMenuItemActivated()
Dmenu_util.cc226 gtk_widget_set_sensitive(widget, model->IsEnabledAt(id)); in SetMenuItemInfo()
/external/chromium_org/chrome/browser/ui/autofill/
Dautofill_dialog_models.cc84 if (IsEnabledAt(i)) in SetCheckedItem()
Dautofill_dialog_controller_unittest.cc3432 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/
Dnetwork_dropdown.cc97 item->SetBoolean("enabled", model->IsEnabledAt(i)); in ConvertMenuModel()
/external/chromium_org/ui/views/controls/textfield/
Dtextfield_unittest.cc350 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/
Dmenu_model_adapter_test.cc78 virtual bool IsEnabledAt(int index) const OVERRIDE { in IsEnabledAt() function in __anon1122e0e40111::CommonMenuModel
/external/chromium_org/ui/views/controls/menu/
Dmenu_model_adapter_unittest.cc88 virtual bool IsEnabledAt(int index) const OVERRIDE { in IsEnabledAt() function in __anone3b55c4b0111::MenuModelBase
Dmenu_model_adapter.cc201 return model->IsEnabledAt(index); in IsCommandEnabled()
/external/chromium_org/chrome/browser/ui/cocoa/autofill/
Dautofill_account_chooser.mm126 model->IsEnabledAt(i),
/external/chromium_org/chrome/browser/chromeos/status/
Dnetwork_menu.cc139 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/
Dmenu_controller.mm193 return model->IsEnabledAt(modelIndex);
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dwrench_menu.cc357 button->SetEnabled(menu_model_->IsEnabledAt(index)); in CreateButtonWithAccName()
1003 return entry.first->IsEnabledAt(entry.second); in IsCommandEnabled()
/external/chromium_org/chrome/browser/background/
Dbackground_mode_manager_unittest.cc182 return model->IsEnabledAt(index); in IsCommandEnabled()

12