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

Issue 11721003: Eliminate the LinkInfoBar[Delegate] classes entirely. (Closed)

Created:
7 years, 11 months ago by tfarina
Modified:
7 years, 11 months ago
Reviewers:
Peter Kasting
CC:
chromium-reviews
Visibility:
Public.

Description

Eliminate the LinkInfoBar[Delegate] classes entirely. And switch to the existing AlternateNavInfoBar[Delegate] classes. BUG=164772 R=pkasting@chromium.org TBR=ben@chromium.org NOTRY=True # ios_dbg_simulator seems to be broken in lkgm? Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=175313

Patch Set 1 #

Patch Set 2 : kill LinkInfoBar classes #

Total comments: 1

Patch Set 3 : fix mac mock #

Patch Set 4 : one more mac fix #

Patch Set 5 : one more fix #

Total comments: 2

Patch Set 6 : kill the mocks #

Patch Set 7 : move it to c/b/infobars/ #

Patch Set 8 : fix mac unittest numbers #

Total comments: 8

Patch Set 9 : address some nits - testing-automation matters? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+185 lines, -649 lines) Patch
M chrome/browser/alternate_nav_url_fetcher.cc View 1 2 3 4 5 6 2 chunks +1 line, -78 lines 0 comments Download
M chrome/browser/api/infobars/infobar_delegate.h View 1 3 chunks +5 lines, -5 lines 0 comments Download
M chrome/browser/api/infobars/infobar_delegate.cc View 1 2 chunks +4 lines, -4 lines 0 comments Download
D chrome/browser/api/infobars/link_infobar_delegate.h View 1 1 chunk +0 lines, -44 lines 0 comments Download
D chrome/browser/api/infobars/link_infobar_delegate.cc View 1 1 chunk +0 lines, -20 lines 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 7 8 2 chunks +0 lines, -5 lines 0 comments Download
A chrome/browser/infobars/alternate_nav_infobar_delegate.h View 1 2 3 4 5 6 7 8 1 chunk +35 lines, -0 lines 0 comments Download
A chrome/browser/infobars/alternate_nav_infobar_delegate.cc View 1 2 3 4 5 6 1 chunk +64 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_container_controller_unittest.mm View 1 2 3 4 5 6 7 3 chunks +4 lines, -22 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_controller.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_controller.mm View 1 2 3 4 5 6 6 chunks +11 lines, -10 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_controller_unittest.mm View 1 2 3 4 5 4 chunks +0 lines, -108 lines 0 comments Download
D chrome/browser/ui/cocoa/infobars/mock_link_infobar_delegate.h View 1 1 chunk +0 lines, -54 lines 0 comments Download
D chrome/browser/ui/cocoa/infobars/mock_link_infobar_delegate.cc View 1 1 chunk +0 lines, -47 lines 0 comments Download
A + chrome/browser/ui/gtk/infobars/alternate_nav_infobar_gtk.h View 1 1 chunk +11 lines, -10 lines 0 comments Download
A + chrome/browser/ui/gtk/infobars/alternate_nav_infobar_gtk.cc View 1 2 3 4 5 6 2 chunks +13 lines, -12 lines 0 comments Download
D chrome/browser/ui/gtk/infobars/link_infobar_gtk.h View 1 1 chunk +0 lines, -29 lines 0 comments Download
D chrome/browser/ui/gtk/infobars/link_infobar_gtk.cc View 1 1 chunk +0 lines, -39 lines 0 comments Download
A + chrome/browser/ui/views/infobars/alternate_nav_infobar_view.h View 1 2 chunks +11 lines, -10 lines 0 comments Download
A + chrome/browser/ui/views/infobars/alternate_nav_infobar_view.cc View 1 2 3 4 5 6 4 chunks +19 lines, -15 lines 0 comments Download
D chrome/browser/ui/views/infobars/link_infobar.h View 1 1 chunk +0 lines, -42 lines 0 comments Download
D chrome/browser/ui/views/infobars/link_infobar.cc View 1 1 chunk +0 lines, -86 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 2 3 4 5 6 7 8 5 chunks +4 lines, -6 lines 0 comments Download

Messages

