diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-21 01:17:36 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-02-21 01:17:36 +0000 |
commit | af5e2527f117e4187012285b731b7c19690b09c0 (patch) | |
tree | 6a81621eb664eeec75b8565e206a592c33625003 /ash/cancel_mode.h | |
parent | 5436bd2533a236ca3c6ff6cc7ce7b9a89e9ab10d (diff) | |
download | chromium_src-af5e2527f117e4187012285b731b7c19690b09c0.zip chromium_src-af5e2527f117e4187012285b731b7c19690b09c0.tar.gz chromium_src-af5e2527f117e4187012285b731b7c19690b09c0.tar.bz2 |
Plumbs through ET_CANCEL_MODE, which is intended to be used when modal
type operations should cancel, such as menus. This is a precursor to
moving TooltipController to views.
BUG=175441
R=sadrul@chromium.org
Review URL: https://chromiumcodereview.appspot.com/12294051
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@183693 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/cancel_mode.h')
-rw-r--r-- | ash/cancel_mode.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ash/cancel_mode.h b/ash/cancel_mode.h new file mode 100644 index 0000000..915fe43 --- /dev/null +++ b/ash/cancel_mode.h @@ -0,0 +1,15 @@ +// Copyright (c) 2013 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 ASH_CANCEL_MODE_H_ +#define ASH_CANCEL_MODE_H_ + +namespace ash { + +// Sends OnHostCancelMode() to all RootWindows. +void DispatchCancelMode(); + +} // namespace ash + +#endif // ASH_CANCEL_MODE_H_ |