Home
last modified time | relevance | path

Searched refs:selected_index (Results 1 – 15 of 15) sorted by relevance

/external/webkit/Tools/Scripts/webkitpy/common/net/bugzilla/
Dbugzilla_unittest.py304 def _mock_find_control(self, item_names=[], selected_index=0): argument
307 mock_control.value = [item_names[selected_index]] if item_names else None
310 def _assert_reopen(self, item_names=None, selected_index=None, extra_stderr=None): argument
315 mock_find_control = self._mock_find_control(item_names, selected_index)
323 self._assert_reopen(item_names=["REOPENED", "RESOLVED", "CLOSED"], selected_index=1)
324 self._assert_reopen(item_names=["UNCONFIRMED", "RESOLVED", "CLOSED"], selected_index=1)
326 … self._assert_reopen(item_names=["NEW", "RESOLVED"], selected_index=0, extra_stderr=extra_stderr)
/external/chromium/chrome/browser/ui/webui/options/
Dbrowser_options_handler.cc282 int selected_index = -1; in SetDefaultSearchEngine() local
283 if (!ExtractIntegerValue(args, &selected_index)) { in SetDefaultSearchEngine()
290 if (selected_index >= 0 && in SetDefaultSearchEngine()
291 selected_index < static_cast<int>(model_urls.size())) in SetDefaultSearchEngine()
292 template_url_model_->SetDefaultSearchProvider(model_urls[selected_index]); in SetDefaultSearchEngine()
364 int selected_index; in RemoveStartupPages() local
365 base::StringToInt(string_value, &selected_index); in RemoveStartupPages()
366 if (selected_index < 0 || in RemoveStartupPages()
367 selected_index >= startup_custom_pages_table_model_->RowCount()) { in RemoveStartupPages()
371 startup_custom_pages_table_model_->Remove(selected_index); in RemoveStartupPages()
/external/chromium/chrome/browser/sessions/
Dtab_restore_service.cc463 int selected_index = GetSelectedNavigationIndexToPersist(*tab); in Save() local
464 if (selected_index != -1) in Save()
465 ScheduleCommandsForTab(*tab, selected_index); in Save()
587 int selected_index = GetSelectedNavigationIndexToPersist(window.tabs[i]); in ScheduleCommandsForWindow() local
588 if (selected_index != -1) in ScheduleCommandsForWindow()
589 ScheduleCommandsForTab(window.tabs[i], selected_index); in ScheduleCommandsForWindow()
594 int selected_index) { in ScheduleCommandsForTab() argument
600 int first_index_to_persist = selected_index; in ScheduleCommandsForTab()
601 for (int i = selected_index - 1; i >= 0 && in ScheduleCommandsForTab()
689 int selected_index = tab.current_navigation_index; in GetSelectedNavigationIndexToPersist() local
[all …]
Dsession_restore.cc648 int selected_index = tab.current_navigation_index; in RestoreTab() local
649 selected_index = std::max( in RestoreTab()
651 std::min(selected_index, in RestoreTab()
669 selected_index, in RestoreTab()
Dtab_restore_service.h226 void ScheduleCommandsForTab(const Tab& tab, int selected_index);
/external/chromium/chrome/browser/tabs/
Dtab_strip_model_order_controller.cc102 int selected_index = tabstrip_->active_index(); in DetermineNewSelectedIndex() local
103 if (selected_index >= (tab_count - 1)) in DetermineNewSelectedIndex()
104 return selected_index - 1; in DetermineNewSelectedIndex()
106 return selected_index; in DetermineNewSelectedIndex()
/external/chromium/chrome/browser/ui/webui/
Dforeign_session_handler.cc201 int selected_index = tab.current_navigation_index; in SessionTabToValue() local
202 selected_index = std::max( in SessionTabToValue()
204 std::min(selected_index, in SessionTabToValue()
207 tab.navigations.at(selected_index); in SessionTabToValue()
/external/chromium/chrome/browser/autocomplete/
Dautocomplete.h733 size_t selected_index, in AutocompleteLog()
738 selected_index(selected_index), in AutocompleteLog()
747 size_t selected_index; member
Dautocomplete_edit.cc494 log.selected_index = index; in OpenURL()
/external/chromium/webkit/glue/
Dwebmenurunner_mac.h69 int item_height, int selected_index,
Dwebmenurunner_mac.mm163 int item_height, int selected_index,
182 int item_offset = selected_index * item_height + item_height / 2;
/external/chromium/chrome/browser/ui/cocoa/
Dtabpose_window.mm553 int selected_index() const { return selected_index_; }
556 const Tile& selected_tile() const { return *tiles_[selected_index()]; }
779 index_to_tile_xy(selected_index(), &tile_x, &tile_y);
794 index_to_tile_xy(selected_index(), &tile_x, &tile_y);
809 index_to_tile_xy(selected_index(), &tile_x, &tile_y);
818 index_to_tile_xy(selected_index(), &tile_x, &tile_y);
826 int new_index = selected_index() + 1;
833 int new_index = selected_index() - 1;
1008 return [allThumbnailLayers_ objectAtIndex:tileSet_->selected_index()];
1207 animationDelegate:i == tileSet_->selected_index() ? self : nil];
[all …]
/external/chromium/chrome/browser/sync/glue/
Dsession_model_associator.cc830 int selected_index = tab.current_navigation_index; in IsValidSessionTab() local
831 selected_index = std::max( in IsValidSessionTab()
833 std::min(selected_index, in IsValidSessionTab()
835 if (selected_index == 0 && in IsValidSessionTab()
837 tab.navigations.at(selected_index).virtual_url() == in IsValidSessionTab()
/external/chromium/chrome/browser/
Domnibox_search_hint.cc193 log->result.match_at(log->selected_index).type; in Observe()
/external/chromium/chrome/browser/metrics/
Dmetrics_log.cc471 WriteIntAttribute("selectedindex", static_cast<int>(log.selected_index)); in RecordOmniboxOpenedURL()