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

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

Issue 273223002: views: Make view::Views::GetPreferredSize() const. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: More compile fix for ToT Created 6 years, 7 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 | « content/shell/browser/shell_views.cc ('k') | ui/app_list/views/app_list_folder_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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_FOLDER_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_FOLDER_VIEW_H_
6 #define UI_APP_LIST_VIEWS_APP_LIST_FOLDER_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_APP_LIST_FOLDER_VIEW_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "ui/app_list/app_list_item_list_observer.h" 10 #include "ui/app_list/app_list_item_list_observer.h"
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 void UpdateFolderNameVisibility(bool visible); 56 void UpdateFolderNameVisibility(bool visible);
57 57
58 // Hides the view immediately without animation. 58 // Hides the view immediately without animation.
59 void HideViewImmediately(); 59 void HideViewImmediately();
60 60
61 // Closes the folder page and goes back the top level page. 61 // Closes the folder page and goes back the top level page.
62 void CloseFolderPage(); 62 void CloseFolderPage();
63 63
64 // views::View 64 // views::View
65 virtual gfx::Size GetPreferredSize() OVERRIDE; 65 virtual gfx::Size GetPreferredSize() const OVERRIDE;
66 virtual void Layout() OVERRIDE; 66 virtual void Layout() OVERRIDE;
67 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE; 67 virtual bool OnKeyPressed(const ui::KeyEvent& event) OVERRIDE;
68 68
69 // AppListModelObserver 69 // AppListModelObserver
70 virtual void OnAppListItemWillBeDeleted(AppListItem* item) OVERRIDE; 70 virtual void OnAppListItemWillBeDeleted(AppListItem* item) OVERRIDE;
71 71
72 // ui::ImplicitAnimationObserver 72 // ui::ImplicitAnimationObserver
73 virtual void OnImplicitAnimationsCompleted() OVERRIDE; 73 virtual void OnImplicitAnimationsCompleted() OVERRIDE;
74 74
75 AppsGridView* items_grid_view() { return items_grid_view_; } 75 AppsGridView* items_grid_view() { return items_grid_view_; }
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 bool hide_for_reparent_; 124 bool hide_for_reparent_;
125 125
126 base::string16 accessible_name_; 126 base::string16 accessible_name_;
127 127
128 DISALLOW_COPY_AND_ASSIGN(AppListFolderView); 128 DISALLOW_COPY_AND_ASSIGN(AppListFolderView);
129 }; 129 };
130 130
131 } // namespace app_list 131 } // namespace app_list
132 132
133 #endif // UI_APP_LIST_VIEWS_APP_LIST_FOLDER_VIEW_H_ 133 #endif // UI_APP_LIST_VIEWS_APP_LIST_FOLDER_VIEW_H_
OLDNEW
« no previous file with comments | « content/shell/browser/shell_views.cc ('k') | ui/app_list/views/app_list_folder_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698