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

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

Issue 11092034: Add Wallpaper option to launcher context menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Whitespace, Null Check, Comment Update Created 8 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
« no previous file with comments | « ash/desktop_background/desktop_background_view.cc ('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 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/launcher/background_animator.h" 9 #include "ash/launcher/background_animator.h"
10 #include "ash/launcher/launcher_types.h" 10 #include "ash/launcher/launcher_types.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // Cycles the window focus linearly over the current launcher items. 79 // Cycles the window focus linearly over the current launcher items.
80 void CycleWindowLinear(CycleDirection direction); 80 void CycleWindowLinear(CycleDirection direction);
81 81
82 void AddIconObserver(LauncherIconObserver* observer); 82 void AddIconObserver(LauncherIconObserver* observer);
83 void RemoveIconObserver(LauncherIconObserver* observer); 83 void RemoveIconObserver(LauncherIconObserver* observer);
84 84
85 // Returns true if the Launcher is showing a context menu. 85 // Returns true if the Launcher is showing a context menu.
86 bool IsShowingMenu() const; 86 bool IsShowingMenu() const;
87 87
88 // Show the context menu for the Launcher.
89 void ShowContextMenu(const gfx::Point& location);
90
88 bool IsShowingOverflowBubble() const; 91 bool IsShowingOverflowBubble() const;
89 92
90 void SetVisible(bool visible) const; 93 void SetVisible(bool visible) const;
91 94
92 views::View* GetAppListButtonView() const; 95 views::View* GetAppListButtonView() const;
93 96
94 // Sets the bounds of the launcher widget, and the dimmer if visible. 97 // Sets the bounds of the launcher widget, and the dimmer if visible.
95 void SetWidgetBounds(const gfx::Rect bounds); 98 void SetWidgetBounds(const gfx::Rect bounds);
96 99
97 // Only to be called for testing. Retrieves the LauncherView. 100 // Only to be called for testing. Retrieves the LauncherView.
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 136
134 // Used to animate the background. 137 // Used to animate the background.
135 internal::BackgroundAnimator background_animator_; 138 internal::BackgroundAnimator background_animator_;
136 139
137 DISALLOW_COPY_AND_ASSIGN(Launcher); 140 DISALLOW_COPY_AND_ASSIGN(Launcher);
138 }; 141 };
139 142
140 } // namespace ash 143 } // namespace ash
141 144
142 #endif // ASH_LAUNCHER_LAUNCHER_H_ 145 #endif // ASH_LAUNCHER_LAUNCHER_H_
OLDNEW
« no previous file with comments | « ash/desktop_background/desktop_background_view.cc ('k') | ash/launcher/launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698