[AppsGridController scrollerPadding]);
contentsView_.reset([[FlippedView alloc] initWithFrame:contentsRect]);
+
+ // The contents view contains animations both from an NSCollectionView and the
+ // app list's own transitive drag layers. Ensure the subviews have access to
+ // a compositing layer they can share.
+ [contentsView_ setWantsLayer:YES];
+
backgroundView_.reset(
[[BackgroundView alloc] initWithFrame:
NSMakeRect(0, 0, NSMaxX(contentsRect), NSMaxY(contentsRect))]);
}
- (void)openResult:(app_list::SearchResult*)result {
- if (delegate_)
- delegate_->OpenSearchResult(result, 0 /* event flags */);
+ if (delegate_) {
+ delegate_->OpenSearchResult(
+ result, false /* auto_launch */, 0 /* event flags */);
+ }
}
- (void)redoSearch {