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

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

Issue 2348183002: App list: Remove search box menu (dead code). (Closed)
Patch Set: Rebase. Created 4 years, 3 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/views/app_list_menu_views.cc ('k') | ui/app_list/views/app_list_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 (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 <memory> 8 #include <memory>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 gfx::Size GetPreferredSize() const override; 92 gfx::Size GetPreferredSize() const override;
93 void OnPaint(gfx::Canvas* canvas) override; 93 void OnPaint(gfx::Canvas* canvas) override;
94 94
95 // WidgetDelegate overrides: 95 // WidgetDelegate overrides:
96 bool ShouldHandleSystemCommands() const override; 96 bool ShouldHandleSystemCommands() const override;
97 bool ShouldDescendIntoChildForEventHandling( 97 bool ShouldDescendIntoChildForEventHandling(
98 gfx::NativeView child, 98 gfx::NativeView child,
99 const gfx::Point& location) override; 99 const gfx::Point& location) override;
100 100
101 // Overridden from AppListViewDelegateObserver: 101 // Overridden from AppListViewDelegateObserver:
102 void OnProfilesChanged() override;
103 void OnShutdown() override; 102 void OnShutdown() override;
104 103
105 void SetProfileByPath(const base::FilePath& profile_path); 104 void SetProfileByPath(const base::FilePath& profile_path);
106 105
107 void AddObserver(AppListViewObserver* observer); 106 void AddObserver(AppListViewObserver* observer);
108 void RemoveObserver(AppListViewObserver* observer); 107 void RemoveObserver(AppListViewObserver* observer);
109 108
110 AppListMainView* app_list_main_view() { return app_list_main_view_; } 109 AppListMainView* app_list_main_view() { return app_list_main_view_; }
111 110
112 // Gets the PaginationModel owned by this view's apps grid. 111 // Gets the PaginationModel owned by this view's apps grid.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 166
168 // For UMA and testing. If non-null, triggered when the app list is painted. 167 // For UMA and testing. If non-null, triggered when the app list is painted.
169 base::Closure next_paint_callback_; 168 base::Closure next_paint_callback_;
170 169
171 DISALLOW_COPY_AND_ASSIGN(AppListView); 170 DISALLOW_COPY_AND_ASSIGN(AppListView);
172 }; 171 };
173 172
174 } // namespace app_list 173 } // namespace app_list
175 174
176 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 175 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/views/app_list_menu_views.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