15d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Copyright 2013 The Chromium Authors. All rights reserved. 25d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be 35d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// found in the LICENSE file. 45d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 55d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#ifndef ASH_SHELF_SHELF_CONSTANTS_H_ 65d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#define ASH_SHELF_SHELF_CONSTANTS_H_ 75d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 85d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#include "ash/ash_export.h" 95d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 105d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)namespace ash { 115d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 125d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Max alpha of the shelf background. 135d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)ASH_EXPORT extern const int kShelfBackgroundAlpha; 145d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 155d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Invalid image resource id used for ShelfItemDetails. 165d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)extern const int kInvalidImageResourceID; 175d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 18cedac228d2dd51db4b79ea1e72c7f249408ee061Torne (Richard Coles)const int kInvalidShelfID = 0; 195d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 20a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch// Size of the shelf when visible (height when the shelf is horizontal). 21a02191e04bc25c4935f804f2c080ae28663d096dBen MurdochASH_EXPORT extern const int kShelfSize; 22a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch 23a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch// Size of the space between buttons on the shelf. 24a02191e04bc25c4935f804f2c080ae28663d096dBen MurdochASH_EXPORT extern const int kShelfButtonSpacing; 25a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch 26a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch// Size allocated for each button on the shelf. 27a02191e04bc25c4935f804f2c080ae28663d096dBen MurdochASH_EXPORT extern const int kShelfButtonSize; 28a02191e04bc25c4935f804f2c080ae28663d096dBen Murdoch 295d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// Animation duration for switching black shelf and dock background on and off. 305d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)ASH_EXPORT extern const int kTimeToSwitchBackgroundMs; 315d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 325d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)// The direction of the focus cycling. 335d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)enum CycleDirection { 345d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) CYCLE_FORWARD, 355d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) CYCLE_BACKWARD 365d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)}; 375d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 385d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)} // namespace ash 395d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles) 405d1f7b1de12d16ceb2c938c56701a3e8bfa558f7Torne (Richard Coles)#endif // ASH_SHELF_SHELF_CONSTANTS_H_ 41