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. 4 5 #ifndef CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_ 6 #define CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_ 7 8 #include "chrome/browser/ui/views/chrome_views_export.h" 9 10 namespace ui { 11 class Event; 12 } 13 14 namespace event_utils { 15 16 // Returns true if the specified event may have a 17 // WindowOptionDisposition. 18 CHROME_VIEWS_EXPORT bool IsPossibleDispositionEvent(const ui::Event& event); 19 20 } // namespace event_utils 21 22 #endif // CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_ 23