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

Side by Side Diff: ui/app_list/views/app_list_page.h

Issue 2982453002: New AppListView Scroll Behavior. (Closed)
Patch Set: Addressed comments Created 3 years, 5 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
« no previous file with comments | « ui/app_list/pagination_controller.cc ('k') | ui/app_list/views/app_list_view.h » ('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 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
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_
OLDNEW
« no previous file with comments | « ui/app_list/pagination_controller.cc ('k') | ui/app_list/views/app_list_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698