summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/event_utils.h
blob: a1518006f8c2b233299c3d63a7ffd70f426d3c15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_
#define CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_
#pragma once

namespace views {
class Event;
}

namespace event_utils {

// Returns true if the specified event may have a
// WindowOptionDisposition.
bool IsPossibleDispositionEvent(const views::Event& event);

}  // namespace event_utils

#endif  // CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_