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

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

Issue 10701051: Polish launcher tooltip visibility (2nd try). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 5 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/ash.gyp ('k') | ash/launcher/launcher.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_H_ 5 #ifndef ASH_LAUNCHER_LAUNCHER_H_
6 #define ASH_LAUNCHER_LAUNCHER_H_ 6 #define ASH_LAUNCHER_LAUNCHER_H_
7 #pragma once 7 #pragma once
8 8
9 #include "ash/ash_export.h" 9 #include "ash/ash_export.h"
10 #include "ash/launcher/background_animator.h" 10 #include "ash/launcher/background_animator.h"
(...skipping 14 matching lines...) Expand all
25 namespace views { 25 namespace views {
26 class View; 26 class View;
27 class Widget; 27 class Widget;
28 } 28 }
29 29
30 namespace ash { 30 namespace ash {
31 31
32 namespace internal { 32 namespace internal {
33 class FocusCycler; 33 class FocusCycler;
34 class LauncherView; 34 class LauncherView;
35 class ShelfLayoutManager;
35 } 36 }
36 37
37 class LauncherIconObserver; 38 class LauncherIconObserver;
38 class LauncherDelegate; 39 class LauncherDelegate;
39 class LauncherModel; 40 class LauncherModel;
40 41
41 class ASH_EXPORT Launcher : public internal::BackgroundAnimatorDelegate { 42 class ASH_EXPORT Launcher : public internal::BackgroundAnimatorDelegate {
42 public: 43 public:
43 explicit Launcher(aura::Window* window_container); 44 Launcher(aura::Window* window_container,
45 internal::ShelfLayoutManager* shelf_layout_manager);
44 virtual ~Launcher(); 46 virtual ~Launcher();
45 47
46 // Sets the focus cycler. Also adds the launcher to the cycle. 48 // Sets the focus cycler. Also adds the launcher to the cycle.
47 void SetFocusCycler(internal::FocusCycler* focus_cycler); 49 void SetFocusCycler(internal::FocusCycler* focus_cycler);
48 internal::FocusCycler* GetFocusCycler(); 50 internal::FocusCycler* GetFocusCycler();
49 51
50 void SetAlignment(ShelfAlignment alignment); 52 void SetAlignment(ShelfAlignment alignment);
51 ShelfAlignment alignment() const { return alignment_; } 53 ShelfAlignment alignment() const { return alignment_; }
52 54
53 // Sets whether the launcher paints a background. Default is false, but is set 55 // Sets whether the launcher paints a background. Default is false, but is set
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 120
119 // Used to animate the background. 121 // Used to animate the background.
120 internal::BackgroundAnimator background_animator_; 122 internal::BackgroundAnimator background_animator_;
121 123
122 DISALLOW_COPY_AND_ASSIGN(Launcher); 124 DISALLOW_COPY_AND_ASSIGN(Launcher);
123 }; 125 };
124 126
125 } // namespace ash 127 } // namespace ash
126 128
127 #endif // ASH_LAUNCHER_LAUNCHER_H_ 129 #endif // ASH_LAUNCHER_LAUNCHER_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/launcher/launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698