// Copyright 2016 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CC_INPUT_MAIN_THREAD_SCROLLING_REASON_H_ #define CC_INPUT_MAIN_THREAD_SCROLLING_REASON_H_ #include <memory> #include <string> #include "cc/cc_export.h" namespace base { namespace trace_event { class TracedValue; } } // namespace base namespace cc { // Ensure this stays in sync with the "MainThreadScrollingReason" enum in: // tools/metrics/histograms/enums.xml // When adding a new MainThreadScrollingReason, make sure the corresponding // kRepaintReasons and kHitTestReasons are also updated. struct CC_EXPORT MainThreadScrollingReason { … }; } // namespace cc #endif // CC_INPUT_MAIN_THREAD_SCROLLING_REASON_H_