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

Side by Side Diff: ash/shelf/shelf_layout_manager.h

Issue 97983003: Start the move of launcher_types.h to shelf. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: the rename Created 6 years, 12 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/shelf/shelf_constants.cc ('k') | ash/shelf/shelf_layout_manager.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_SHELF_SHELF_LAYOUT_MANAGER_H_ 5 #ifndef ASH_SHELF_SHELF_LAYOUT_MANAGER_H_
6 #define ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ 6 #define ASH_SHELF_SHELF_LAYOUT_MANAGER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/ash_export.h" 10 #include "ash/ash_export.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 static const int kAutoHideSize; 78 static const int kAutoHideSize;
79 79
80 // The size of the shelf when shown (currently only used in alternate 80 // The size of the shelf when shown (currently only used in alternate
81 // settings see ash::switches::UseAlternateShelfLayout). 81 // settings see ash::switches::UseAlternateShelfLayout).
82 static const int kShelfSize; 82 static const int kShelfSize;
83 83
84 // Inset between the inner edge of the shelf (towards centre of screen), and 84 // Inset between the inner edge of the shelf (towards centre of screen), and
85 // the shelf items, notifications, status area etc. 85 // the shelf items, notifications, status area etc.
86 static const int kShelfItemInset; 86 static const int kShelfItemInset;
87 87
88 // Returns the preferred size for the shelf (either kLauncherPreferredSize or 88 // Returns the preferred size for the shelf (either kShelfPreferredSize or
89 // kShelfSize). 89 // kShelfSize).
90 static int GetPreferredShelfSize(); 90 static int GetPreferredShelfSize();
91 91
92 explicit ShelfLayoutManager(ShelfWidget* shelf); 92 explicit ShelfLayoutManager(ShelfWidget* shelf);
93 virtual ~ShelfLayoutManager(); 93 virtual ~ShelfLayoutManager();
94 94
95 // Sets the ShelfAutoHideBehavior. See enum description for details. 95 // Sets the ShelfAutoHideBehavior. See enum description for details.
96 void SetAutoHideBehavior(ShelfAutoHideBehavior behavior); 96 void SetAutoHideBehavior(ShelfAutoHideBehavior behavior);
97 ShelfAutoHideBehavior auto_hide_behavior() const { 97 ShelfAutoHideBehavior auto_hide_behavior() const {
98 return auto_hide_behavior_; 98 return auto_hide_behavior_;
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
406 // The bounds of the dock. 406 // The bounds of the dock.
407 gfx::Rect dock_bounds_; 407 gfx::Rect dock_bounds_;
408 408
409 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager); 409 DISALLOW_COPY_AND_ASSIGN(ShelfLayoutManager);
410 }; 410 };
411 411
412 } // namespace internal 412 } // namespace internal
413 } // namespace ash 413 } // namespace ash
414 414
415 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_ 415 #endif // ASH_SHELF_SHELF_LAYOUT_MANAGER_H_
OLDNEW
« no previous file with comments | « ash/shelf/shelf_constants.cc ('k') | ash/shelf/shelf_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698