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

Issue 7977037: Refactor Win panel mouse watcher to use PanelMouseWatcher base class. (Closed)

Created:
9 years, 3 months ago by jennb
Modified:
9 years, 3 months ago
CC:
chromium-reviews, Dmitry Titov, jianli, dcheng, Paweł Hajdan Jr.
Visibility:
Public.

Description

Refactor Win panel mouse watcher to use PanelMouseWatcher base class. BUG=None TEST=Panel minimize and restore tests. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=102616 (Original commit reverted in 102395.)

Patch Set 1 #

Total comments: 3

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+47 lines, -82 lines) Patch
M chrome/browser/ui/panels/panel_browser_view.cc View 1 2 7 chunks +9 lines, -17 lines 0 comments Download
M chrome/browser/ui/panels/panel_browser_view_browsertest.cc View 1 2 3 chunks +2 lines, -5 lines 0 comments Download
M chrome/browser/ui/panels/panel_browsertest.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
D chrome/browser/ui/panels/panel_mouse_watcher_win.h View 1 2 1 chunk +0 lines, -15 lines 0 comments Download
M chrome/browser/ui/panels/panel_mouse_watcher_win.cc View 1 2 3 chunks +32 lines, -39 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 2 chunks +0 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jennb
9 years, 3 months ago (2011-09-22 00:35:34 UTC) #1
jianli
LGTM w/ a few nits. http://codereview.chromium.org/7977037/diff/1/chrome/browser/ui/panels/panel_mouse_watcher_win.cc File chrome/browser/ui/panels/panel_mouse_watcher_win.cc (right): http://codereview.chromium.org/7977037/diff/1/chrome/browser/ui/panels/panel_mouse_watcher_win.cc#newcode32 chrome/browser/ui/panels/panel_mouse_watcher_win.cc:32: ~PanelMouseWatcherWin(); Please add virtual. ...
9 years, 3 months ago (2011-09-22 00:48:33 UTC) #2
commit-bot: I haz the power
CQ is trying tha patch. Follow status at https://chromium-status.appspot.com/cq/jennb%40chromium.org/7977037/8
9 years, 3 months ago (2011-09-22 16:51:08 UTC) #3
prasadt
http://codereview.chromium.org/7977037/diff/8/chrome/browser/ui/panels/panel_browser_view_browsertest.cc File chrome/browser/ui/panels/panel_browser_view_browsertest.cc (right): http://codereview.chromium.org/7977037/diff/8/chrome/browser/ui/panels/panel_browser_view_browsertest.cc#newcode100 chrome/browser/ui/panels/panel_browser_view_browsertest.cc:100: void TestMinimizeAndRestore(bool enable_auto_hiding) { Do we still need this ...
9 years, 3 months ago (2011-09-22 18:36:41 UTC) #4
jennb
Yes, we still need that test as it supports auto-hiding, which PanelBrowserTest::MinimizeRestore does not. After ...
9 years, 3 months ago (2011-09-22 18:41:38 UTC) #5
commit-bot: I haz the power
List of reviewers changed.
9 years, 3 months ago (2011-09-22 20:26:56 UTC) #6
Nirnimesh
This broke PanelBrowserTest.MinimizeRestore. Failure is repeatable.
9 years, 3 months ago (2011-09-23 02:01:10 UTC) #7
jennb
9 years, 3 months ago (2011-09-23 23:34:03 UTC) #8
On 2011/09/23 02:01:10, Nirnimesh wrote:
> This broke PanelBrowserTest.MinimizeRestore. Failure is repeatable.

Re-committed patch with PanelBrowserTest.MinimizeRestore disabled for Windows.
Will investigate XP and Vista failures separately.

Powered by Google App Engine
This is Rietveld 408576698