15821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Copyright (c) 2011 The Chromium Authors. All rights reserved.
25821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Use of this source code is governed by a BSD-style license that can be
35821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// found in the LICENSE file.
45821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
55821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#ifndef UI_VIEWS_VIEW_CONSTANTS_H_
65821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#define UI_VIEWS_VIEW_CONSTANTS_H_
75821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
85821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#include "ui/views/views_export.h"
95821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
105821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)namespace views {
115821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
125821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Size (width or height) within which the user can hold the mouse and the
135821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// view should scroll.
145821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)VIEWS_EXPORT extern const int kAutoscrollSize;
155821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
165821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Time in milliseconds to autoscroll by a row. This is used during drag and
175821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// drop.
185821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)VIEWS_EXPORT extern const int kAutoscrollRowTimerMS;
195821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
205821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// Used to determine whether a drop is on an item or before/after it. If a drop
215821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// occurs kDropBetweenPixels from the top/bottom it is considered before/after
225821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)// the item, otherwise it is on the item.
235821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)VIEWS_EXPORT extern const int kDropBetweenPixels;
245821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
255821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)}  // namespace views
265821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)
275821806d5e7f356e8fa4b058a389a808ea183019Torne (Richard Coles)#endif  // UI_VIEWS_VIEW_CONSTANTS_H_
28