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

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

Issue 220873002: Revert of Add a whole-app-list unit test. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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 | « ui/app_list/app_list.gyp ('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 "base/callback.h"
9 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
10 #include "base/observer_list.h" 9 #include "base/observer_list.h"
11 #include "ui/app_list/app_list_export.h" 10 #include "ui/app_list/app_list_export.h"
12 #include "ui/app_list/app_list_view_delegate_observer.h" 11 #include "ui/app_list/app_list_view_delegate_observer.h"
13 #include "ui/app_list/speech_ui_model_observer.h" 12 #include "ui/app_list/speech_ui_model_observer.h"
14 #include "ui/views/bubble/bubble_delegate.h" 13 #include "ui/views/bubble/bubble_delegate.h"
15 #include "ui/views/widget/widget.h" 14 #include "ui/views/widget/widget.h"
16 15
17 namespace base { 16 namespace base {
18 class FilePath; 17 class FilePath;
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 virtual void OnProfilesChanged() OVERRIDE; 88 virtual void OnProfilesChanged() OVERRIDE;
90 89
91 void Prerender(); 90 void Prerender();
92 91
93 void SetProfileByPath(const base::FilePath& profile_path); 92 void SetProfileByPath(const base::FilePath& profile_path);
94 93
95 void AddObserver(AppListViewObserver* observer); 94 void AddObserver(AppListViewObserver* observer);
96 void RemoveObserver(AppListViewObserver* observer); 95 void RemoveObserver(AppListViewObserver* observer);
97 96
98 // Set a callback to be called the next time any app list paints. 97 // Set a callback to be called the next time any app list paints.
99 static void SetNextPaintCallback(const base::Closure& callback); 98 static void SetNextPaintCallback(void (*callback)());
100 99
101 #if defined(OS_WIN) 100 #if defined(OS_WIN)
102 HWND GetHWND() const; 101 HWND GetHWND() const;
103 #endif 102 #endif
104 103
105 AppListMainView* app_list_main_view() { return app_list_main_view_; } 104 AppListMainView* app_list_main_view() { return app_list_main_view_; }
106 105
107 private: 106 private:
108 void InitAsBubbleInternal(gfx::NativeView parent, 107 void InitAsBubbleInternal(gfx::NativeView parent,
109 PaginationModel* pagination_model, 108 PaginationModel* pagination_model,
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 147
149 ObserverList<AppListViewObserver> observers_; 148 ObserverList<AppListViewObserver> observers_;
150 scoped_ptr<HideViewAnimationObserver> animation_observer_; 149 scoped_ptr<HideViewAnimationObserver> animation_observer_;
151 150
152 DISALLOW_COPY_AND_ASSIGN(AppListView); 151 DISALLOW_COPY_AND_ASSIGN(AppListView);
153 }; 152 };
154 153
155 } // namespace app_list 154 } // namespace app_list
156 155
157 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 156 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/app_list.gyp ('k') | ui/app_list/views/app_list_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698