Home
last modified time | relevance | path

Searched refs:driver_ (Results 1 – 25 of 45) sorted by relevance

12

/external/chromium_org/chrome/browser/services/gcm/
Dgcm_profile_service.cc62 GCMDriverDesktop* driver_; member in gcm::GCMProfileService::IdentityObserver
77 : profile_(profile), driver_(driver), weak_ptr_factory_(this) { in IdentityObserver()
100 driver_->OnSignedIn(); in OnActiveAccountLogin()
126 driver_->OnSignedOut(); in OnActiveAccountLogout()
130 return driver_->IsStarted() ? account_id_ : std::string(); in SignedInUserName()
135 driver_->SetAccountsForCheckin(account_tokens); in AccountsUpdated()
160 driver_.reset(new GCMDriverAndroid); in GCMProfileService()
170 driver_ = CreateGCMDriverDesktop( in GCMProfileService()
178 driver_->AddConnectionObserver(chromeos_connection_observer_.get()); in GCMProfileService()
182 profile, static_cast<gcm::GCMDriverDesktop*>(driver_.get()))); in GCMProfileService()
[all …]
Dgcm_profile_service.h65 GCMDriver* driver() const { return driver_.get(); } in driver()
79 scoped_ptr<GCMDriver> driver_; variable
/external/chromium_org/components/autofill/content/browser/
Dcontent_autofill_driver_unittest.cc72 driver_.reset(new TestContentAutofillDriver(web_contents(), in SetUp()
79 driver_.reset(); in TearDown()
195 scoped_ptr<TestContentAutofillDriver> driver_; member in autofill::ContentAutofillDriverTest
200 driver_->GetURLRequestContext(); in TEST_F()
207 EXPECT_CALL(*driver_->mock_autofill_manager(), Reset()); in TEST_F()
213 driver_->DidNavigateMainFrame(details, params); in TEST_F()
217 EXPECT_CALL(*driver_->mock_autofill_manager(), Reset()).Times(0); in TEST_F()
222 driver_->DidNavigateMainFrame(details, params); in TEST_F()
229 driver_->SendFormDataToRenderer( in TEST_F()
245 driver_->SendFormDataToRenderer( in TEST_F()
[all …]
Drequest_autocomplete_manager_unittest.cc102 driver_.reset( in SetUp()
105 new RequestAutocompleteManager(driver_.get())); in SetUp()
111 driver_.reset(); in TearDown()
137 scoped_ptr<TestContentAutofillDriver> driver_; member in autofill::RequestAutocompleteManagerTest
163 driver_->mock_autofill_manager()->set_autofill_enabled(false); in TEST_F()
/external/chromium_org/chrome/browser/favicon/
Dfavicon_handler.cc233 driver_(driver) { in FaviconHandler()
234 DCHECK(driver_); in FaviconHandler()
330 driver_->SetActiveFaviconValidity(true); in SetFaviconOnActivePage()
332 bool icon_url_changed = driver_->GetActiveFaviconURL() != icon_url; in SetFaviconOnActivePage()
333 driver_->SetActiveFaviconURL(icon_url); in SetFaviconOnActivePage()
341 driver_->SetActiveFaviconImage(image_with_adjusted_colorspace); in SetFaviconOnActivePage()
377 driver_->GetActiveFaviconValidity() && in ProcessCurrentUrl()
379 driver_->GetActiveFaviconURL(), in ProcessCurrentUrl()
389 DownloadFaviconOrAskFaviconService(driver_->GetActiveURL(), in ProcessCurrentUrl()
465 if (UrlMatches(driver_->GetActiveURL(), url_) && url_.is_valid()) { in PageChangedSinceFaviconWasRequested()
[all …]
/external/chromium_org/content/test/
Dmock_keyboard.cc30 if (!driver_.SetLayout(layout)) in GetCharacters()
38 if (!driver_.SetModifiers(modifiers)) in GetCharacters()
44 return driver_.GetCharacters(key_code, output); in GetCharacters()
/external/chromium_org/components/password_manager/core/browser/
Dpassword_manager_unittest.cc109 EXPECT_CALL(client_, GetDriver()).WillRepeatedly(Return(&driver_)); in SetUp()
115 EXPECT_CALL(driver_, GetPasswordManager()) in SetUp()
117 EXPECT_CALL(driver_, GetPasswordAutofillManager()) in SetUp()
119 EXPECT_CALL(driver_, DidLastPageLoadEncounterSSLErrors()) in SetUp()
233 MockPasswordManagerDriver driver_; member in password_manager::PasswordManagerTest
252 EXPECT_CALL(driver_, FillPasswordForm(_)).Times(Exactly(0)); in TEST_F()
286 EXPECT_CALL(driver_, FillPasswordForm(_)).Times(Exactly(0)); in TEST_F()
330 EXPECT_CALL(driver_, FillPasswordForm(_)).Times(Exactly(0)); in TEST_F()
368 EXPECT_CALL(driver_, FillPasswordForm(_)); in TEST_F()
399 EXPECT_CALL(driver_, FillPasswordForm(_)).Times(Exactly(0)); in TEST_F()
[all …]
Dpassword_generation_manager.cc20 driver_(client->GetDriver()) {} in PasswordGenerationManager()
40 driver_->AccountCreationFormsFound(account_creation_forms); in DetectAccountCreationForms()
47 if (!driver_->GetPasswordManager()->IsSavingEnabledForCurrentPage()) { in IsGenerationEnabled()
Dpassword_manager.cc109 : client_(client), driver_(client->GetDriver()) { in PasswordManager()
111 DCHECK(driver_); in PasswordManager()
140 new PasswordFormManager(this, client_, driver_, form, ssl_valid); in SetFormHasGeneratedPassword()
147 return !driver_->DidLastPageLoadEncounterSSLErrors() && in IsEnabledForCurrentPage()
152 return *saving_passwords_enabled_ && !driver_->IsOffTheRecord() && in IsSavingEnabledForCurrentPage()
167 driver_->DidLastPageLoadEncounterSSLErrors()); in ProvisionallySavePassword()
273 !driver_->DidLastPageLoadEncounterSSLErrors(); in ProvisionallySavePassword()
359 driver_->GetPasswordAutofillManager()->Reset(); in DidNavigateMainFrame()
407 new PasswordFormManager(this, client_, driver_, *iter, ssl_valid); in CreatePendingLoginManagers()
577 driver_->FillPasswordForm(*fill_data.get()); in Autofill()
Dpassword_form_manager.cc81 driver_(driver), in PasswordFormManager()
348 DCHECK(!driver_->IsOffTheRecord()); in Save()
450 driver_->AllowPasswordGenerationForForm(observed_form_); in OnRequestDone()
484 driver_->AllowPasswordGenerationForForm(observed_form_); in OnRequestDone()
491 driver_->IsOffTheRecord() || in OnRequestDone()
512 driver_->AllowPasswordGenerationForForm(observed_form_); in OnGetPasswordStoreResults()
541 DCHECK(!driver_->IsOffTheRecord()); in SaveAsNewLogin()
605 DCHECK(!driver_->IsOffTheRecord()); in UpdateLogin()
726 driver_->GetAutofillManager(); in UploadPasswordForm()
Dpassword_generation_manager_unittest.cc75 : prefs_(prefs.Pass()), driver_(this), is_sync_enabled_(false) {} in TestPasswordManagerClient()
79 virtual PasswordManagerDriver* GetDriver() OVERRIDE { return &driver_; } in GetDriver()
90 TestPasswordManagerDriver driver_; member in password_manager::__anon92ad17a90111::TestPasswordManagerClient
Dpassword_autofill_manager_unittest.cc46 virtual PasswordManagerDriver* GetDriver() OVERRIDE { return &driver_; } in GetDriver()
48 MockPasswordManagerDriver* mock_driver() { return &driver_; } in mock_driver()
51 MockPasswordManagerDriver driver_; member in password_manager::__anonfd48f33d0111::TestPasswordManagerClient
Dpassword_generation_manager.h57 PasswordManagerDriver* driver_; variable
/external/chromium_org/components/autofill/core/browser/
Dautofill_external_delegate.cc48 driver_(driver), in AutofillExternalDelegate()
189 driver_->RendererShouldPreviewFieldWithValue(value); in DidSelectSuggestion()
199 driver_->RendererShouldClearFilledForm(); in DidAcceptSuggestion()
203 driver_->RendererShouldAcceptDataListSuggestion(value); in DidAcceptSuggestion()
206 driver_->RendererShouldFillFieldWithValue(value); in DidAcceptSuggestion()
266 driver_->RendererShouldClearPreviewedForm(); in ClearPreviewedForm()
296 DCHECK(driver_->RendererIsAvailable()); in FillAutofillFormData()
406 driver_->PingRenderer(); in PingRenderer()
Dautofill_manager.cc166 : driver_(driver), in AutofillManager()
374 driver_->GetBlockingPool()->PostTaskAndReply( in OnFormSubmitted()
397 if (!driver_->RendererIsAvailable()) in OnFormsSeen()
468 driver_->RendererIsAvailable() && in OnQueryFormFieldAutofill()
559 !driver_->RendererIsAvailable() || in FillOrPreviewForm()
608 driver_->SendFormDataToRenderer(query_id, action, result); in FillOrPreviewForm()
673 driver_->SendFormDataToRenderer(query_id, action, result); in FillOrPreviewForm()
772 driver_->SendAutofillTypePredictionsToRenderer(form_structures_.get()); in OnLoadedServerPredictions()
901 : driver_(driver), in AutofillManager()
917 DCHECK(driver_); in AutofillManager()
[all …]
Dautocomplete_history_manager.cc40 : driver_(driver), in AutocompleteHistoryManager()
112 if (driver_->IsOffTheRecord()) in OnFormSubmitted()
/external/chromium_org/components/gcm_driver/
Dgcm_driver_desktop_unittest.cc108 GCMDriverDesktop* driver() { return driver_.get(); } in driver()
159 scoped_ptr<GCMDriverDesktop> driver_; member in gcm::GCMDriverTest
193 if (!driver_) in TearDown()
197 driver_.reset(); in TearDown()
223 return !driver_->app_handlers().empty(); in HasAppHandlers()
227 return static_cast<FakeGCMClient*>(driver_->GetGCMClientForTesting()); in GetGCMClient()
235 driver_.reset(new GCMDriverDesktop( in CreateDriver()
253 driver_->AddConnectionObserver(gcm_connection_observer_.get()); in CreateDriver()
263 driver_->AddAppHandler(kTestAppID1, gcm_app_handler_.get()); in AddAppHandlers()
264 driver_->AddAppHandler(kTestAppID2, gcm_app_handler_.get()); in AddAppHandlers()
[all …]
Dgcm_channel_status_syncer.cc92 : driver_(driver), in GCMChannelStatusSyncer()
162 driver_->Enable(); in OnRequestCompleted()
164 driver_->Disable(); in OnRequestCompleted()
/external/chromium_org/ui/gl/
Dgl_osmesa_api_implementation.cc44 : driver_(NULL) { in OSMESAApiBase()
51 driver_ = driver; in InitializeBase()
Dgl_wgl_api_implementation.cc45 : driver_(NULL) { in WGLApiBase()
52 driver_ = driver; in InitializeBase()
Dgl_egl_api_implementation.cc45 : driver_(NULL) { in EGLApiBase()
52 driver_ = driver; in InitializeBase()
Dgl_glx_api_implementation.cc45 : driver_(NULL) { in GLXApiBase()
52 driver_ = driver; in InitializeBase()
Dgl_gl_api_implementation.cc352 : driver_(NULL) { in GLApiBase()
359 driver_ = driver; in InitializeBase()
410 reinterpret_cast<const char*>(driver_->fn.glGetStringFn(GL_EXTENSIONS))); in Initialize()
481 return driver_->fn.glGetStringFn(name); in glGetStringFn()
Dgl_osmesa_api_implementation.h33 DriverOSMESA* driver_; variable
/external/chromium_org/chrome/browser/password_manager/
Dchrome_password_manager_client.cc71 driver_(web_contents, this, autofill_client), in ChromePasswordManagerClient()
238 return &driver_; in GetDriver()
417 driver_.GetPasswordManager(), in ShowPasswordGenerationPopup()
437 driver_.GetPasswordManager(), in ShowPasswordEditingPopup()
456 driver_.FillPasswordForm(*data); in CommitFillPasswordForm()

12