/external/webkit/Tools/Scripts/webkitpy/common/net/bugzilla/ |
D | bugzilla_unittest.py | 304 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/ |
D | browser_options_handler.cc | 282 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/ |
D | tab_restore_service.cc | 463 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 …]
|
D | session_restore.cc | 648 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()
|
D | tab_restore_service.h | 226 void ScheduleCommandsForTab(const Tab& tab, int selected_index);
|
/external/chromium/chrome/browser/tabs/ |
D | tab_strip_model_order_controller.cc | 102 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/ |
D | foreign_session_handler.cc | 201 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/ |
D | autocomplete.h | 733 size_t selected_index, in AutocompleteLog() 738 selected_index(selected_index), in AutocompleteLog() 747 size_t selected_index; member
|
D | autocomplete_edit.cc | 494 log.selected_index = index; in OpenURL()
|
/external/chromium/webkit/glue/ |
D | webmenurunner_mac.h | 69 int item_height, int selected_index,
|
D | webmenurunner_mac.mm | 163 int item_height, int selected_index, 182 int item_offset = selected_index * item_height + item_height / 2;
|
/external/chromium/chrome/browser/ui/cocoa/ |
D | tabpose_window.mm | 553 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/ |
D | session_model_associator.cc | 830 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/ |
D | omnibox_search_hint.cc | 193 log->result.match_at(log->selected_index).type; in Observe()
|
/external/chromium/chrome/browser/metrics/ |
D | metrics_log.cc | 471 WriteIntAttribute("selectedindex", static_cast<int>(log.selected_index)); in RecordOmniboxOpenedURL()
|