1 // Copyright 2014 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 #include "ui/views/metrics.h" 6 7 namespace { 8 9 // Default double click interval in milliseconds. 10 // Same as what gtk uses. 11 const int kDefaultDoubleClickInterval = 500; 12 13 } // namespace 14 15 namespace views { 16 17 int GetDoubleClickInterval() { 18 return kDefaultDoubleClickInterval; 19 } 20 21 int GetMenuShowDelay() { 22 return 0; 23 } 24 25 } // namespace views 26