Home
last modified time | relevance | path

Searched refs:collection_ (Results 1 – 11 of 11) sorted by relevance

/external/chromium_org/ui/message_center/views/
Dtoast_contents_view.cc53 : collection_(collection), in ToastContentsView()
72 if (collection_) in ~ToastContentsView()
73 collection_->ForgetToast(this); in ~ToastContentsView()
149 if (collection_) in SetBoundsWithAnimation()
150 collection_->IncrementDeferCounter(); in SetBoundsWithAnimation()
161 if (collection_) in StartFadeIn()
162 collection_->IncrementDeferCounter(); in StartFadeIn()
173 if (collection_) in StartFadeOut()
174 collection_->IncrementDeferCounter(); in StartFadeOut()
203 if (collection_) in OnBoundsAnimationEndedOrCancelled()
[all …]
Dmessage_popup_collection_unittest.cc34 collection_.reset(new MessagePopupCollection( in SetUp()
46 collection_.reset(); in TearDown()
52 MessagePopupCollection* collection() { return collection_.get(); } in collection()
55 return collection_->toasts_.size(); in GetToastCounts()
59 return collection_->latest_toast_entered_ != NULL; in MouseInCollection()
63 views::Widget* widget = collection_->GetWidgetForTest(id); in IsToastShown()
68 return collection_->GetWidgetForTest(id); in GetWidget()
86 collection_->toasts_.begin(); in GetToast()
87 iter != collection_->toasts_.end(); ++iter) { in GetToast()
110 void PrepareForWait() { collection_->CreateRunLoopForTest(); } in PrepareForWait()
[all …]
Dpopup_alignment_delegate.cc11 PopupAlignmentDelegate::PopupAlignmentDelegate() : collection_(NULL) {} in PopupAlignmentDelegate()
16 if (collection_) in DoUpdateIfPossible()
17 collection_->DoUpdateIfPossible(); in DoUpdateIfPossible()
Dpopup_alignment_delegate.h25 collection_ = collection; in set_collection()
56 MessagePopupCollection* collection_;
Dtoast_contents_view.h118 base::WeakPtr<MessagePopupCollection> collection_; variable
/external/chromium_org/third_party/webrtc/base/
Dscopedptrcollection.h32 for (typename VectorT::iterator it = collection_.begin(); in ~ScopedPtrCollection()
33 it != collection_.end(); ++it) { in ~ScopedPtrCollection()
38 const VectorT& collection() const { return collection_; } in collection()
40 collection_.reserve(size); in Reserve()
43 collection_.push_back(t); in PushBack()
48 collection_.erase(std::remove(collection_.begin(), collection_.end(), t), in Remove()
49 collection_.end()); in Remove()
53 VectorT collection_;
Dscopedptrcollection_unittest.cc40 collection_(new ScopedPtrCollection<InstanceCounter>()) { in ScopedPtrCollectionTest()
44 scoped_ptr<ScopedPtrCollection<InstanceCounter> > collection_; member in rtc::ScopedPtrCollectionTest
48 EXPECT_EQ(0u, collection_->collection().size()); in TEST_F()
52 collection_->PushBack(new InstanceCounter(&num_instances_)); in TEST_F()
54 EXPECT_EQ(static_cast<size_t>(kNum), collection_->collection().size()); in TEST_F()
56 collection_.reset(); in TEST_F()
62 collection_->PushBack(ic); in TEST_F()
63 EXPECT_EQ(1u, collection_->collection().size()); in TEST_F()
64 collection_->Remove(ic); in TEST_F()
66 collection_.reset(); in TEST_F()
/external/chromium_org/chrome/browser/ui/panels/
Dpanel.cc160 DCHECK(!collection_); in ~Panel()
203 DCHECK(initialized_ && collection_ != NULL); in SetExpansionState()
204 native_panel_->PreventActivationByOS(collection_->IsPanelMinimized(this)); in SetExpansionState()
226 return collection_ && collection_->CanShowMinimizeButton(this); in CanShowMinimizeButton()
230 return collection_ && collection_->CanShowRestoreButton(this); in CanShowRestoreButton()
243 return !collection_ || collection_->IsPanelMinimized(this); in IsMinimized()
271 if (manager()->display_settings_provider()->is_full_screen() || !collection_) in Show()
282 if (manager()->display_settings_provider()->is_full_screen() || !collection_) in ShowInactive()
295 if (!collection_) in Activate()
298 collection_->ActivatePanel(this); in Activate()
[all …]
Dpanel.h182 PanelCollection* collection() const { return collection_; } in collection()
186 collection_ = new_collection; in set_collection()
362 PanelCollection* collection_; // Owned by PanelManager. variable
/external/chromium_org/ui/message_center/cocoa/
Dpopup_collection_unittest.mm29 collection_.reset(
31 [collection_ setAnimationDuration:0.001];
32 [collection_ setAnimationEndedCallback:^{
39 collection_.reset(); // Close all popups.
106 if (![collection_ isAnimating])
116 base::scoped_nsobject<MCPopupCollection> collection_;
120 EXPECT_EQ(0u, [[collection_ popups] count]);
122 EXPECT_EQ(3u, [[collection_ popups] count]);
126 EXPECT_EQ(2u, [[collection_ popups] count]);
130 [collection_ setScreenFrame:NSMakeRect(0, 0, 800, 300)];
[all …]
/external/chromium_org/content/browser/appcache/
Dappcache_service_impl.cc278 : AsyncHelper(service, callback), collection_(collection) { in GetInfoHelper()
289 scoped_refptr<AppCacheInfoCollection> collection_; member in content::AppCacheServiceImpl::GetInfoHelper
297 collection->infos_by_origin.swap(collection_->infos_by_origin); in OnAllInfo()