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

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: rebase 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
« no previous file with comments | « ash/launcher/launcher.cc ('k') | ash/launcher/launcher_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 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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
197 199
198 ObserverList<LauncherIconObserver> observers_; 200 ObserverList<LauncherIconObserver> observers_;
199 201
200 DISALLOW_COPY_AND_ASSIGN(LauncherView); 202 DISALLOW_COPY_AND_ASSIGN(LauncherView);
201 }; 203 };
202 204
203 } // namespace internal 205 } // namespace internal
204 } // namespace ash 206 } // namespace ash
205 207
206 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_ 208 #endif // ASH_LAUNCHER_LAUNCHER_VIEW_H_
OLDNEW
« no previous file with comments | « ash/launcher/launcher.cc ('k') | ash/launcher/launcher_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698