Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: ui/views/mouse_constants.h

Issue 851853002: It is time. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Trying to reup because the last upload failed. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/metrics_aura.cc ('k') | ui/views/mouse_watcher.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/mouse_constants.h
diff --git a/ui/views/mouse_constants.h b/ui/views/mouse_constants.h
deleted file mode 100644
index a0dce80f0cf67d04110f73b10b45966f1ea61e41..0000000000000000000000000000000000000000
--- a/ui/views/mouse_constants.h
+++ /dev/null
@@ -1,24 +0,0 @@
-// Copyright 2013 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef UI_VIEWS_MOUSE_CONSTANTS_H_
-#define UI_VIEWS_MOUSE_CONSTANTS_H_
-
-#include "base/basictypes.h"
-
-namespace views {
-
-// The amount of time the mouse should be down before a mouse release is
-// considered intentional. This is to prevent spurious mouse releases from
-// activating controls, especially when some UI element is revealed under the
-// source of the activation (ex. menus showing underneath menu buttons).
-const int kMinimumMsPressedToActivate = 200;
-
-// The amount of time, in milliseconds, between clicks until they're
-// considered intentionally different.
-const int kMinimumMsBetweenButtonClicks = 100;
-
-} // namespace views
-
-#endif // UI_VIEWS_MOUSE_CONSTANTS_H_
« no previous file with comments | « ui/views/metrics_aura.cc ('k') | ui/views/mouse_watcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698