OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_VIEWS_APP_LIST_PAGE_H_ | 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_PAGE_H_ |
6 #define UI_APP_LIST_VIEWS_APP_LIST_PAGE_H_ | 6 #define UI_APP_LIST_VIEWS_APP_LIST_PAGE_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "ui/app_list/app_list_export.h" | 9 #include "ui/app_list/app_list_export.h" |
10 #include "ui/app_list/app_list_model.h" | 10 #include "ui/app_list/app_list_model.h" |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
61 | 61 |
62 // Returns the entire bounds of the contents view, in the contents view's | 62 // Returns the entire bounds of the contents view, in the contents view's |
63 // coordinate space. | 63 // coordinate space. |
64 gfx::Rect GetFullContentsBounds() const; | 64 gfx::Rect GetFullContentsBounds() const; |
65 | 65 |
66 // Returns the default bounds of pages inside the contents view, in the | 66 // Returns the default bounds of pages inside the contents view, in the |
67 // contents view's coordinate space. This is the area of the contents view | 67 // contents view's coordinate space. This is the area of the contents view |
68 // below the search box. | 68 // below the search box. |
69 gfx::Rect GetDefaultContentsBounds() const; | 69 gfx::Rect GetDefaultContentsBounds() const; |
70 | 70 |
71 ContentsView* contents_view() const { return contents_view_; } | |
vadimt
2017/07/12 18:28:02
My suggestion was to have a method returning conte
newcomer
2017/07/13 23:37:17
Done.
| |
72 | |
71 private: | 73 private: |
72 ContentsView* contents_view_; | 74 ContentsView* contents_view_; |
73 | 75 |
74 DISALLOW_COPY_AND_ASSIGN(AppListPage); | 76 DISALLOW_COPY_AND_ASSIGN(AppListPage); |
75 }; | 77 }; |
76 | 78 |
77 } // namespace app_list | 79 } // namespace app_list |
78 | 80 |
79 #endif // UI_APP_LIST_VIEWS_APP_LIST_PAGE_H_ | 81 #endif // UI_APP_LIST_VIEWS_APP_LIST_PAGE_H_ |
OLD | NEW |