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

Unified Diff: ui/views/metrics_aura.cc

Issue 1544083002: Fix clang/win build after https://codereview.chromium.org/1543173002/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/metrics_aura.cc
diff --git a/ui/views/metrics_aura.cc b/ui/views/metrics_aura.cc
index 50102ca0e54fba81f42eb8dd5a4e4d8e1fef6839..81d036ee32fe4018033a8f41de29acf7a73fd052 100644
--- a/ui/views/metrics_aura.cc
+++ b/ui/views/metrics_aura.cc
@@ -9,13 +9,6 @@
#include <windows.h>
#endif
-namespace {
-
-// Default double click interval in milliseconds.
-const int kDefaultDoubleClickInterval = 500;
-
-} // namespace
-
namespace views {
int GetDoubleClickInterval() {
@@ -23,7 +16,8 @@ int GetDoubleClickInterval() {
return ::GetDoubleClickTime();
#else
// TODO(jennyz): This value may need to be adjusted on different platforms.
- return kDefaultDoubleClickInterval;
+ const int kDefaultDoubleClickIntervalMs = 500;
tfarina 2015/12/23 21:23:25 right, on Windows, this constant was unused. Good
+ return kDefaultDoubleClickIntervalMs;
#endif
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698