summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui/views/event_utils.h
blob: f8e792444e7b546f1145d4104c5996b6f1ec8832 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// 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_

#include "chrome/browser/ui/views/chrome_views_export.h"

namespace ui {
class Event;
}

namespace event_utils {

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

}  // namespace event_utils

#endif  // CHROME_BROWSER_UI_VIEWS_EVENT_UTILS_H_