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

Issue 303033: Implements AeroPeek of Windows 7.. (Closed)

Created:
11 years, 2 months ago by Hironori Bono
Modified:
9 years, 7 months ago
CC:
chromium-reviews_googlegroups.com, ben+cc_chromium.org
Visibility:
Public.

Description

Implements AeroPeek of Windows 7. This change integrates the custom AeroPeek implementation into Chromium, which shows the thumbnail list of all tabs and the preview image of the tab selected from the thumbnail list. It uses the AeroPeekManager object, which is a proxy between TabStripModel and Windows to translate events from TabStripModel for Windows, and vice versa. To listen events from TabStripModel without changing the existing part of Chromium, this AeroPeekManager class implements the TabStripModelObserver interface. Even though this change doesn't include any automated tests for AeroPeek, I would like to send its automated UI test as a separate change. Nevertheless, it just creates/deletes a tab and see this AeroPeekManager can create its thumbnail window correctly. BUG=6337 TEST=base_unittests.exe --gtest_filter=ScopedNativeLibrary.Basic Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=41133

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Total comments: 24

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Patch Set 16 : '' #

Patch Set 17 : '' #

Total comments: 9

Patch Set 18 : '' #

Patch Set 19 : '' #

Patch Set 20 : '' #

Patch Set 21 : '' #

Patch Set 22 : '' #

Total comments: 1

Patch Set 23 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1518 lines, -1 line) Patch
M AUTHORS View 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
M base/base.gyp View 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1 line, -0 lines 0 comments Download
M base/scoped_handle_win.h View 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +9 lines, -1 line 0 comments Download
A base/scoped_native_library.h View 7 8 1 chunk +39 lines, -0 lines 0 comments Download
A base/scoped_native_library_unittest.cc View 7 8 9 10 11 12 13 14 15 1 chunk +30 lines, -0 lines 0 comments Download
A chrome/browser/aeropeek_manager.h View 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +182 lines, -0 lines 0 comments Download
A chrome/browser/aeropeek_manager.cc View 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 1 chunk +1225 lines, -0 lines 0 comments Download
M chrome/browser/views/frame/browser_view.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/views/frame/browser_view.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 4 chunks +24 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 2 chunks +3 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Hironori Bono
Sorry for sending such a big change without tests. Even though this is not a ...
10 years, 11 months ago (2010-01-15 11:13:18 UTC) #1
Avi (use Gerrit)
I'm not qualified to review the Windows code, but it looked cool so here's a ...
10 years, 11 months ago (2010-01-15 16:50:26 UTC) #2
Peter Kasting
Drive-by: _Must_ we have --disable-aeropeek? We usually try to avoid adding options unless we really ...
10 years, 11 months ago (2010-01-15 18:08:29 UTC) #3
Hironori Bono
Thank you for your review and comment. On 2010/01/15 18:08:29, Peter Kasting wrote: > Drive-by: ...
10 years, 11 months ago (2010-01-21 10:34:17 UTC) #4
Hironori Bono
Peter and Avi, Thank you for your review and comments. I have updated this change ...
10 years, 11 months ago (2010-01-21 10:35:42 UTC) #5
Ben Goodger (Google)
Very sorry this dropped out of my inbox. I will review this today. -Ben On ...
10 years, 11 months ago (2010-01-21 17:14:49 UTC) #6
Leith
I tried this on my machine and it was very glitchy. The toolbar height calculation ...
10 years, 10 months ago (2010-01-30 11:40:53 UTC) #7
Leith
Not sure if previous comment had the REviewrs/CC box filled out...
10 years, 10 months ago (2010-01-30 11:41:45 UTC) #8
Leith
I have changed my diff file. I have: Fixed the calculation of the left, right, ...
10 years, 10 months ago (2010-01-31 08:29:30 UTC) #9
Leith
I have updated my comments and code after more testing.
10 years, 10 months ago (2010-01-31 08:30:21 UTC) #10
Hironori Bono
Leith, Thank you for your comments and diff. I have merged some of your diff ...
10 years, 10 months ago (2010-02-01 10:57:13 UTC) #11
Ben Goodger (Google)
Bono-san, Reading Leith's comments it sounds like you show the full window in the tab ...
10 years, 10 months ago (2010-02-03 04:17:20 UTC) #12
Hironori Bono
Ben, Thank you for your comment. On 2010/02/03 04:17:20, Ben Goodger wrote: > Bono-san, > ...
10 years, 10 months ago (2010-02-03 10:39:11 UTC) #13
Hironori Bono
ping?
10 years, 10 months ago (2010-02-16 09:39:39 UTC) #14
Ben Goodger (Google)
Can you evaluate the page load performance impact of this change? Currently we have no ...
10 years, 10 months ago (2010-02-16 19:15:26 UTC) #15
Hironori Bono
Thank you for your review and comments. To run PageCyclerTests on my Win7 box with ...
10 years, 10 months ago (2010-02-17 10:46:42 UTC) #16
Ben Goodger (Google)
On Wed, Feb 17, 2010 at 2:46 AM, <hbono@chromium.org> wrote: > Thank you for your ...
10 years, 10 months ago (2010-02-17 20:39:16 UTC) #17
Hironori Bono
Thank you for your comments and sorry for my slow updates. To avoid accessing TabContents ...
10 years, 9 months ago (2010-03-01 09:14:31 UTC) #18
Hironori Bono
I have updated the test results to use r40887. * Without this change (r40887) - ...
10 years, 9 months ago (2010-03-08 11:28:56 UTC) #19
Ben Goodger (Google)
10 years, 9 months ago (2010-03-08 22:03:22 UTC) #20
OK LGTM. Sorry for the latency.

http://codereview.chromium.org/303033/diff/44001/44008
File chrome/browser/aeropeek_manager.cc (right):

http://codereview.chromium.org/303033/diff/44001/44008#newcode160
chrome/browser/aeropeek_manager.cc:160: // * DwmSetIconicThumbnail()
Why not just place these comments next to the relevant function?

Powered by Google App Engine
This is Rietveld 408576698