Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(10)

Issue 10810011: Add EventFilter for LauncherTooltip. (Closed)

Created:
8 years, 5 months ago by Jun Mukai
Modified:
8 years, 5 months ago
Reviewers:
Daniel Erat
CC:
chromium-reviews, sadrul, ben+watch_chromium.org
Visibility:
Public.

Description

Add EventFilter for LauncherTooltip. Now it monitors mouse/touch/gesture events and hides the tooltip if necessary. BUG=137678 TEST=manually verified && aura_shell_unittests passed Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148079

Patch Set 1 #

Total comments: 9

Patch Set 2 : fix #

Patch Set 3 : change env eventfilter add/remove #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+198 lines, -39 lines) Patch
M ash/launcher/launcher_tooltip_manager.h View 4 chunks +19 lines, -2 lines 0 comments Download
M ash/launcher/launcher_tooltip_manager.cc View 1 2 9 chunks +92 lines, -18 lines 0 comments Download
M ash/launcher/launcher_tooltip_manager_unittest.cc View 1 2 3 4 chunks +85 lines, -2 lines 0 comments Download
M ash/launcher/launcher_view.h View 1 2 3 1 chunk +0 lines, -2 lines 0 comments Download
M ash/launcher/launcher_view.cc View 1 2 3 2 chunks +2 lines, -15 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
Jun Mukai
8 years, 5 months ago (2012-07-19 08:47:51 UTC) #1
Daniel Erat
http://codereview.chromium.org/10810011/diff/1/ash/launcher/launcher_tooltip_manager.cc File ash/launcher/launcher_tooltip_manager.cc (right): http://codereview.chromium.org/10810011/diff/1/ash/launcher/launcher_tooltip_manager.cc#newcode251 ash/launcher/launcher_tooltip_manager.cc:251: // Because this mouse event may arrive to |view_|, ...
8 years, 5 months ago (2012-07-19 14:51:18 UTC) #2
Jun Mukai
http://codereview.chromium.org/10810011/diff/1/ash/launcher/launcher_tooltip_manager.cc File ash/launcher/launcher_tooltip_manager.cc (right): http://codereview.chromium.org/10810011/diff/1/ash/launcher/launcher_tooltip_manager.cc#newcode251 ash/launcher/launcher_tooltip_manager.cc:251: // Because this mouse event may arrive to |view_|, ...
8 years, 5 months ago (2012-07-20 05:00:11 UTC) #3
Jun Mukai
http://codereview.chromium.org/10810011/diff/1/ash/launcher/launcher_tooltip_manager.cc File ash/launcher/launcher_tooltip_manager.cc (right): http://codereview.chromium.org/10810011/diff/1/ash/launcher/launcher_tooltip_manager.cc#newcode307 ash/launcher/launcher_tooltip_manager.cc:307: Shell::GetInstance()->AddEnvEventFilter(this); On 2012/07/20 05:00:11, Jun Mukai wrote: > On ...
8 years, 5 months ago (2012-07-20 05:06:46 UTC) #4
Jun Mukai
dan, can you take another look at this?
8 years, 5 months ago (2012-07-23 14:23:24 UTC) #5
Daniel Erat
LGTM Thanks, the observer code looks much better!
8 years, 5 months ago (2012-07-23 15:45:53 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mukai@chromium.org/10810011/7002
8 years, 5 months ago (2012-07-24 09:08:57 UTC) #7
commit-bot: I haz the power
8 years, 5 months ago (2012-07-24 11:15:14 UTC) #8
Change committed as 148079

Powered by Google App Engine
This is Rietveld 408576698