Lines Matching refs:result_
70 result_(NULL),
90 result_ = result;
91 if (result_)
92 result_->AddObserver(this);
103 if (result_)
104 result_->RemoveObserver(this);
105 result_ = NULL;
113 if (!result_ || result_->title().empty()) {
117 title_text_.reset(CreateRenderText(result_->title(),
118 result_->title_tags()));
119 SetAccessibleName(result_->title());
124 if (!result_ || result_->details().empty()) {
127 details_text_.reset(CreateRenderText(result_->details(),
128 result_->details_tags()));
172 // |result_| could be NULL when result list is changing.
173 if (!result_)
272 gfx::ImageSkia image(result_ ? result_->icon() : gfx::ImageSkia());
300 actions_view_->SetActions(result_ ? result_->actions()
305 const bool is_installing = result_ && result_->is_installing();
311 progress_bar_->SetValue(result_ ? result_->percent_downloaded() / 100.0 : 0);
324 // |result_| could be NULL when result list is changing.
325 if (!result_)
328 DCHECK_LT(index, result_->actions().size());
336 // |result_| could be NULL when result list is changing.
337 if (!result_)
340 ui::MenuModel* menu_model = result_->GetContextMenuModel();