summaryrefslogtreecommitdiffstats
path: root/ui/aura/client
diff options
context:
space:
mode:
authordavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-19 00:18:58 +0000
committerdavemoore@chromium.org <davemoore@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-05-19 00:18:58 +0000
commit1e401151c092a8569c2250aa4d5d54519f223b55 (patch)
treedf3df593c3b299ae505ade5f2dc217c01d71f00d /ui/aura/client
parent3e1dc20c34c610471927ac76f92f76be221af5d5 (diff)
downloadchromium_src-1e401151c092a8569c2250aa4d5d54519f223b55.zip
chromium_src-1e401151c092a8569c2250aa4d5d54519f223b55.tar.gz
chromium_src-1e401151c092a8569c2250aa4d5d54519f223b55.tar.bz2
Flash window by pulsing their launcher icon state indicator
BUG=119965 TEST=BrowserLauncherItemControllerTest.FlashWindow Review URL: https://chromiumcodereview.appspot.com/10392173 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@137993 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/client')
-rw-r--r--ui/aura/client/aura_constants.cc1
-rw-r--r--ui/aura/client/aura_constants.h4
2 files changed, 5 insertions, 0 deletions
diff --git a/ui/aura/client/aura_constants.cc b/ui/aura/client/aura_constants.cc
index f74d2ea..96c38ee 100644
--- a/ui/aura/client/aura_constants.cc
+++ b/ui/aura/client/aura_constants.cc
@@ -20,6 +20,7 @@ namespace client {
DEFINE_WINDOW_PROPERTY_KEY(bool, kAlwaysOnTopKey, false);
DEFINE_WINDOW_PROPERTY_KEY(bool, kAnimationsDisabledKey, false);
+DEFINE_WINDOW_PROPERTY_KEY(bool, kDrawAttentionKey, false);
DEFINE_WINDOW_PROPERTY_KEY(ui::ModalType, kModalKey, ui::MODAL_TYPE_NONE);
// gfx::Rect object for RestoreBoundsKey property is owned by the window
// and will be freed automatically.
diff --git a/ui/aura/client/aura_constants.h b/ui/aura/client/aura_constants.h
index 92fa298..5ded101 100644
--- a/ui/aura/client/aura_constants.h
+++ b/ui/aura/client/aura_constants.h
@@ -26,6 +26,10 @@ AURA_EXPORT extern const WindowProperty<bool>* const kAlwaysOnTopKey;
// of value is an int.
AURA_EXPORT extern const WindowProperty<bool>* const kAnimationsDisabledKey;
+// A property key to indicate that a window should show that it deserves
+// attention.
+AURA_EXPORT extern const aura::WindowProperty<bool>* const kDrawAttentionKey;
+
// A property key to store the window modality.
AURA_EXPORT extern const WindowProperty<ui::ModalType>* const kModalKey;