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

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

Issue 27777002: Implement app list folder management page UI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix nits. Created 7 years, 2 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void RemoveObserver(Observer* observer); 97 void RemoveObserver(Observer* observer);
98 98
99 // Set a callback to be called the next time any app list paints. 99 // Set a callback to be called the next time any app list paints.
100 static void SetNextPaintCallback(const base::Closure& callback); 100 static void SetNextPaintCallback(const base::Closure& callback);
101 101
102 #if defined(OS_WIN) 102 #if defined(OS_WIN)
103 HWND GetHWND() const; 103 HWND GetHWND() const;
104 #endif 104 #endif
105 105
106 AppListModel* model() { return model_.get(); } 106 AppListModel* model() { return model_.get(); }
107 AppListMainView* app_list_main_view() { return app_list_main_view_; }
107 108
108 private: 109 private:
109 void InitAsBubbleInternal(gfx::NativeView parent, 110 void InitAsBubbleInternal(gfx::NativeView parent,
110 PaginationModel* pagination_model, 111 PaginationModel* pagination_model,
111 views::BubbleBorder::Arrow arrow, 112 views::BubbleBorder::Arrow arrow,
112 bool border_accepts_events, 113 bool border_accepts_events,
113 const gfx::Vector2d& anchor_offset); 114 const gfx::Vector2d& anchor_offset);
114 115
115 // Overridden from views::WidgetDelegateView: 116 // Overridden from views::WidgetDelegateView:
116 virtual views::View* GetInitiallyFocusedView() OVERRIDE; 117 virtual views::View* GetInitiallyFocusedView() OVERRIDE;
(...skipping 25 matching lines...) Expand all
142 SigninView* signin_view_; 143 SigninView* signin_view_;
143 144
144 ObserverList<Observer> observers_; 145 ObserverList<Observer> observers_;
145 146
146 DISALLOW_COPY_AND_ASSIGN(AppListView); 147 DISALLOW_COPY_AND_ASSIGN(AppListView);
147 }; 148 };
148 149
149 } // namespace app_list 150 } // namespace app_list
150 151
151 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_ 152 #endif // UI_APP_LIST_VIEWS_APP_LIST_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698