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

Side by Side Diff: ash/launcher/launcher_view.h

Issue 10381018: ash: First pass of Applist v2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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 | 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 ASH_LAUNCHER_LAUNCHER_VIEW_H_ 5 #ifndef ASH_LAUNCHER_LAUNCHER_VIEW_H_
6 #define ASH_LAUNCHER_LAUNCHER_VIEW_H_ 6 #define ASH_LAUNCHER_LAUNCHER_VIEW_H_
7 #pragma once 7 #pragma once
8 8
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 // Returns the ideal bounds of the specified item, or an empty rect if id 54 // Returns the ideal bounds of the specified item, or an empty rect if id
55 // isn't know. 55 // isn't know.
56 gfx::Rect GetIdealBoundsOfItemIcon(LauncherID id); 56 gfx::Rect GetIdealBoundsOfItemIcon(LauncherID id);
57 57
58 void AddIconObserver(LauncherIconObserver* observer); 58 void AddIconObserver(LauncherIconObserver* observer);
59 void RemoveIconObserver(LauncherIconObserver* observer); 59 void RemoveIconObserver(LauncherIconObserver* observer);
60 60
61 // Returns true if we're showing a menu. 61 // Returns true if we're showing a menu.
62 bool IsShowingMenu() const; 62 bool IsShowingMenu() const;
63 63
64 views::View* GetAppListButtonView() const;
65
64 // Overridden from FocusTraversable: 66 // Overridden from FocusTraversable:
65 virtual views::FocusSearch* GetFocusSearch() OVERRIDE; 67 virtual views::FocusSearch* GetFocusSearch() OVERRIDE;
66 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE; 68 virtual FocusTraversable* GetFocusTraversableParent() OVERRIDE;
67 virtual View* GetFocusTraversableParentView() OVERRIDE; 69 virtual View* GetFocusTraversableParentView() OVERRIDE;
68 70
69 private: 71 private:
70 friend class ash::test::LauncherViewTestAPI; 72 friend class ash::test::LauncherViewTestAPI;
71 73
72 class FadeOutAnimationDelegate; 74 class FadeOutAnimationDelegate;
73 class StartFadeAnimationDelegate; 75 class StartFadeAnimationDelegate;
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 200
199 ObserverList<LauncherIconObserver> observers_; 201 ObserverList<LauncherIconObserver> observers_;
200 202
201 DISALLOW_COPY_AND_ASSIGN(LauncherView); 203 DISALLOW_COPY_AND_ASSIGN(LauncherView);
202 }; 204 };
203 205
204 } // namespace internal 206 } // namespace internal
205 } // namespace ash 207 } // namespace ash
206 208
207 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ 209 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698