view_constants.h 895 B

123456789101112131415161718192021222324252627
  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. #ifndef UI_VIEWS_VIEW_CONSTANTS_H_
  5. #define UI_VIEWS_VIEW_CONSTANTS_H_
  6. #include "ui/views/views_export.h"
  7. namespace views {
  8. // Size (width or height) within which the user can hold the mouse and the
  9. // view should scroll.
  10. VIEWS_EXPORT extern const int kAutoscrollSize;
  11. // Time in milliseconds to autoscroll by a row. This is used during drag and
  12. // drop.
  13. VIEWS_EXPORT extern const int kAutoscrollRowTimerMS;
  14. // Used to determine whether a drop is on an item or before/after it. If a drop
  15. // occurs kDropBetweenPixels from the top/bottom it is considered before/after
  16. // the item, otherwise it is on the item.
  17. VIEWS_EXPORT extern const int kDropBetweenPixels;
  18. } // namespace views
  19. #endif // UI_VIEWS_VIEW_CONSTANTS_H_