Home
last modified time | relevance | path

Searched refs:omnibox (Results 1 – 25 of 109) sorted by relevance

12345

/external/chromium_org/components/
Domnibox.gypi8 # GN version: //components/omnibox
9 'target_name': 'omnibox',
29 'omnibox/answers_cache.h',
30 'omnibox/answers_cache.cc',
31 'omnibox/autocomplete_input.cc',
32 'omnibox/autocomplete_input.h',
33 'omnibox/autocomplete_match.cc',
34 'omnibox/autocomplete_match.h',
35 'omnibox/autocomplete_match_type.cc',
36 'omnibox/autocomplete_match_type.h',
[all …]
/external/chromium_org/chrome/browser/ui/search/
Dsearch_tab_helper.cc149 bool OmniboxHasFocus(OmniboxView* omnibox) { in OmniboxHasFocus() argument
150 return omnibox && omnibox->model()->has_focus(); in OmniboxHasFocus()
443 OmniboxView* omnibox = GetOmniboxView(); in FocusOmnibox() local
444 if (!omnibox) in FocusOmnibox()
456 omnibox->SetFocus(); in FocusOmnibox()
457 omnibox->model()->SetCaretVisibility(true); in FocusOmnibox()
460 omnibox->SetFocus(); in FocusOmnibox()
461 omnibox->model()->SetCaretVisibility(false); in FocusOmnibox()
467 omnibox->SelectAll(false); in FocusOmnibox()
468 omnibox->ShowImeIfNeeded(); in FocusOmnibox()
[all …]
Dinstant_extended_interactive_uitest.cc236 return omnibox()->model()->autocomplete_controller()->search_provider()-> in CountSearchProviderSuggestions()
616 EXPECT_EQ(ASCIIToUTF16("flowers"), omnibox()->GetText()); in IN_PROC_BROWSER_TEST_F()
624 EXPECT_EQ(ASCIIToUTF16("cattles"), omnibox()->GetText()); in IN_PROC_BROWSER_TEST_F()
636 EXPECT_EQ(ASCIIToUTF16("flowers"), omnibox()->GetText()); in IN_PROC_BROWSER_TEST_F()
640 EXPECT_EQ(ASCIIToUTF16("flowers"), omnibox()->GetText()); in IN_PROC_BROWSER_TEST_F()
663 EXPECT_EQ(ASCIIToUTF16("flowers"), omnibox()->GetText()); in IN_PROC_BROWSER_TEST_F()
671 EXPECT_EQ(ASCIIToUTF16("cattles"), omnibox()->GetText()); in IN_PROC_BROWSER_TEST_F()
683 EXPECT_EQ(ASCIIToUTF16("flowers"), omnibox()->GetText()); in IN_PROC_BROWSER_TEST_F()
696 EXPECT_EQ(ASCIIToUTF16("cattles"), omnibox()->GetText()); in IN_PROC_BROWSER_TEST_F()
698 EXPECT_EQ(ASCIIToUTF16("cattles"), omnibox()->GetText()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dinstant_test_utils.cc98 if (omnibox()->model()->has_focus()) { in FocusOmnibox()
110 omnibox()->SetUserText(base::UTF8ToUTF16(text)); in SetOmniboxText()
160 return base::UTF16ToUTF8(omnibox()->GetText()); in GetOmniboxText()
176 omnibox()->GetSelectionBounds(&start, &end); in GetBlueText()
179 return omnibox()->GetText().substr(start, end - start); in GetBlueText()
Dinstant_extended_manual_interactive_uitest.cc125 EXPECT_EQ(OMNIBOX_FOCUS_INVISIBLE, omnibox()->model()->focus_state()); in IN_PROC_BROWSER_TEST_F()
139 EXPECT_EQ(OMNIBOX_FOCUS_VISIBLE, omnibox()->model()->focus_state()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/extensions/api/omnibox/
Domnibox_api.cc28 namespace omnibox = api::omnibox;
29 namespace SendSuggestions = omnibox::SendSuggestions;
30 namespace SetDefaultSuggestion = omnibox::SetDefaultSuggestion;
53 scoped_ptr<omnibox::SuggestResult> GetOmniboxDefaultSuggestion( in GetOmniboxDefaultSuggestion()
58 scoped_ptr<omnibox::SuggestResult> suggestion; in GetOmniboxDefaultSuggestion()
63 suggestion.reset(new omnibox::SuggestResult); in GetOmniboxDefaultSuggestion()
64 omnibox::SuggestResult::Populate(*dict, suggestion.get()); in GetOmniboxDefaultSuggestion()
74 const omnibox::DefaultSuggestResult& suggestion) { in SetOmniboxDefaultSuggestion()
103 omnibox::OnInputStarted::kEventName, in OnInputStarted()
116 extension_id, omnibox::OnInputChanged::kEventName)) in OnInputChanged()
[all …]
Domnibox_unittest.cc14 namespace omnibox = api::omnibox;
15 namespace SendSuggestions = omnibox::SendSuggestions;
16 namespace SetDefaultSuggestion = omnibox::SetDefaultSuggestion;
/external/chromium_org/components/metrics/proto/
Domnibox_event.proto5 // Stores information about an omnibox interaction.
20 // The id of the originating tab for this omnibox interaction.
29 // Whether the user deleted text immediately before selecting an omnibox
33 // The number of terms that the user typed in the omnibox.
36 // The index of the item that the user selected in the omnibox popup list.
40 // Whether or not the top match was hidden in the omnibox suggestions
44 // Whether the omnibox popup is open. It can be closed if, for instance,
45 // the user clicks in the omnibox and hits return to reload the same page.
49 // omnibox dropdown (if it is open) when they happen, we pretend the
57 // The length of the inline autocomplete text in the omnibox.
[all …]
/external/chromium_org/chrome/common/extensions/docs/examples/extensions/chrome_search/
Dbackground.js7 chrome.omnibox.onInputChanged.addListener(
73 chrome.omnibox.setDefaultSuggestion({
97 chrome.omnibox.setDefaultSuggestion({
102 chrome.omnibox.onInputStarted.addListener(function() {
106 chrome.omnibox.onInputCancelled.addListener(function() {
156 chrome.omnibox.onInputEntered.addListener(function(text) {
/external/chromium_org/chrome/
Dchrome_web_ui_mojo_bindings.gyp7 # GN version: //chrome/browser/ui/webui/omnibox:mojo_bindings
14 'browser/ui/webui/omnibox/omnibox.mojom',
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/
Domnibox_view_mac_unittest.mm5 #import "chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h"
8 #include "chrome/browser/ui/omnibox/omnibox_edit_controller.h"
9 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h"
10 #include "chrome/browser/ui/omnibox/omnibox_popup_view.h"
129 // This is deleted by the omnibox view.
162 // This is deleted by the omnibox view.
184 // This is deleted by the omnibox view.
Domnibox_popup_view_mac.mm5 #include "chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h"
13 #import "chrome/browser/ui/cocoa/omnibox/omnibox_popup_cell.h"
14 #import "chrome/browser/ui/cocoa/omnibox/omnibox_popup_separator_view.h"
15 #include "chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h"
16 #include "chrome/browser/ui/omnibox/omnibox_edit_model.h"
17 #include "chrome/browser/ui/omnibox/omnibox_popup_model.h"
18 #include "components/omnibox/autocomplete_match.h"
19 #include "components/omnibox/autocomplete_match_type.h"
Domnibox_view_mac_browsertest.mm5 #import "chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h"
43 // Focusing on the omnibox should show focus state.
Domnibox_popup_view_mac_unittest.mm5 #import "chrome/browser/ui/cocoa/omnibox/omnibox_popup_view_mac.h"
11 #import "chrome/browser/ui/cocoa/omnibox/omnibox_view_mac.h"
/external/chromium_org/components/omnibox/
DBUILD.gn5 static_library("omnibox") {
61 ":omnibox",
80 ":omnibox",
/external/chromium_org/chrome/common/extensions/docs/examples/api/omnibox/simple-example/
Dbackground.js7 chrome.omnibox.onInputChanged.addListener(
17 chrome.omnibox.onInputEntered.addListener(
/external/chromium_org/chrome/browser/renderer_host/
Drender_process_host_chrome_browsertest.cc128 GURL omnibox(chrome::kChromeUIOmniboxURL); in TestProcessOverflow() local
129 ui_test_utils::NavigateToURL(browser(), omnibox); in TestProcessOverflow()
133 EXPECT_EQ(omnibox, tab1->GetURL()); in TestProcessOverflow()
221 GURL omnibox(chrome::kChromeUIOmniboxURL); in IN_PROC_BROWSER_TEST_F() local
222 ui_test_utils::NavigateToURL(browser(), omnibox); in IN_PROC_BROWSER_TEST_F()
250 browser(), omnibox, NEW_FOREGROUND_TAB, in IN_PROC_BROWSER_TEST_F()
259 browser(), omnibox, NEW_FOREGROUND_TAB, in IN_PROC_BROWSER_TEST_F()
284 GURL omnibox(chrome::kChromeUIOmniboxURL); in IN_PROC_BROWSER_TEST_F() local
285 ui_test_utils::NavigateToURL(browser(), omnibox); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/history/
DDEPS28 "!chrome/browser/omnibox/omnibox_field_trial.h",
51 "!components/omnibox/autocomplete_match.h",
52 "!components/omnibox/autocomplete_result.h",
53 "!components/omnibox/url_prefix.h",
/external/chromium_org/chrome/android/shell/java/src/org/chromium/chrome/shell/omnibox/
DSuggestionPopup.java5 package org.chromium.chrome.shell.omnibox;
22 import org.chromium.chrome.browser.omnibox.AutocompleteController;
23 import org.chromium.chrome.browser.omnibox.AutocompleteController.OnSuggestionsReceivedListener;
24 import org.chromium.chrome.browser.omnibox.OmniboxSuggestion;
DSuggestionArrayAdapter.java5 package org.chromium.chrome.shell.omnibox;
17 import org.chromium.chrome.browser.omnibox.OmniboxSuggestion;
/external/chromium_org/chrome/browser/android/omnibox/
Domnibox_prerender.cc32 OmniboxPrerender* omnibox = new OmniboxPrerender(env, obj); in Init() local
33 return reinterpret_cast<intptr_t>(omnibox); in Init()
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/omnibox/
DOmniboxViewUtil.java5 package org.chromium.chrome.browser.omnibox;
DAnswersImage.java5 package org.chromium.chrome.browser.omnibox;
/external/chromium_org/chrome/browser/metrics/
DOWNERS6 # Primarily for omnibox-related changes.
/external/chromium_org/chrome/browser/ui/webui/omnibox/
DBUILD.gn10 "omnibox.mojom",

12345