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

Issue 4766003: Preview CL for adding an Infobar facility to Google Chrome Frame.... (Closed)

Created:
10 years, 1 month ago by erikwright (departed)
Modified:
9 years, 7 months ago
CC:
ananta
Visibility:
Public.

Description

Add an infobar facility to Chrome Frame. Allows clients to display and hide arbitrary content at the top or botom of an IE tab. BUG=None TEST=chrome_frame_unittests --gtest_filter=Infobars* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=68176

Patch Set 1 #

Total comments: 31

Patch Set 2 : '' #

Patch Set 3 : '' #

Total comments: 74

Patch Set 4 : '' #

Patch Set 5 : '' #

Total comments: 27

Patch Set 6 : '' #

Patch Set 7 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1461 lines, -0 lines) Patch
M chrome_frame/chrome_frame.gyp View 1 2 3 4 5 3 chunks +15 lines, -0 lines 0 comments Download
A chrome_frame/infobars/content.h View 1 2 3 4 5 1 chunk +50 lines, -0 lines 0 comments Download
A chrome_frame/infobars/internal/displaced_window.h View 1 2 3 1 chunk +45 lines, -0 lines 0 comments Download
A chrome_frame/infobars/internal/displaced_window.cc View 1 2 3 4 5 1 chunk +42 lines, -0 lines 0 comments Download
A chrome_frame/infobars/internal/host_window.h View 1 2 3 1 chunk +48 lines, -0 lines 0 comments Download
A chrome_frame/infobars/internal/host_window.cc View 1 2 3 4 5 1 chunk +119 lines, -0 lines 0 comments Download
A chrome_frame/infobars/internal/infobar_window.h View 1 2 3 4 5 1 chunk +108 lines, -0 lines 0 comments Download
A chrome_frame/infobars/internal/infobar_window.cc View 1 2 3 4 5 6 1 chunk +183 lines, -0 lines 0 comments Download
A chrome_frame/infobars/internal/subclassing_window.h View 1 2 3 4 5 1 chunk +107 lines, -0 lines 0 comments Download
A chrome_frame/infobars/manager.h View 1 2 3 4 5 1 chunk +50 lines, -0 lines 0 comments Download
A chrome_frame/infobars/manager.cc View 1 2 3 4 5 1 chunk +102 lines, -0 lines 0 comments Download
A chrome_frame/test/infobar_unittests.cc View 1 2 3 4 5 1 chunk +592 lines, -0 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
grt (UTC plus 2)
Here are some style comments. I have nothing to say about ATL and the like. ...
10 years, 1 month ago (2010-11-10 17:59:29 UTC) #1
ananta
Still looking at this CL. While discussing this with Amit, an interesting point came up. ...
10 years, 1 month ago (2010-11-12 00:04:30 UTC) #2
amit
We don't need a generic info bar implementation in this case. So it'll be better ...
10 years, 1 month ago (2010-11-12 00:04:46 UTC) #3
erikwright (departed)
FYI, I don't know why it is not showing EOLs at the end of files... ...
10 years ago (2010-11-24 06:24:56 UTC) #4
amit
I am having a little difficulty in following the design. I think here's what needs ...
10 years ago (2010-11-24 14:21:35 UTC) #5
tommi (sloooow) - chröme
nice job. the code is easily readable and neat. http://codereview.chromium.org/4766003/diff/25001/chrome_frame/infobars/content.h File chrome_frame/infobars/content.h (right): http://codereview.chromium.org/4766003/diff/25001/chrome_frame/infobars/content.h#newcode10 chrome_frame/infobars/content.h:10: ...
10 years ago (2010-11-24 16:08:23 UTC) #6
grt (UTC plus 2)
Looks good; mostly nits below. http://codereview.chromium.org/4766003/diff/25001/chrome_frame/infobars/content.h File chrome_frame/infobars/content.h (right): http://codereview.chromium.org/4766003/diff/25001/chrome_frame/infobars/content.h#newcode10 chrome_frame/infobars/content.h:10: class InfobarContent { Consider ...
10 years ago (2010-11-25 18:00:13 UTC) #7
erikwright (departed)
Further refactored this, and added some unit tests. This CL is now proposed for commit ...
10 years ago (2010-12-01 20:05:52 UTC) #8
tommi (sloooow) - chröme
lgtm. very nice work Erik. Just nits below. http://codereview.chromium.org/4766003/diff/54001/chrome_frame/infobars/internal/infobar_window.cc File chrome_frame/infobars/internal/infobar_window.cc (right): http://codereview.chromium.org/4766003/diff/54001/chrome_frame/infobars/internal/infobar_window.cc#newcode45 chrome_frame/infobars/internal/infobar_window.cc:45: FunctionStub::Destroy(timer_stub_); ...
10 years ago (2010-12-01 21:51:28 UTC) #9
grt (UTC plus 2)
Killer tests! LGTM with nits. http://codereview.chromium.org/4766003/diff/54001/chrome_frame/infobars/content.h File chrome_frame/infobars/content.h (right): http://codereview.chromium.org/4766003/diff/54001/chrome_frame/infobars/content.h#newcode15 chrome_frame/infobars/content.h:15: // The instance will ...
10 years ago (2010-12-02 16:27:52 UTC) #10
amit
10 years ago (2010-12-02 16:28:51 UTC) #11
lgtm++

http://codereview.chromium.org/4766003/diff/54001/chrome_frame/infobars/inter...
File chrome_frame/infobars/internal/subclassing_window.h (right):

http://codereview.chromium.org/4766003/diff/54001/chrome_frame/infobars/inter...
chrome_frame/infobars/internal/subclassing_window.h:50: PLOG(ERROR) << "Failed
to subclass an HWND";
nit: it'll be nice if the error code is available in the message.

Powered by Google App Engine
This is Rietveld 408576698