Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: ui/app_list/app_list_view.cc

Issue 10566009: app_list: Fix shadow bleeds over launcher button and steals mouse events (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix aura_demo compilation Created 8 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/app_list/app_list_view.h ('k') | ui/aura/demo/demo_main.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/app_list_view.cc
diff --git a/ui/app_list/app_list_view.cc b/ui/app_list/app_list_view.cc
index aec5a376d5d5560a1bcea6557d6e4ba5d4b127ed..1ec1458ef894fb69313feb315cac02ae83910abf 100644
--- a/ui/app_list/app_list_view.cc
+++ b/ui/app_list/app_list_view.cc
@@ -115,6 +115,15 @@ views::View* AppListView::GetInitiallyFocusedView() {
return search_box_view_->search_box();
}
+bool AppListView::HasHitTestMask() const {
+ return true;
+}
+
+void AppListView::GetHitTestMask(gfx::Path* mask) const {
+ DCHECK(mask);
+ bubble_border_->GetMask(GetBubbleFrameView()->bounds(), mask);
+}
+
bool AppListView::OnKeyPressed(const views::KeyEvent& event) {
if (event.key_code() == ui::VKEY_ESCAPE) {
Close();
« no previous file with comments | « ui/app_list/app_list_view.h ('k') | ui/aura/demo/demo_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698