• Home
  • Raw
  • Download

Lines Matching refs:view_

70       view_(view),  in AutocompleteEditModel()
106 const string16 user_text(UserTextFromDisplayText(view_->GetText())); in GetStateForTabSwitch()
108 view_->RevertAll(); in GetStateForTabSwitch()
109 view_->SelectAll(true); in GetStateForTabSwitch()
125 view_->SetUserText(state.user_text, in RestoreState()
167 view_->OnBeforePossibleChange(); in FinalizeInstantQuery()
168 view_->SetWindowTextAndCaretPos(final_text, final_text.length()); in FinalizeInstantQuery()
169 view_->OnAfterPossibleChange(); in FinalizeInstantQuery()
183 FinalizeInstantQuery(view_->GetText(), text, false); in SetSuggestedText()
185 view_->SetInstantSuggestion(text, false); in SetSuggestedText()
189 view_->SetInstantSuggestion(text, behavior == INSTANT_COMPLETE_DELAYED); in SetSuggestedText()
197 const string16 suggestion = view_->GetInstantSuggestion(); in CommitSuggestedText()
201 FinalizeInstantQuery(view_->GetText(), suggestion, skip_inline_autocomplete); in CommitSuggestedText()
223 instant->Update(tab, CurrentMatch(), view_->GetText(), in OnChanged()
234 view_->SetInstantSuggestion(string16(), false); in OnChanged()
274 if (view_->DeleteAtEndPressed() || (popup_->selected_line() != 0) || in UseVerbatimInstant()
279 view_->GetSelectionBounds(&start, &end); in UseVerbatimInstant()
280 return (start != end) || (start != view_->GetText().size()); in UseVerbatimInstant()
378 view_->SetWindowTextAndCaretPos(permanent_text_, in Revert()
410 if (!view_->GetCommandUpdater()->IsCommandEnabled(IDC_OPEN_CURRENT_URL)) in CanPasteAndGo()
425 view_->RevertAll(); in PasteAndGo()
426 view_->OpenURL(paste_and_go_url_, CURRENT_TAB, paste_and_go_transition_, in PasteAndGo()
476 view_->OpenURL(match.destination_url, disposition, match.transition, in AcceptInput()
522 view_->RevertAll(); in OpenURL()
537 view_->RevertAll(); // Revert the box to its unedited state in OpenURL()
551 view_->OnBeforePossibleChange(); in AcceptKeyword()
552 view_->SetWindowTextAndCaretPos(string16(), 0); in AcceptKeyword()
554 view_->OnAfterPossibleChange(); in AcceptKeyword()
564 view_->OnBeforePossibleChange(); in ClearKeyword()
566 view_->SetWindowTextAndCaretPos(window_text.c_str(), keyword_.length()); in ClearKeyword()
569 view_->OnAfterPossibleChange(); in ClearKeyword()
618 if (!user_input_in_progress_ && view_->IsSelectAll()) in OnEscapeKeyPressed()
621 view_->RevertAll(); in OnEscapeKeyPressed()
622 view_->SelectAll(true); in OnEscapeKeyPressed()
634 InternalSetUserText(UserTextFromDisplayText(view_->GetText())); in OnControlKeyChanged()
643 view_->UpdatePopup(); in OnControlKeyChanged()
663 view_->UpdatePopup(); in OnUpOrDownKeyPressed()
710 view_->OnTemporaryTextMaybeChanged(DisplayTextFromUserText(text), in OnPopupDataChanged()
717 if (view_->OnInlineAutocompleteTextMaybeChanged( in OnPopupDataChanged()
794 view_->UpdatePopup(); in OnAfterPossibleChange()
870 InternalSetUserText(UserTextFromDisplayText(view_->GetText())); in OnResultChanged()
935 UserTextFromDisplayText(view_->GetText()), GetDesiredTLD(), true, in GetInfoForCurrentText()
960 view_->OnRevertTemporaryText(); in RevertTemporaryText()