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

Unified Diff: ui/aura_shell/launcher/launcher.h

Issue 8953004: Now that the launcher is sized to the width of the root window we need (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweaks Created 9 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/aura_shell/aura_shell.gyp ('k') | ui/aura_shell/launcher/launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura_shell/launcher/launcher.h
diff --git a/ui/aura_shell/launcher/launcher.h b/ui/aura_shell/launcher/launcher.h
index ef1a2aca6883094b8fcb90f24da9da9e92a5db23..b7f4ac4a318ed7d5cbd2b21ea72df22c1027e28f 100644
--- a/ui/aura_shell/launcher/launcher.h
+++ b/ui/aura_shell/launcher/launcher.h
@@ -30,10 +30,16 @@ class AURA_SHELL_EXPORT Launcher : public aura::WindowObserver {
explicit Launcher(aura::Window* window_container);
~Launcher();
+ // Sets the width of the status area.
+ void SetStatusWidth(int width);
+ int GetStatusWidth();
+
LauncherModel* model() { return model_.get(); }
views::Widget* widget() { return widget_; }
private:
+ class DelegateView;
+
typedef std::map<aura::Window*, bool> WindowMap;
// If necessary asks the delegate if an entry should be created in the
@@ -57,6 +63,9 @@ class AURA_SHELL_EXPORT Launcher : public aura::WindowObserver {
// the delegate if the window should added to the launcher.
WindowMap known_windows_;
+ // Contents view of the widget. Houses the LauncherView.
+ DelegateView* delegate_view_;
+
DISALLOW_COPY_AND_ASSIGN(Launcher);
};
« no previous file with comments | « ui/aura_shell/aura_shell.gyp ('k') | ui/aura_shell/launcher/launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698