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

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

Issue 275183002: patch from issue 218843002 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased 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
OLDNEW
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_VIEWS_APP_LIST_VIEW_H_ 5 #ifndef UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 6 #define UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "base/observer_list.h" 9 #include "base/observer_list.h"
10 #include "ui/app_list/app_list_export.h" 10 #include "ui/app_list/app_list_export.h"
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 73
74 void Close(); 74 void Close();
75 75
76 void UpdateBounds(); 76 void UpdateBounds();
77 77
78 // Returns true if the app list should be centered and in landscape mode. 78 // Returns true if the app list should be centered and in landscape mode.
79 bool ShouldCenterWindow() const; 79 bool ShouldCenterWindow() const;
80 80
81 // Overridden from views::View: 81 // Overridden from views::View:
82 virtual gfx::Size GetPreferredSize() OVERRIDE; 82 virtual gfx::Size GetPreferredSize() OVERRIDE;
83 virtual void Paint(gfx::Canvas* canvas) OVERRIDE; 83 virtual void Paint(gfx::Canvas* canvas,
84 const views::CullSet& cull_set) OVERRIDE;
84 virtual void OnThemeChanged() OVERRIDE; 85 virtual void OnThemeChanged() OVERRIDE;
85 86
86 // WidgetDelegate overrides: 87 // WidgetDelegate overrides:
87 virtual bool ShouldHandleSystemCommands() const OVERRIDE; 88 virtual bool ShouldHandleSystemCommands() const OVERRIDE;
88 89
89 // Overridden from AppListViewDelegateObserver: 90 // Overridden from AppListViewDelegateObserver:
90 virtual void OnProfilesChanged() OVERRIDE; 91 virtual void OnProfilesChanged() OVERRIDE;
91 92
92 void Prerender(); 93 void Prerender();
93 94
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 150
150 ObserverList<AppListViewObserver> observers_; 151 ObserverList<AppListViewObserver> observers_;
151 scoped_ptr<HideViewAnimationObserver> animation_observer_; 152 scoped_ptr<HideViewAnimationObserver> animation_observer_;
152 153
153 DISALLOW_COPY_AND_ASSIGN(AppListView); 154 DISALLOW_COPY_AND_ASSIGN(AppListView);
154 }; 155 };
155 156
156 } // namespace app_list 157 } // namespace app_list
157 158
158 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 159 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/toolbar/browser_action_view.cc ('k') | ui/app_list/views/app_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698