/external/chromium_org/chrome/browser/ui/omnibox/ |
H A D | omnibox_popup_model.cc | 110 bool is_keyword_hint; local 111 match.GetKeywordUIState(edit_model_->profile(), &keyword, &is_keyword_hint); 115 keyword, is_keyword_hint); 118 keyword, is_keyword_hint);
|
H A D | omnibox_edit_model.h | 59 bool is_keyword_hint, 69 const bool is_keyword_hint; member in struct:OmniboxEditModel::State 221 bool is_keyword_hint() const { return is_keyword_hint_; } function in class:OmniboxEditModel 295 // |keyword| is the keyword to show a hint for if |is_keyword_hint| is true, 296 // or the currently selected keyword if |is_keyword_hint| is false (see 302 bool is_keyword_hint);
|
H A D | omnibox_view_browsertest.cc | 495 ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); 500 ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); 505 ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); 510 ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); 520 ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); 537 ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); 828 ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); 834 ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); 840 ASSERT_TRUE(omnibox_view->model()->is_keyword_hint()); 849 ASSERT_FALSE(omnibox_view->model()->is_keyword_hint()); [all...] |
H A D | omnibox_edit_model.cc | 176 bool is_keyword_hint, 184 is_keyword_hint(is_keyword_hint), 264 is_keyword_hint_ = state->is_keyword_hint; 1038 bool is_keyword_hint) { 1044 ((is_keyword_hint_ != is_keyword_hint) && !keyword.empty()); 1047 is_keyword_hint_ = is_keyword_hint; 1234 // We store |keyword| and |is_keyword_hint| in temporary variables since 1237 bool is_keyword_hint; local 1238 match.GetKeywordUIState(profile_, &keyword, &is_keyword_hint); 172 State(bool user_input_in_progress, const base::string16& user_text, const base::string16& gray_text, const base::string16& keyword, bool is_keyword_hint, bool url_replacement_enabled, OmniboxFocusState focus_state, FocusSource focus_source) argument 1034 OnPopupDataChanged( const base::string16& text, GURL* destination_for_temporary_text_change, const base::string16& keyword, bool is_keyword_hint) argument [all...] |
/external/chromium/chrome/browser/autocomplete/ |
H A D | autocomplete_edit_view_browsertest.cc | 474 ASSERT_TRUE(edit_view->model()->is_keyword_hint()); 479 ASSERT_FALSE(edit_view->model()->is_keyword_hint()); 484 ASSERT_TRUE(edit_view->model()->is_keyword_hint()); 489 ASSERT_FALSE(edit_view->model()->is_keyword_hint()); 499 ASSERT_FALSE(edit_view->model()->is_keyword_hint()); 516 ASSERT_FALSE(edit_view->model()->is_keyword_hint()); 717 ASSERT_TRUE(edit_view->model()->is_keyword_hint()); 723 ASSERT_FALSE(edit_view->model()->is_keyword_hint()); 729 ASSERT_TRUE(edit_view->model()->is_keyword_hint()); 738 ASSERT_FALSE(edit_view->model()->is_keyword_hint()); [all...] |
H A D | autocomplete_edit.h | 94 bool is_keyword_hint); 100 const bool is_keyword_hint; member in struct:AutocompleteEditModel::State 263 bool is_keyword_hint() const { return is_keyword_hint_; } function in class:AutocompleteEditModel 312 // |keyword| is the keyword to show a hint for if |is_keyword_hint| is true, 313 // or the currently selected keyword if |is_keyword_hint| is false (see 319 bool is_keyword_hint);
|
H A D | autocomplete_popup_model.cc | 104 const bool is_keyword_hint = GetKeywordForMatch(match, &keyword); local 113 keyword, is_keyword_hint); 116 keyword, is_keyword_hint);
|
H A D | autocomplete_edit.cc | 51 bool is_keyword_hint) 55 is_keyword_hint(is_keyword_hint) { 124 is_keyword_hint_ = state.is_keyword_hint; 679 bool is_keyword_hint) { 682 ((is_keyword_hint_ != is_keyword_hint) && !keyword.empty()); 685 is_keyword_hint_ = is_keyword_hint; 835 bool is_keyword_hint = false; local 856 is_keyword_hint = popup_->GetKeywordForMatch(*match, &keyword); 860 is_keyword_hint); 48 State(bool user_input_in_progress, const string16& user_text, const string16& keyword, bool is_keyword_hint) argument 675 OnPopupDataChanged( const string16& text, GURL* destination_for_temporary_text_change, const string16& keyword, bool is_keyword_hint) argument [all...] |
H A D | autocomplete_edit_view_views.cc | 204 if (model_->is_keyword_hint()) { 576 if (model_->is_keyword_hint() || model_->keyword().empty())
|
H A D | autocomplete_popup_view_gtk.cc | 481 const bool is_keyword_hint = model_->GetKeywordForMatch(match, &keyword); local 483 is_keyword_hint ? string16() : keyword);
|
H A D | autocomplete_edit_view_gtk.cc | 1663 if (model_->is_keyword_hint() || model_->keyword().empty()) 1698 if (model_->is_keyword_hint())
|
H A D | autocomplete_edit_view_win.cc | 2004 if ((flags & KF_ALTDOWN) || model_->is_keyword_hint() || 2023 if (model_->is_keyword_hint()) {
|
/external/chromium_org/chrome/browser/autocomplete/ |
H A D | autocomplete_match.cc | 397 bool* is_keyword_hint) const { 398 *is_keyword_hint = associated_keyword.get() != NULL; 399 keyword->assign(*is_keyword_hint ? associated_keyword->keyword :
|
H A D | autocomplete_match.h | 180 // and |is_keyword_hint| will be set to false. If this match has a non-NULL 183 // to the associated keyword and |is_keyword_hint| will be set to true. Note 191 bool* is_keyword_hint) const;
|
/external/chromium/chrome/browser/ui/views/location_bar/ |
H A D | location_bar_view.cc | 476 const bool is_keyword_hint(location_entry_->model()->is_keyword_hint()); 477 const bool show_selected_keyword = !keyword.empty() && !is_keyword_hint; 537 const bool show_keyword_hint = !keyword.empty() && is_keyword_hint;
|
/external/chromium/chrome/browser/ui/views/autocomplete/ |
H A D | autocomplete_popup_contents_view.cc | 628 const bool is_keyword_hint = model_->GetKeywordForMatch(match, &keyword); local 630 is_keyword_hint ? string16() : keyword);
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
H A D | location_bar_view.cc | 726 const bool is_keyword_hint(omnibox_view_->model()->is_keyword_hint()); 734 if (!keyword.empty() && !is_keyword_hint) { 830 if (!keyword.empty() && is_keyword_hint && !omnibox_view_->IsImeComposing()) {
|
/external/chromium_org/chrome/browser/ui/views/omnibox/ |
H A D | omnibox_view_views.cc | 330 ((model()->is_keyword_hint() && !event.IsShiftDown()) || 341 if (model()->is_keyword_hint() && !event.IsShiftDown()) { 709 if (model()->is_keyword_hint() || model()->keyword().empty() ||
|
/external/chromium/chrome/browser/ui/gtk/ |
H A D | location_bar_view_gtk.cc | 496 const bool is_keyword_hint = location_entry_->model()->is_keyword_hint(); local 497 show_selected_keyword_ = !keyword.empty() && !is_keyword_hint; 498 show_keyword_hint_ = !keyword.empty() && is_keyword_hint; 858 !location_entry_->model()->is_keyword_hint()) {
|
/external/chromium_org/chrome/browser/ui/gtk/ |
H A D | location_bar_view_gtk.cc | 633 const bool is_keyword_hint = omnibox_view_->model()->is_keyword_hint(); local 634 show_selected_keyword_ = !keyword.empty() && !is_keyword_hint; 635 show_keyword_hint_ = !keyword.empty() && is_keyword_hint; 1268 !omnibox_view_->model()->is_keyword_hint()) {
|
/external/chromium_org/chrome/browser/ui/gtk/omnibox/ |
H A D | omnibox_view_gtk.cc | 1489 if (model()->is_keyword_hint() || model()->keyword().empty()) 1524 if (model()->is_keyword_hint() && !shift_was_pressed_) {
|