OLD | NEW |
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 Loading... |
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 Loading... |
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_ |
OLD | NEW |