Home
last modified time | relevance | path

Searched refs:collection_ (Results 1 – 12 of 12) 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.cc32 collection_.reset(new MessagePopupCollection( in SetUp()
37 collection_->SetDisplayInfo(gfx::Rect(0, 0, 600, 390), 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()
72 return collection_->work_area_; in GetWorkArea()
77 collection_->toasts_.begin(); in GetToast()
[all …]
Dtoast_contents_view.h118 base::WeakPtr<MessagePopupCollection> collection_; variable
/external/chromium_org/third_party/libjingle/source/talk/base/
Dscopedptrcollection.h49 for (typename VectorT::iterator it = collection_.begin(); in ~ScopedPtrCollection()
50 it != collection_.end(); ++it) { in ~ScopedPtrCollection()
55 const VectorT& collection() const { return collection_; } in collection()
57 collection_.reserve(size); in Reserve()
60 collection_.push_back(t); in PushBack()
65 collection_.erase(std::remove(collection_.begin(), collection_.end(), t), in Remove()
66 collection_.end()); in Remove()
70 VectorT collection_;
Dscopedptrcollection_unittest.cc57 collection_(new ScopedPtrCollection<InstanceCounter>()) { in ScopedPtrCollectionTest()
61 scoped_ptr<ScopedPtrCollection<InstanceCounter> > collection_; member in talk_base::ScopedPtrCollectionTest
65 EXPECT_EQ(0u, collection_->collection().size()); in TEST_F()
69 collection_->PushBack(new InstanceCounter(&num_instances_)); in TEST_F()
71 EXPECT_EQ(static_cast<size_t>(kNum), collection_->collection().size()); in TEST_F()
73 collection_.reset(); in TEST_F()
79 collection_->PushBack(ic); in TEST_F()
80 EXPECT_EQ(1u, collection_->collection().size()); in TEST_F()
81 collection_->Remove(ic); in TEST_F()
83 collection_.reset(); in TEST_F()
/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.cc157 DCHECK(!collection_); in ~Panel()
200 DCHECK(initialized_ && collection_ != NULL); in SetExpansionState()
201 native_panel_->PreventActivationByOS(collection_->IsPanelMinimized(this)); in SetExpansionState()
223 return collection_ && collection_->CanShowMinimizeButton(this); in CanShowMinimizeButton()
227 return collection_ && collection_->CanShowRestoreButton(this); in CanShowRestoreButton()
240 return !collection_ || collection_->IsPanelMinimized(this); in IsMinimized()
268 if (manager()->display_settings_provider()->is_full_screen() || !collection_) in Show()
279 if (manager()->display_settings_provider()->is_full_screen() || !collection_) in ShowInactive()
292 if (!collection_) in Activate()
295 collection_->ActivatePanel(this); in Activate()
[all …]
Dpanel.h173 PanelCollection* collection() const { return collection_; } in collection()
177 collection_ = new_collection; in set_collection()
353 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/ash/system/web_notification/
Dweb_notification_tray.cc100 message_center::MessagePopupCollection* collection_; member in ash::WorkAreaObserver
109 : collection_(NULL), in WorkAreaObserver()
142 collection_ = collection; in StartObserving()
154 collection_ = NULL; in StopObserving()
161 collection_->OnDisplayMetricsChanged( in OnDisplayWorkAreaInsetsChanged()
189 collection_->SetDisplayInfo(work_area, display.bounds()); in OnAutoHideStateChanged()
/external/chromium_org/webkit/browser/appcache/
Dappcache_service_impl.cc277 : AsyncHelper(service, callback), collection_(collection) { in GetInfoHelper()
288 scoped_refptr<AppCacheInfoCollection> collection_; member in appcache::AppCacheServiceImpl::GetInfoHelper
296 collection->infos_by_origin.swap(collection_->infos_by_origin); in OnAllInfo()