Total messages: 25 (0 generated)
tfarina
https://codereview.chromium.org/11721003/diff/4023/chrome/browser/api/infobars/infobar_delegate.cc File chrome/browser/api/infobars/infobar_delegate.cc (right): https://codereview.chromium.org/11721003/diff/4023/chrome/browser/api/infobars/infobar_delegate.cc#newcode75 chrome/browser/api/infobars/infobar_delegate.cc:75: MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() { This seems to be a bug ...
7 years, 11 months ago (2012-12-29 15:13:35 UTC) #1
Peter Kasting
We should get rid of everything that we used to do for LinkInfobars that we ...
7 years, 11 months ago (2013-01-02 19:32:52 UTC) #2
tfarina
On 2013/01/02 19:32:52, Peter Kasting wrote: > We should get rid of everything that we ...
7 years, 11 months ago (2013-01-02 21:01:24 UTC) #3
tfarina
Peter, friendly ping??
7 years, 11 months ago (2013-01-03 18:41:47 UTC) #4
Peter Kasting
On 2013/01/03 18:41:47, tfarina wrote: > Peter, friendly ping?? I don't do code reviews every ...
7 years, 11 months ago (2013-01-03 18:43:22 UTC) #5
Peter Kasting
LGTM https://codereview.chromium.org/11721003/diff/22001/chrome/browser/api/infobars/infobar_delegate.cc File chrome/browser/api/infobars/infobar_delegate.cc (right): https://codereview.chromium.org/11721003/diff/22001/chrome/browser/api/infobars/infobar_delegate.cc#newcode75 chrome/browser/api/infobars/infobar_delegate.cc:75: MediaStreamInfoBarDelegate* InfoBarDelegate::AsMediaStreamInfoBarDelegate() { This code is duplicated. https://codereview.chromium.org/11721003/diff/22001/chrome/browser/automation/testing_automation_provider.cc ...
7 years, 11 months ago (2013-01-04 01:09:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/11721003/26001
7 years, 11 months ago (2013-01-05 11:47:48 UTC) #7
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) sync_unit_tests, unit_tests
7 years, 11 months ago (2013-01-05 12:21:26 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/11721003/26001
7 years, 11 months ago (2013-01-05 17:07:50 UTC) #9
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) sync_unit_tests, unit_tests
7 years, 11 months ago (2013-01-05 17:40:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/11721003/26001
7 years, 11 months ago (2013-01-05 17:44:39 UTC) #11
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) sync_unit_tests, unit_tests
7 years, 11 months ago (2013-01-05 18:16:27 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/11721003/26001
7 years, 11 months ago (2013-01-05 19:54:44 UTC) #13
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) sync_unit_tests, unit_tests
7 years, 11 months ago (2013-01-05 20:22:49 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/11721003/26001
7 years, 11 months ago (2013-01-05 21:39:50 UTC) #15
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) sync_unit_tests, unit_tests
7 years, 11 months ago (2013-01-05 22:07:50 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/11721003/26001
7 years, 11 months ago (2013-01-06 11:24:16 UTC) #17
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) sync_unit_tests, unit_tests
7 years, 11 months ago (2013-01-06 11:56:03 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/11721003/26001
7 years, 11 months ago (2013-01-06 22:32:18 UTC) #19
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) sync_unit_tests, unit_tests
7 years, 11 months ago (2013-01-06 23:04:18 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/tfarina@chromium.org/11721003/26001
7 years, 11 months ago (2013-01-06 23:05:18 UTC) #21
commit-bot: I haz the power
Retried try job too often on ios_dbg_simulator for step(s) sync_unit_tests, unit_tests
7 years, 11 months ago (2013-01-06 23:36:23 UTC) #22
tfarina
https://codereview.chromium.org/11721003/diff/22001/chrome/browser/ui/cocoa/infobars/infobar_controller.mm File chrome/browser/ui/cocoa/infobars/infobar_controller.mm (right): https://codereview.chromium.org/11721003/diff/22001/chrome/browser/ui/cocoa/infobars/infobar_controller.mm#newcode292 chrome/browser/ui/cocoa/infobars/infobar_controller.mm:292: @implementation AlternateNavInfoBarController On 2013/01/04 01:09:07, Peter Kasting wrote: > ...
7 years, 11 months ago (2013-01-07 15:31:32 UTC) #23
tfarina
https://codereview.chromium.org/11721003/diff/22001/chrome/browser/infobars/alternate_nav_infobar_delegate.h File chrome/browser/infobars/alternate_nav_infobar_delegate.h (right): https://codereview.chromium.org/11721003/diff/22001/chrome/browser/infobars/alternate_nav_infobar_delegate.h#newcode5 chrome/browser/infobars/alternate_nav_infobar_delegate.h:5: #ifndef CHROME_BROWSER_INFOBARS_ALTERNATE_NAV_INFOBAR_DELEGATE_H_ On 2013/01/04 01:09:07, Peter Kasting wrote: > ...
7 years, 11 months ago (2013-01-08 21:43:00 UTC) #24
tfarina
7 years, 11 months ago (2013-01-19 00:22:53 UTC) #25
On Wed, Jan 2, 2013 at 5:32 PM,  <pkasting@chromium.org> wrote:
> Similarly, I'd like to kill the downcast conversion function if possible.
>
The patch in https://codereview.chromium.org/12017031/ should address
this hopefuly.

> https://codereview.chromium.org/11721003/

-- 
Thiago

Powered by Google App Engine
This is Rietveld 408576698