summaryrefslogtreecommitdiffstats
path: root/views/event.h
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-15 15:36:03 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-15 15:36:03 +0000
commit3da0bfd1d9974b55d3358aad5954836e9986ef4b (patch)
treefbe33a78ca5f6aba01b5544516c66c17953d6552 /views/event.h
parenta20720983ddc7796ba3b93b3e57be2e5ba7f31a5 (diff)
downloadchromium_src-3da0bfd1d9974b55d3358aad5954836e9986ef4b.zip
chromium_src-3da0bfd1d9974b55d3358aad5954836e9986ef4b.tar.gz
chromium_src-3da0bfd1d9974b55d3358aad5954836e9986ef4b.tar.bz2
Changes the tab close button to a dot, unless you're near the button
or the tab is selected. I'm not to keen on the mouse near names, if you have better ideas please say so. BUG=45743 TEST=none Review URL: http://codereview.chromium.org/2796006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49795 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/event.h')
-rw-r--r--views/event.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/event.h b/views/event.h
index 6f96a71..91c0a53 100644
--- a/views/event.h
+++ b/views/event.h
@@ -41,6 +41,8 @@ class Event {
ET_MOUSE_MOVED,
ET_MOUSE_ENTERED,
ET_MOUSE_EXITED,
+ ET_MOUSE_NEAR,
+ ET_MOUSE_EXITED_NEAR,
ET_KEY_PRESSED,
ET_KEY_RELEASED,
ET_MOUSEWHEEL,
@@ -100,7 +102,9 @@ class Event {
type_ == ET_MOUSE_MOVED ||
type_ == ET_MOUSE_ENTERED ||
type_ == ET_MOUSE_EXITED ||
- type_ == ET_MOUSEWHEEL;
+ type_ == ET_MOUSEWHEEL ||
+ type_ == ET_MOUSE_NEAR ||
+ type_ == ET_MOUSE_EXITED_NEAR;
}
#if defined(OS_WIN)