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

Side by Side Diff: ui/app_list/app_list_view.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ui/app_list/app_list_bubble_border.cc ('k') | ui/app_list/app_list_view.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_APP_LIST_APP_LIST_VIEW_H_ 5 #ifndef UI_APP_LIST_APP_LIST_VIEW_H_
6 #define UI_APP_LIST_APP_LIST_VIEW_H_ 6 #define UI_APP_LIST_APP_LIST_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "ui/app_list/app_list_export.h" 10 #include "ui/app_list/app_list_export.h"
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 void Close(); 44 void Close();
45 45
46 void UpdateBounds(); 46 void UpdateBounds();
47 47
48 private: 48 private:
49 // Creates models to use. 49 // Creates models to use.
50 void CreateModel(); 50 void CreateModel();
51 51
52 // Overridden from views::WidgetDelegateView: 52 // Overridden from views::WidgetDelegateView:
53 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 53 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
54 virtual bool HasHitTestMask() const OVERRIDE;
55 virtual void GetHitTestMask(gfx::Path* mask) const OVERRIDE;
54 56
55 // Overridden from views::View: 57 // Overridden from views::View:
56 virtual bool OnKeyPressed(const views::KeyEvent& event) OVERRIDE; 58 virtual bool OnKeyPressed(const views::KeyEvent& event) OVERRIDE;
57 59
58 // Overridden from views::ButtonListener: 60 // Overridden from views::ButtonListener:
59 virtual void ButtonPressed(views::Button* sender, 61 virtual void ButtonPressed(views::Button* sender,
60 const views::Event& event) OVERRIDE; 62 const views::Event& event) OVERRIDE;
61 63
62 // Overridden from views::BubbleDelegate: 64 // Overridden from views::BubbleDelegate:
63 virtual gfx::Rect GetBubbleBounds() OVERRIDE; 65 virtual gfx::Rect GetBubbleBounds() OVERRIDE;
(...skipping 14 matching lines...) Expand all
78 AppListBubbleBorder* bubble_border_; // Owned by views hierarchy. 80 AppListBubbleBorder* bubble_border_; // Owned by views hierarchy.
79 SearchBoxView* search_box_view_; // Owned by views hierarchy. 81 SearchBoxView* search_box_view_; // Owned by views hierarchy.
80 ContentsView* contents_view_; // Owned by views hierarchy. 82 ContentsView* contents_view_; // Owned by views hierarchy.
81 83
82 DISALLOW_COPY_AND_ASSIGN(AppListView); 84 DISALLOW_COPY_AND_ASSIGN(AppListView);
83 }; 85 };
84 86
85 } // namespace app_list 87 } // namespace app_list
86 88
87 #endif // UI_APP_LIST_APP_LIST_VIEW_H_ 89 #endif // UI_APP_LIST_APP_LIST_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/app_list_bubble_border.cc ('k') | ui/app_list/app_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698