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

Side by Side Diff: content/browser/renderer_host/input/tap_suppression_controller.cc

Issue 866803003: Mechanical rename of tracing includes for /content [1/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_trace_part2
Patch Set: 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 unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/input/tap_suppression_controller.h" 5 #include "content/browser/renderer_host/input/tap_suppression_controller.h"
6 6
7 #include "base/debug/trace_event.h"
8 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/trace_event/trace_event.h"
9 #include "content/browser/renderer_host/input/tap_suppression_controller_client. h" 9 #include "content/browser/renderer_host/input/tap_suppression_controller_client. h"
10 10
11 namespace content { 11 namespace content {
12 12
13 TapSuppressionController::Config::Config() 13 TapSuppressionController::Config::Config()
14 : enabled(false), 14 : enabled(false),
15 max_cancel_to_down_time(base::TimeDelta::FromMilliseconds(180)), 15 max_cancel_to_down_time(base::TimeDelta::FromMilliseconds(180)),
16 max_tap_gap_time(base::TimeDelta::FromMilliseconds(500)) { 16 max_tap_gap_time(base::TimeDelta::FromMilliseconds(500)) {
17 } 17 }
18 18
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 case TAP_DOWN_STASHED: 138 case TAP_DOWN_STASHED:
139 TRACE_EVENT0("browser", 139 TRACE_EVENT0("browser",
140 "TapSuppressionController::TapDownTimerExpired"); 140 "TapSuppressionController::TapDownTimerExpired");
141 client_->ForwardStashedTapDown(); 141 client_->ForwardStashedTapDown();
142 state_ = NOTHING; 142 state_ = NOTHING;
143 break; 143 break;
144 } 144 }
145 } 145 }
146 146
147 } // namespace content 147 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698