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

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

Issue 10027007: ash: Make sure the uber-tray popup is positioned correctly. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 8 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 | « no previous file | ash/launcher/launcher.cc » ('j') | ash/wm/shelf_layout_manager.cc » ('J')
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/launcher/background_animator.h" 9 #include "ash/launcher/background_animator.h"
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 internal::FocusCycler* GetFocusCycler(); 43 internal::FocusCycler* GetFocusCycler();
44 44
45 // Sets whether the launcher paints a background. Default is false, but is set 45 // Sets whether the launcher paints a background. Default is false, but is set
46 // to true if a window overlaps the shelf. 46 // to true if a window overlaps the shelf.
47 void SetPaintsBackground( 47 void SetPaintsBackground(
48 bool value, 48 bool value,
49 internal::BackgroundAnimator::ChangeType change_type); 49 internal::BackgroundAnimator::ChangeType change_type);
50 50
51 // Sets the width of the status area. 51 // Sets the width of the status area.
52 void SetStatusWidth(int width); 52 void SetStatusWidth(int width);
53 int GetStatusWidth(); 53 int GetStatusWidth() const;
54 54
55 // Returns the screen bounds of the item for the specified window. If there is 55 // Returns the screen bounds of the item for the specified window. If there is
56 // no item for the specified window an empty rect is returned. 56 // no item for the specified window an empty rect is returned.
57 gfx::Rect GetScreenBoundsOfItemIconForWindow(aura::Window* window); 57 gfx::Rect GetScreenBoundsOfItemIconForWindow(aura::Window* window);
58 58
59 // Returns true if the Launcher is showing a context menu. 59 // Returns true if the Launcher is showing a context menu.
60 bool IsShowingMenu() const; 60 bool IsShowingMenu() const;
61 61
62 // Only to be called for testing. Retrieves the LauncherView. 62 // Only to be called for testing. Retrieves the LauncherView.
63 // TODO(sky): remove this! 63 // TODO(sky): remove this!
(...skipping 29 matching lines...) Expand all
93 93
94 // Used to animate the background. 94 // Used to animate the background.
95 internal::BackgroundAnimator background_animator_; 95 internal::BackgroundAnimator background_animator_;
96 96
97 DISALLOW_COPY_AND_ASSIGN(Launcher); 97 DISALLOW_COPY_AND_ASSIGN(Launcher);
98 }; 98 };
99 99
100 } // namespace ash 100 } // namespace ash
101 101
102 #endif // ASH_LAUNCHER_LAUNCHER_H_ 102 #endif // ASH_LAUNCHER_LAUNCHER_H_
OLDNEW
« no previous file with comments | « no previous file | ash/launcher/launcher.cc » ('j') | ash/wm/shelf_layout_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698