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

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

Issue 23072036: Adds an integration test for uninstalling app list search results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 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 | Annotate | Revision Log
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_forward.h" 8 #include "base/callback_forward.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "base/observer_list.h" 10 #include "base/observer_list.h"
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 void AddObserver(Observer* observer); 81 void AddObserver(Observer* observer);
82 void RemoveObserver(Observer* observer); 82 void RemoveObserver(Observer* observer);
83 83
84 // Set a callback to be called the next time any app list paints. 84 // Set a callback to be called the next time any app list paints.
85 static void SetNextPaintCallback(const base::Closure& callback); 85 static void SetNextPaintCallback(const base::Closure& callback);
86 86
87 #if defined(OS_WIN) 87 #if defined(OS_WIN)
88 HWND GetHWND() const; 88 HWND GetHWND() const;
89 #endif 89 #endif
90 90
91 AppListModel* model() { return model_.get(); }
92
91 private: 93 private:
92 // Overridden from views::WidgetDelegateView: 94 // Overridden from views::WidgetDelegateView:
93 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 95 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
94 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE; 96 virtual gfx::ImageSkia GetWindowIcon() OVERRIDE;
95 virtual bool WidgetHasHitTestMask() const OVERRIDE; 97 virtual bool WidgetHasHitTestMask() const OVERRIDE;
96 virtual void GetWidgetHitTestMask(gfx::Path* mask) const OVERRIDE; 98 virtual void GetWidgetHitTestMask(gfx::Path* mask) const OVERRIDE;
97 99
98 // Overridden from views::View: 100 // Overridden from views::View:
99 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE; 101 virtual bool AcceleratorPressed(const ui::Accelerator& accelerator) OVERRIDE;
100 virtual void Layout() OVERRIDE; 102 virtual void Layout() OVERRIDE;
(...skipping 18 matching lines...) Expand all
119 SigninView* signin_view_; 121 SigninView* signin_view_;
120 122
121 ObserverList<Observer> observers_; 123 ObserverList<Observer> observers_;
122 124
123 DISALLOW_COPY_AND_ASSIGN(AppListView); 125 DISALLOW_COPY_AND_ASSIGN(AppListView);
124 }; 126 };
125 127
126 } // namespace app_list 128 } // namespace app_list
127 129
128 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 130 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
OLDNEW
« no previous file with comments | « ui/app_list/cocoa/apps_search_box_controller_unittest.mm ('k') | ui/app_list/views/search_box_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698