summaryrefslogtreecommitdiffstats
path: root/ui/aura
diff options
context:
space:
mode:
authorvarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-18 23:58:02 +0000
committervarunjain@chromium.org <varunjain@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-01-18 23:58:02 +0000
commit5139f1ed6c290bd3d91ba7d270aafbe17bd1d73b (patch)
tree64bfd9771e273de1d6697baac214bf8535a04c06 /ui/aura
parentfc7b744c639fb4a9c25b1dbf5f7553166fdc1801 (diff)
downloadchromium_src-5139f1ed6c290bd3d91ba7d270aafbe17bd1d73b.zip
chromium_src-5139f1ed6c290bd3d91ba7d270aafbe17bd1d73b.tar.gz
chromium_src-5139f1ed6c290bd3d91ba7d270aafbe17bd1d73b.tar.bz2
Aura: add functionality required by mouse lock to disable tooltips. Also fix a
minor bug in tooltip displaying logic. BUG=102563 TEST=added new test. Review URL: http://codereview.chromium.org/9249010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@118187 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura')
-rw-r--r--ui/aura/client/tooltip_client.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/aura/client/tooltip_client.h b/ui/aura/client/tooltip_client.h
index a290796..efb08ee 100644
--- a/ui/aura/client/tooltip_client.h
+++ b/ui/aura/client/tooltip_client.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// 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.
@@ -26,6 +26,9 @@ class AURA_EXPORT TooltipClient {
public:
// Informs the shell tooltip manager of change in tooltip for window |target|.
virtual void UpdateTooltip(Window* target) = 0;
+
+ // Enables/Disables tooltips.
+ virtual void SetTooltipsEnabled(bool enable) = 0;
};
AURA_EXPORT void SetTooltipClient(TooltipClient* client);