• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef UI_VIEWS_VIEW_CONSTANTS_H_
6 #define UI_VIEWS_VIEW_CONSTANTS_H_
7 
8 #include "ui/views/views_export.h"
9 
10 namespace views {
11 
12 // Size (width or height) within which the user can hold the mouse and the
13 // view should scroll.
14 VIEWS_EXPORT extern const int kAutoscrollSize;
15 
16 // Time in milliseconds to autoscroll by a row. This is used during drag and
17 // drop.
18 VIEWS_EXPORT extern const int kAutoscrollRowTimerMS;
19 
20 // Used to determine whether a drop is on an item or before/after it. If a drop
21 // occurs kDropBetweenPixels from the top/bottom it is considered before/after
22 // the item, otherwise it is on the item.
23 VIEWS_EXPORT extern const int kDropBetweenPixels;
24 
25 }  // namespace views
26 
27 #endif  // UI_VIEWS_VIEW_CONSTANTS_H_
28