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/views/app_list_page.h

Issue 2982453002: New AppListView Scroll Behavior. (Closed)
Patch Set: 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
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 private:
72 ContentsView* contents_view_; 71 ContentsView* contents_view_;
vadimt 2017/07/11 23:32:56 Please replace making protected with an accessor,
newcomer 2017/07/12 16:56:00 Done.
73 72
73 private:
74 DISALLOW_COPY_AND_ASSIGN(AppListPage); 74 DISALLOW_COPY_AND_ASSIGN(AppListPage);
75 }; 75 };
76 76
77 } // namespace app_list 77 } // namespace app_list
78 78
79 #endif // UI_APP_LIST_VIEWS_APP_LIST_PAGE_H_ 79 #endif // UI_APP_LIST_VIEWS_APP_LIST_PAGE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698