Home
last modified time | relevance | path

Searched refs:instant_service (Results 1 – 17 of 17) sorted by relevance

/external/chromium_org/chrome/browser/ui/
Dbrowser_instant_controller.cc37 InstantService* instant_service = in GetInstantSearchPrerenderer() local
39 return instant_service ? instant_service->instant_search_prerenderer() : NULL; in GetInstantSearchPrerenderer()
53 InstantService* instant_service = in BrowserInstantController() local
55 instant_service->OnBrowserInstantControllerCreated(); in BrowserInstantController()
56 instant_service->AddObserver(this); in BrowserInstantController()
62 InstantService* instant_service = in ~BrowserInstantController() local
64 instant_service->RemoveObserver(this); in ~BrowserInstantController()
65 instant_service->OnBrowserInstantControllerDestroyed(); in ~BrowserInstantController()
81 InstantService* instant_service = in MaybeSwapInInstantNTPContents() local
84 instant_service->ReleaseNTPContents(); in MaybeSwapInInstantNTPContents()
[all …]
/external/chromium_org/chrome/browser/ui/search/
Dinstant_test_utils.cc77 InstantService* instant_service = in SetupInstant() local
79 ASSERT_NE(static_cast<InstantService*>(NULL), instant_service); in SetupInstant()
80 instant_service->ntp_prerenderer()->ReloadInstantNTP(); in SetupInstant()
119 InstantService* instant_service = in FocusOmniboxAndWaitForInstantNTPSupport() local
121 ASSERT_NE(static_cast<InstantService*>(NULL), instant_service); in FocusOmniboxAndWaitForInstantNTPSupport()
122 if (!instant_service->ntp_prerenderer()->ntp() || in FocusOmniboxAndWaitForInstantNTPSupport()
123 !instant_service->ntp_prerenderer()->ntp()->supports_instant()) in FocusOmniboxAndWaitForInstantNTPSupport()
162 InstantService* instant_service = in ExecuteScript() local
164 if (!instant_service) in ExecuteScript()
166 return content::ExecuteScript(instant_service->GetNTPContents(), script); in ExecuteScript()
Dinstant_ntp_prerenderer.cc49 InstantService* instant_service, in InstantNTPPrerenderer() argument
65 if (instant_service) in InstantNTPPrerenderer()
66 instant_service->AddObserver(this); in InstantNTPPrerenderer()
70 InstantService* instant_service = in ~InstantNTPPrerenderer() local
72 if (instant_service) in ~InstantNTPPrerenderer()
73 instant_service->RemoveObserver(this); in ~InstantNTPPrerenderer()
116 InstantService* instant_service = in LoadCompletedMainFrame() local
118 if (instant_service && in LoadCompletedMainFrame()
119 instant_service->IsInstantProcess( in LoadCompletedMainFrame()
Dinstant_extended_manual_interactive_uitest.cc98 InstantService* instant_service = in IN_PROC_BROWSER_TEST_F() local
100 ASSERT_NE(static_cast<InstantService*>(NULL), instant_service); in IN_PROC_BROWSER_TEST_F()
101 instant_service->ntp_prerenderer()->ReloadInstantNTP(); in IN_PROC_BROWSER_TEST_F()
120 InstantService* instant_service = in IN_PROC_BROWSER_TEST_F() local
122 ASSERT_NE(static_cast<InstantService*>(NULL), instant_service); in IN_PROC_BROWSER_TEST_F()
123 instant_service->ntp_prerenderer()->ReloadInstantNTP(); in IN_PROC_BROWSER_TEST_F()
Dinstant_extended_interactive_uitest.cc373 InstantService* instant_service = in IN_PROC_BROWSER_TEST_F() local
375 ASSERT_NE(static_cast<InstantService*>(NULL), instant_service); in IN_PROC_BROWSER_TEST_F()
383 instant_service->ntp_prerenderer()); in IN_PROC_BROWSER_TEST_F()
388 instant_service->ntp_prerenderer()->ntp()); in IN_PROC_BROWSER_TEST_F()
389 EXPECT_TRUE(instant_service->ntp_prerenderer()->ntp()->IsLocal()); in IN_PROC_BROWSER_TEST_F()
399 EXPECT_FALSE(instant_service->ntp_prerenderer()->ShouldSwitchToLocalNTP()); in IN_PROC_BROWSER_TEST_F()
412 EXPECT_NE(instant_service->ntp_prerenderer()->GetLocalInstantURL(), in IN_PROC_BROWSER_TEST_F()
415 instant_service->ntp_prerenderer()->ntp()); in IN_PROC_BROWSER_TEST_F()
416 EXPECT_FALSE(instant_service->ntp_prerenderer()->ntp()->IsLocal()); in IN_PROC_BROWSER_TEST_F()
424 EXPECT_TRUE(instant_service->ntp_prerenderer()->ShouldSwitchToLocalNTP()); in IN_PROC_BROWSER_TEST_F()
[all …]
Dinstant_search_prerenderer.cc43 InstantService* instant_service = in GetForProfile() local
45 return instant_service ? instant_service->instant_search_prerenderer() : NULL; in GetForProfile()
Dinstant_controller.cc282 InstantService* instant_service = GetInstantService(); in UpdateInfoForInstantTab() local
283 if (instant_service) { in UpdateInfoForInstantTab()
284 instant_service->UpdateThemeInfo(); in UpdateInfoForInstantTab()
285 instant_service->UpdateMostVisitedItemsInfo(); in UpdateInfoForInstantTab()
Dinstant_ntp_prerenderer_unittest.cc63 InstantService* instant_service) in TestableInstantNTPPrerenderer() argument
64 : InstantNTPPrerenderer(profile, instant_service, NULL), in TestableInstantNTPPrerenderer()
Dsearch_tab_helper.cc106 InstantService* instant_service = in InInstantProcess() local
108 return instant_service && in InInstantProcess()
109 instant_service->IsInstantProcess( in InInstantProcess()
Dinstant_ntp_prerenderer.h37 InstantNTPPrerenderer(Profile* profile, InstantService* instant_service,
/external/chromium_org/chrome/browser/task_manager/
Dtab_contents_resource_provider.cc241 const InstantService* instant_service = in StartUpdating() local
243 if (instant_service && instant_service->GetNTPContents()) in StartUpdating()
244 Add(instant_service->GetNTPContents()); in StartUpdating()
/external/chromium_org/chrome/browser/search/
Dsearch.cc168 const InstantService* instant_service = in IsRenderedInInstantProcess() local
170 if (!instant_service) in IsRenderedInInstantProcess()
173 return instant_service->IsInstantProcess(process_host->GetID()); in IsRenderedInInstantProcess()
623 const InstantService* instant_service = in IsPreloadedInstantExtendedNTP() local
625 if (instant_service && instant_service->GetNTPContents() == contents) in IsPreloadedInstantExtendedNTP()
Dsearch_unittest.cc215 InstantService* instant_service = in InInstantProcess() local
217 return instant_service->IsInstantProcess( in InInstantProcess()
/external/chromium_org/chrome/browser/ui/webui/memory_internals/
Dmemory_internals_proxy.cc115 const InstantService* instant_service = in GetAllWebContents() local
117 if (instant_service && instant_service->GetNTPContents()) in GetAllWebContents()
118 web_contents->insert(instant_service->GetNTPContents()); in GetAllWebContents()
/external/chromium_org/chrome/browser/
Dchrome_content_browser_client.cc1138 InstantService* instant_service = in IsSuitableHost() local
1140 if (instant_service) { in IsSuitableHost()
1141 bool is_instant_process = instant_service->IsInstantProcess( in IsSuitableHost()
1245 InstantService* instant_service = in SiteInstanceGotProcess() local
1247 if (instant_service) in SiteInstanceGotProcess()
1248 instant_service->AddInstantProcess(site_instance->GetProcess()->GetID()); in SiteInstanceGotProcess()
1484 InstantService* instant_service = in AppendExtraCommandLineSwitches() local
1486 if (instant_service && in AppendExtraCommandLineSwitches()
1487 instant_service->IsInstantProcess(process->GetID())) in AppendExtraCommandLineSwitches()
/external/chromium_org/chrome/browser/policy/
Dpolicy_browsertest.cc1089 InstantService* instant_service = in IN_PROC_BROWSER_TEST_F() local
1091 instant_service->AddInstantProcess(browser()->tab_strip_model()-> in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/
Dchrome_browser.gypi1873 'browser/search/instant_service.cc',
1874 'browser/search/instant_service.h',