/external/chromium/chrome/browser/tabs/ |
H A D | tab_strip_model_order_controller.cc | 102 int selected_index = tabstrip_->active_index(); local 103 if (selected_index >= (tab_count - 1)) 104 return selected_index - 1; 106 return selected_index;
|
/external/webkit/Tools/Scripts/webkitpy/common/net/bugzilla/ |
H A D | bugzilla_unittest.py | 304 def _mock_find_control(self, item_names=[], selected_index=0): 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): 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/webkit/glue/ |
H A D | webmenurunner_mac.h | 64 // that corresponds to the menu item that was selected, |selected_index|, based 69 int item_height, int selected_index,
|
/external/chromium/chrome/browser/ui/webui/options/ |
H A D | browser_options_handler.cc | 282 int selected_index = -1; local 283 if (!ExtractIntegerValue(args, &selected_index)) { 290 if (selected_index >= 0 && 291 selected_index < static_cast<int>(model_urls.size())) 292 template_url_model_->SetDefaultSearchProvider(model_urls[selected_index]); 364 int selected_index; local 365 base::StringToInt(string_value, &selected_index); 366 if (selected_index < 0 || 367 selected_index >= startup_custom_pages_table_model_->RowCount()) { 371 startup_custom_pages_table_model_->Remove(selected_index); [all...] |
/external/chromium/chrome/browser/sessions/ |
H A D | tab_restore_service.cc | 463 int selected_index = GetSelectedNavigationIndexToPersist(*tab); local 464 if (selected_index != -1) 465 ScheduleCommandsForTab(*tab, selected_index); 587 int selected_index = GetSelectedNavigationIndexToPersist(window.tabs[i]); local 588 if (selected_index != -1) 589 ScheduleCommandsForTab(window.tabs[i], selected_index); 594 int selected_index) { 600 int first_index_to_persist = selected_index; 601 for (int i = selected_index - 1; i >= 0 && 689 int selected_index local 593 ScheduleCommandsForTab(const Tab& tab, int selected_index) argument [all...] |
H A D | session_restore.cc | 648 int selected_index = tab.current_navigation_index; local 649 selected_index = std::max( 651 std::min(selected_index, 669 selected_index,
|
H A D | tab_restore_service.h | 224 // Schedules the commands for a tab close. |selected_index| gives the 226 void ScheduleCommandsForTab(const Tab& tab, int selected_index);
|
/external/chromium/chrome/browser/autocomplete/ |
H A D | autocomplete.h | 733 size_t selected_index, 738 selected_index(selected_index), 747 size_t selected_index; member in struct:AutocompleteLog 731 AutocompleteLog(const string16& text, AutocompleteInput::Type input_type, size_t selected_index, size_t inline_autocompleted_length, const AutocompleteResult& result) argument
|
H A D | autocomplete_edit.cc | 494 log.selected_index = index;
|
/external/chromium/chrome/browser/ui/webui/ |
H A D | foreign_session_handler.cc | 201 int selected_index = tab.current_navigation_index; local 202 selected_index = std::max( 204 std::min(selected_index, 207 tab.navigations.at(selected_index);
|
/external/chromium/chrome/browser/ |
H A D | omnibox_search_hint.cc | 193 log->result.match_at(log->selected_index).type;
|
/external/chromium/chrome/browser/sync/glue/ |
H A D | session_model_associator.cc | 830 int selected_index = tab.current_navigation_index; local 831 selected_index = std::max( 833 std::min(selected_index, 835 if (selected_index == 0 && 837 tab.navigations.at(selected_index).virtual_url() ==
|
/external/chromium/chrome/browser/metrics/ |
H A D | metrics_log.cc | 471 WriteIntAttribute("selectedindex", static_cast<int>(log.selected_index));
|