Home
last modified time | relevance | path

Searched refs:modelIndex (Results 1 – 22 of 22) sorted by relevance

/external/chromium/chrome/browser/ui/cocoa/
Dmenu_controller.mm58 int modelIndex = index - firstItemIndex;
59 if (model->GetTypeAt(modelIndex) == ui::MenuModel::TYPE_SEPARATOR) {
63 modelIndex:modelIndex];
80 // associated with the entry in the model indentifed by |modelIndex|.
84 modelIndex:(int)modelIndex {
86 l10n_util::FixUpWindowsStyleLabel(model->GetLabelAt(modelIndex));
94 if (model->GetIconAt(modelIndex, &skiaIcon) && !skiaIcon.isNull()) {
101 ui::MenuModel::ItemType type = model->GetTypeAt(modelIndex);
106 ui::MenuModel* submenuModel = model->GetSubmenuModelAt(modelIndex);
116 [item setTag:modelIndex];
[all …]
Dmenu_controller.h65 modelIndex:(int)modelIndex;
Dtask_manager_mac.mm351 int modelIndex = viewToModelMap_[i];
352 if (taskManager_->IsBrowserProcess(modelIndex))
356 model_->GetGroupRangeForResource(modelIndex);
/external/chromium_org/chrome/browser/resources/options/
Dsearch_engine_manager_engine_list.js78 if (engine.modelIndex == '-1') {
136 chrome.send('managerSetDefaultSearchEngine', [engine.modelIndex]);
219 var editIndex = this.searchEngine_.modelIndex;
267 args.push(this.searchEngine_.modelIndex);
316 var modelIndex = this.dataModel.item(index).modelIndex;
317 chrome.send('removeSearchEngine', [String(modelIndex)]);
326 validationComplete: function(validity, modelIndex) { argument
332 if (listItem.editing && currentSelection.modelIndex == modelIndex)
Dsearch_engine_manager.js115 SearchEngineManager.validityCheckCallback = function(validity, modelIndex) { argument
118 validity, modelIndex);
120 validity, modelIndex);
122 validity, modelIndex);
Dbrowser_options_startup_page_list.js48 if (pageInfo.modelIndex == -1) {
110 chrome.send('editStartupPage', [this.pageInfo_.modelIndex, url]);
238 dropTarget.pageInfo_.modelIndex == -1) {
Dstartup_overlay.js128 model.push({modelIndex: -1}); property
/external/chromium_org/ui/base/cocoa/
Dmenu_controller.mm87 modelIndex:(int)modelIndex {
101 // associated with the entry in the model identified by |modelIndex|.
106 int maxWidth = [self maxWidthForMenuModel:model modelIndex:index];
163 NSInteger modelIndex = [item tag];
169 BOOL checked = model->IsItemCheckedAt(modelIndex);
172 [(id)item setHidden:(!model->IsVisibleAt(modelIndex))];
173 if (model->IsItemDynamicAt(modelIndex)) {
176 l10n_util::FixUpWindowsStyleLabel(model->GetLabelAt(modelIndex));
180 model->GetIconAt(modelIndex, &icon);
183 const gfx::Font* font = model->GetLabelFontAt(modelIndex);
[all …]
Dmenu_controller.h85 modelIndex:(int)modelIndex;
/external/chromium_org/chrome/browser/resources/file_manager/foreground/js/
Dnavigation_list_model.js208 var modelIndex = 0;
211 while (modelIndex < this.shortcutListModel_.length &&
213 var shortcutPath = this.shortcutListModel_.item(modelIndex);
241 modelIndex++;
245 for (; modelIndex < this.shortcutListModel_.length; modelIndex++) {
246 var shortcutPath = this.shortcutListModel_.item(modelIndex);
/external/chromium/chrome/browser/resources/options/
Dsearch_engine_manager.js83 SearchEngineManager.validityCheckCallback = function(validity, modelIndex) { argument
87 validity, modelIndex);
89 validity, modelIndex);
Dsearch_engine_manager_engine_list.js281 var modelIndex = this.dataModel.item(index)['modelIndex']
282 chrome.send('removeSearchEngine', [String(modelIndex)]);
291 validationComplete: function(validity, modelIndex) { argument
297 if (listItem.editing && currentSelection['modelIndex'] == modelIndex)
/external/chromium_org/chrome/browser/ui/webui/options/
Dstartup_page_list_browsertest.js56 modelIndex: 0 property
62 modelIndex: 1 property
Dsearch_engine_manager_handler.cc269 std::string modelIndex; in CheckSearchEngineInfoValidity() local
273 !args->GetString(3, &modelIndex)) { in CheckSearchEngineInfoValidity()
282 StringValue indexValue(modelIndex); in CheckSearchEngineInfoValidity()
/external/chromium/chrome/browser/ui/cocoa/wrench_menu/
Dwrench_menu_controller.mm70 modelIndex:(int)modelIndex {
72 ui::MenuModel::ItemType type = model->GetTypeAt(modelIndex);
77 modelIndex:modelIndex];
82 int command_id = model->GetCommandIdAt(modelIndex);
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_strip_controller.mm158 atIndex:(NSInteger)modelIndex;
517 - (void)swapInTabAtIndex:(NSInteger)modelIndex {
518 DCHECK(modelIndex >= 0 && modelIndex < tabStripModel_->count());
519 NSInteger index = [self indexFromModelIndex:modelIndex];
564 TabContentsWrapper* newTab = tabStripModel_->GetTabContentsAt(modelIndex);
1097 // at |modelIndex|.
1099 atIndex:(NSInteger)modelIndex
1102 DCHECK(modelIndex == TabStripModel::kNoTab ||
1103 tabStripModel_->ContainsIndex(modelIndex));
1106 NSInteger index = [self indexFromModelIndex:modelIndex];
[all …]
/external/chromium_org/chrome/browser/ui/cocoa/tabs/
Dtab_strip_controller.mm240 atIndex:(NSInteger)modelIndex;
610 - (void)swapInTabAtIndex:(NSInteger)modelIndex {
611 DCHECK(modelIndex >= 0 && modelIndex < tabStripModel_->count());
612 NSInteger index = [self indexFromModelIndex:modelIndex];
731 NSInteger modelIndex = 0;
736 return modelIndex;
737 ++modelIndex;
1242 // at |modelIndex|.
1244 atIndex:(NSInteger)modelIndex
1247 DCHECK(modelIndex == TabStripModel::kNoTab ||
[all …]
/external/chromium/chrome/browser/ui/webui/options/
Dsearch_engine_manager_handler.cc235 std::string modelIndex; in CheckSearchEngineInfoValidity() local
239 !args->GetString(3, &modelIndex)) { in CheckSearchEngineInfoValidity()
248 StringValue indexValue(modelIndex); in CheckSearchEngineInfoValidity()
/external/chromium_org/chrome/browser/ui/cocoa/wrench_menu/
Dwrench_menu_controller.mm45 modelIndex:(int)modelIndex;
378 modelIndex:(int)modelIndex {
381 return recentTabsMenuModel->GetMaxWidthForItemAtIndex(modelIndex);
/external/chromium_org/ui/app_list/cocoa/
Dapps_grid_controller.h99 toModelIndex:(size_t)modelIndex;
Dapps_grid_controller.mm519 toModelIndex:(size_t)modelIndex {
521 if (itemIndex == modelIndex)
526 itemList->MoveItem(itemIndex, modelIndex);
/external/chromium_org/chrome/browser/ui/cocoa/
Dtask_manager_mac.mm357 int modelIndex = viewToModelMap_[i];
358 if (taskManager_->IsBrowserProcess(modelIndex))
362 model_->GetGroupRangeForResource(modelIndex);