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

Side by Side Diff: ash/shell.h

Issue 10388036: Adds the option of aligning the launcher to the left or right. There (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile 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_view_unittest.cc ('k') | ash/shell.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_SHELL_H_ 5 #ifndef ASH_SHELL_H_
6 #define ASH_SHELL_H_ 6 #define ASH_SHELL_H_
7 #pragma once 7 #pragma once
8 8
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 245
246 const ScreenAsh* screen() { return screen_; } 246 const ScreenAsh* screen() { return screen_; }
247 247
248 // Force the shelf to query for it's current visibility state. 248 // Force the shelf to query for it's current visibility state.
249 void UpdateShelfVisibility(); 249 void UpdateShelfVisibility();
250 250
251 // Sets/gets the shelf auto-hide behavior. 251 // Sets/gets the shelf auto-hide behavior.
252 void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior); 252 void SetShelfAutoHideBehavior(ShelfAutoHideBehavior behavior);
253 ShelfAutoHideBehavior GetShelfAutoHideBehavior() const; 253 ShelfAutoHideBehavior GetShelfAutoHideBehavior() const;
254 254
255 void SetShelfAlignment(ShelfAlignment alignment);
256 ShelfAlignment GetShelfAlignment();
257
255 // TODO(sky): don't expose this! 258 // TODO(sky): don't expose this!
256 internal::ShelfLayoutManager* shelf() const { return shelf_; } 259 internal::ShelfLayoutManager* shelf() const { return shelf_; }
257 260
258 SystemTray* tray() const { return tray_.get(); } 261 SystemTray* tray() const { return tray_.get(); }
259 262
260 // Returns the size of the grid. 263 // Returns the size of the grid.
261 int GetGridSize() const; 264 int GetGridSize() const;
262 265
263 // Returns true if in maximized or fullscreen mode. 266 // Returns true if in maximized or fullscreen mode.
264 bool IsInMaximizedMode() const; 267 bool IsInMaximizedMode() const;
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 384
382 // Used by ash/shell. 385 // Used by ash/shell.
383 content::BrowserContext* browser_context_; 386 content::BrowserContext* browser_context_;
384 387
385 DISALLOW_COPY_AND_ASSIGN(Shell); 388 DISALLOW_COPY_AND_ASSIGN(Shell);
386 }; 389 };
387 390
388 } // namespace ash 391 } // namespace ash
389 392
390 #endif // ASH_SHELL_H_ 393 #endif // ASH_SHELL_H_
OLDNEW
« no previous file with comments | « ash/launcher/launcher_view_unittest.cc ('k') | ash/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698