Home
last modified time | relevance | path

Searched refs:omnibox_view (Results 1 – 18 of 18) sorted by relevance

/external/chromium_org/chrome/browser/ui/omnibox/
Domnibox_view_browsertest.cc151 OmniboxView** omnibox_view) { in GetOmniboxViewForBrowser() argument
156 *omnibox_view = location_bar->GetOmniboxView(); in GetOmniboxViewForBrowser()
157 ASSERT_TRUE(*omnibox_view); in GetOmniboxViewForBrowser()
160 void GetOmniboxView(OmniboxView** omnibox_view) { in GetOmniboxView() argument
161 GetOmniboxViewForBrowser(browser(), omnibox_view); in GetOmniboxView()
225 OmniboxView* omnibox_view = NULL; in WaitForAutocompleteControllerDone() local
226 ASSERT_NO_FATAL_FAILURE(GetOmniboxView(&omnibox_view)); in WaitForAutocompleteControllerDone()
229 omnibox_view->model()->autocomplete_controller(); in WaitForAutocompleteControllerDone()
364 OmniboxView* omnibox_view = NULL; in IN_PROC_BROWSER_TEST_F() local
365 ASSERT_NO_FATAL_FAILURE(GetOmniboxView(&omnibox_view)); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/autocomplete/
Dautocomplete_browsertest.cc80 OmniboxView* omnibox_view = location_bar->GetOmniboxView(); in IN_PROC_BROWSER_TEST_F() local
83 EXPECT_EQ(base::UTF8ToUTF16(url::kAboutBlankURL), omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
90 EXPECT_EQ(base::UTF8ToUTF16(url::kAboutBlankURL), omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
91 EXPECT_TRUE(omnibox_view->IsSelectAll()); in IN_PROC_BROWSER_TEST_F()
93 omnibox_view->SetUserText(base::ASCIIToUTF16("chrome")); in IN_PROC_BROWSER_TEST_F()
96 EXPECT_EQ(base::ASCIIToUTF16("chrome"), omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
97 EXPECT_FALSE(omnibox_view->IsSelectAll()); in IN_PROC_BROWSER_TEST_F()
99 omnibox_view->RevertAll(); in IN_PROC_BROWSER_TEST_F()
102 EXPECT_EQ(base::UTF8ToUTF16(url::kAboutBlankURL), omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
103 EXPECT_FALSE(omnibox_view->IsSelectAll()); in IN_PROC_BROWSER_TEST_F()
[all …]
/external/chromium_org/chrome/browser/ui/views/omnibox/
Domnibox_view_views_browsertest.cc36 OmniboxView** omnibox_view) { in GetOmniboxViewForBrowser() argument
41 *omnibox_view = location_bar->GetOmniboxView(); in GetOmniboxViewForBrowser()
42 ASSERT_TRUE(*omnibox_view); in GetOmniboxViewForBrowser()
122 OmniboxView* omnibox_view = NULL; in IN_PROC_BROWSER_TEST_F() local
123 ASSERT_NO_FATAL_FAILURE(GetOmniboxViewForBrowser(browser(), &omnibox_view)); in IN_PROC_BROWSER_TEST_F()
124 omnibox_view->SetUserText(base::ASCIIToUTF16("http://www.google.com/")); in IN_PROC_BROWSER_TEST_F()
129 EXPECT_FALSE(omnibox_view->IsSelectAll()); in IN_PROC_BROWSER_TEST_F()
138 EXPECT_TRUE(omnibox_view->IsSelectAll()); in IN_PROC_BROWSER_TEST_F()
143 EXPECT_FALSE(omnibox_view->IsSelectAll()); in IN_PROC_BROWSER_TEST_F()
149 EXPECT_TRUE(omnibox_view->IsSelectAll()); in IN_PROC_BROWSER_TEST_F()
[all …]
Domnibox_popup_contents_view.h33 OmniboxView* omnibox_view,
80 OmniboxView* omnibox_view,
Domnibox_popup_contents_view.cc45 OmniboxView* omnibox_view, in Create() argument
50 font_list, omnibox_view, edit_model, location_bar_view); in Create()
57 OmniboxView* omnibox_view, in OmniboxPopupContentsView() argument
61 omnibox_view_(omnibox_view), in OmniboxPopupContentsView()
/external/chromium_org/chrome/browser/extensions/api/omnibox/
Domnibox_api_interactive_test.cc25 OmniboxView* omnibox_view = location_bar->GetOmniboxView(); in IN_PROC_BROWSER_TEST_F() local
28 OmniboxPopupModel* popup_model = omnibox_view->model()->popup_model(); in IN_PROC_BROWSER_TEST_F()
31 omnibox_view->OnBeforePossibleChange(); in IN_PROC_BROWSER_TEST_F()
32 omnibox_view->SetUserText(base::ASCIIToUTF16("keyword comman")); in IN_PROC_BROWSER_TEST_F()
33 omnibox_view->OnAfterPossibleChange(); in IN_PROC_BROWSER_TEST_F()
Domnibox_api_browsertest.cc168 OmniboxView* omnibox_view = location_bar->GetOmniboxView(); in IN_PROC_BROWSER_TEST_F() local
172 omnibox_view->OnBeforePossibleChange(); in IN_PROC_BROWSER_TEST_F()
173 omnibox_view->SetUserText(ASCIIToUTF16("keyword command")); in IN_PROC_BROWSER_TEST_F()
174 omnibox_view->OnAfterPossibleChange(); in IN_PROC_BROWSER_TEST_F()
180 omnibox_view->model()->AcceptInput(CURRENT_TAB, false); in IN_PROC_BROWSER_TEST_F()
185 omnibox_view->OnBeforePossibleChange(); in IN_PROC_BROWSER_TEST_F()
186 omnibox_view->SetUserText(ASCIIToUTF16("keyword newtab")); in IN_PROC_BROWSER_TEST_F()
187 omnibox_view->OnAfterPossibleChange(); in IN_PROC_BROWSER_TEST_F()
195 omnibox_view->model()->AcceptInput(NEW_FOREGROUND_TAB, false); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/cocoa/omnibox/
Domnibox_popup_view_mac_unittest.mm21 MockOmniboxPopupViewMac(OmniboxView* omnibox_view,
24 : OmniboxPopupViewMac(omnibox_view, edit_model, field) {
Domnibox_popup_view_mac.h28 OmniboxPopupViewMac(OmniboxView* omnibox_view,
Domnibox_popup_view_mac.mm49 OmniboxPopupViewMac::OmniboxPopupViewMac(OmniboxView* omnibox_view,
52 : omnibox_view_(omnibox_view),
57 DCHECK(omnibox_view);
/external/chromium_org/chrome/browser/ui/views/location_bar/
Dlocation_bar_view.h222 OmniboxViewViews* omnibox_view() { return omnibox_view_; } in omnibox_view() function
223 const OmniboxViewViews* omnibox_view() const { return omnibox_view_; } in omnibox_view() function
/external/chromium_org/chrome/browser/ui/search/
Dsearch_tab_helper.cc265 OmniboxView* omnibox_view = GetOmniboxView(); in OnTabActivated() local
267 omnibox_has_focus_fn_(omnibox_view)) { in OnTabActivated()
/external/chromium_org/chrome/browser/prerender/
Dprerender_browsertest.cc4453 void WaitForAutocompleteDone(OmniboxView* omnibox_view) { in WaitForAutocompleteDone() argument
4455 omnibox_view->model()->popup_model()->autocomplete_controller(); in WaitForAutocompleteDone()
4525 OmniboxView* omnibox_view = GetOmniboxView(); in IN_PROC_BROWSER_TEST_F() local
4526 omnibox_view->OnBeforePossibleChange(); in IN_PROC_BROWSER_TEST_F()
4527 omnibox_view->SetUserText( in IN_PROC_BROWSER_TEST_F()
4529 omnibox_view->OnAfterPossibleChange(); in IN_PROC_BROWSER_TEST_F()
4530 WaitForAutocompleteDone(omnibox_view); in IN_PROC_BROWSER_TEST_F()
4544 omnibox_view->model()->AcceptInput(CURRENT_TAB, false); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/policy/
Dpolicy_browsertest.cc1181 OmniboxView* omnibox_view = location_bar->GetOmniboxView(); in IN_PROC_BROWSER_TEST_F() local
1186 EXPECT_EQ(base::ASCIIToUTF16("foobar"), omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
1195 omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
1204 EXPECT_EQ(base::ASCIIToUTF16("banana"), omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
1213 EXPECT_EQ(base::ASCIIToUTF16("tractor parts"), omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
1221 EXPECT_EQ(base::ASCIIToUTF16("foobar"), omnibox_view->GetText()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/ui/views/extensions/
Dextension_installed_bubble_view.cc592 gfx::Size(0, location_bar_view->omnibox_view()->height())); in GetAnchorRect()
/external/chromium_org/chrome/browser/ui/views/frame/
Dbrowser_view.cc1002 if (location_bar->omnibox_view()->IsFocusable()) { in SetFocusToLocationBar()
1803 toolbar_->location_bar()->omnibox_view()->SetFocusable(IsToolbarVisible()); in Layout()
/external/chromium_org/chrome/browser/ui/cocoa/toolbar/
Dtoolbar_controller.mm43 #include "chrome/browser/ui/omnibox/omnibox_view.h"
/external/chromium_org/chrome/
Dchrome_browser_ui.gypi806 'browser/ui/omnibox/omnibox_view.cc',
807 'browser/ui/omnibox/omnibox_view.h',