[Metrics] Make MetricsStateManager take a callback param to check if UMA is enabled.
[chromium-blink-merge.git] / chrome / browser / ui / views / event_utils.h
blobf8e792444e7b546f1145d4104c5996b6f1ec8832
1 // Copyright (c) 2012 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.
5 #ifndef CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_
6 #define CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_
8 #include "chrome/browser/ui/views/chrome_views_export.h"
10 namespace ui {
11 class Event;
14 namespace event_utils {
16 // Returns true if the specified event may have a
17 // WindowOptionDisposition.
18 CHROME_VIEWS_EXPORT bool IsPossibleDispositionEvent(const ui::Event& event);
20 } // namespace event_utils
22 #endif // CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_