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

Issue 6598057: Split infobar_delegate.[cc,h] into separate pieces for the different classes defined within, so that (Closed)

Created:
9 years, 9 months ago by tfarina
Modified:
9 years, 7 months ago
Reviewers:
jam, Peter Kasting
CC:
chromium-reviews, Erik does not do reviews, Aaron Boodman, pam+watch_chromium.org, brettw-cc_chromium.org, darin-cc_chromium.org, stuartmorgan+watch_chromium.org
Visibility:
Public.

Description

Split infobar_delegate.[cc,h] into separate pieces for the different classes defined within, so that each piece is shorter and clearer. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76677

Patch Set 1 #

Patch Set 2 : Split LinkInfoBarDelegate #

Patch Set 3 : Split ConfirmInfoBarDelegate #

Patch Set 4 : fix mac #

Total comments: 7

Patch Set 5 : rebase, fix conflicts?, peter review #

Patch Set 6 : one more rebase #

Patch Set 7 : fix wrong include #

Unified diffs Side-by-side diffs Delta from patch set Stats (+349 lines, -300 lines) Patch
M chrome/browser/alternate_nav_url_fetcher.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/autofill/autofill_cc_infobar_delegate.h View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/automation/testing_automation_provider.cc View 1 2 3 4 5 6 3 chunks +6 lines, -5 lines 0 comments Download
M chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/download/download_request_infobar_delegate.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/crashed_extension_infobar.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_crash_recovery_browsertest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_disabled_infobar_delegate.cc View 1 2 3 4 5 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_infobar_delegate.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/extensions/extension_infobar_module.cc View 1 2 3 4 5 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/extensions/theme_installed_infobar_delegate.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/geolocation/geolocation_browsertest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/geolocation/geolocation_permission_context.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/geolocation/geolocation_permission_context_unittest.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
chrome/browser/google/google_url_tracker.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/google/google_url_tracker_unittest.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/desktop_notification_service.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/omnibox_search_hint.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/password_manager_delegate_impl.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/pdf_unsupported_feature.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/plugin_installer_infobar_delegate.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/plugin_observer.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
A chrome/browser/tab_contents/confirm_infobar_delegate.h View 1 2 1 chunk +70 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/confirm_infobar_delegate.cc View 1 2 3 4 5 6 1 chunk +55 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/infobar_delegate.h View 1 2 1 chunk +0 lines, -124 lines 0 comments Download
D chrome/browser/tab_contents/infobar_delegate.cc View 1 2 3 4 5 1 chunk +0 lines, -117 lines 0 comments Download
A chrome/browser/tab_contents/link_infobar_delegate.h View 1 1 chunk +46 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/link_infobar_delegate.cc View 1 1 chunk +22 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/simple_alert_infobar_delegate.h View 1 2 1 chunk +42 lines, -0 lines 0 comments Download
A chrome/browser/tab_contents/simple_alert_infobar_delegate.cc View 1 chunk +44 lines, -0 lines 0 comments Download
M chrome/browser/tab_contents/tab_contents_ssl_helper.cc View 1 2 3 4 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/task_manager/task_manager_browsertest.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/translate/translate_infobar_delegate.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser.cc View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/browser_init.cc View 1 2 3 4 5 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm View 1 2 1 chunk +4 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_container_controller.mm View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_controller.mm View 1 2 3 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_controller_unittest.mm View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/cocoa/infobars/infobar_test_helper.h View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/cocoa/keystone_infobar.mm View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/gtk/infobars/infobar_container_gtk.cc View 1 2 3 4 5 2 chunks +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/infobars/infobar_gtk.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/infobars/link_infobar_gtk.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/tab_contents/tab_contents_wrapper.cc View 1 2 3 4 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/infobars/confirm_infobar.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/infobars/infobar_background.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/infobars/infobar_container.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/views/infobars/infobar_view.cc View 1 2 3 4 5 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/views/infobars/link_infobar.cc View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 1 chunk +6 lines, -2 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
tfarina
9 years, 9 months ago (2011-03-01 01:40:28 UTC) #1
Peter Kasting
Can you split Link and Confirm into separate files in this CL too?
9 years, 9 months ago (2011-03-01 01:45:45 UTC) #2
tfarina
On 2011/03/01 01:45:45, Peter Kasting wrote: > Can you split Link and Confirm into separate ...
9 years, 9 months ago (2011-03-01 01:49:03 UTC) #3
Peter Kasting
On 2011/03/01 01:49:03, tfarina wrote: > On 2011/03/01 01:45:45, Peter Kasting wrote: > > Can ...
9 years, 9 months ago (2011-03-01 01:49:59 UTC) #4
tfarina
On 2011/03/01 01:49:59, Peter Kasting wrote: > On 2011/03/01 01:49:03, tfarina wrote: > > On ...
9 years, 9 months ago (2011-03-01 01:50:51 UTC) #5
tfarina
Peter, could you take another look?
9 years, 9 months ago (2011-03-01 02:21:08 UTC) #6
Peter Kasting
LGTM http://codereview.chromium.org/6598057/diff/6001/chrome/browser/tab_contents/tab_contents_ssl_helper.cc File chrome/browser/tab_contents/tab_contents_ssl_helper.cc (left): http://codereview.chromium.org/6598057/diff/6001/chrome/browser/tab_contents/tab_contents_ssl_helper.cc#oldcode31 chrome/browser/tab_contents/tab_contents_ssl_helper.cc:31: Nit: This blank line can stay http://codereview.chromium.org/6598057/diff/6001/chrome/browser/ui/browser.cc File ...
9 years, 9 months ago (2011-03-01 19:10:37 UTC) #7
jam
btw if you have time, if you can move content\browser\infobar_delegate.* to the files you're deleting ...
9 years, 9 months ago (2011-03-01 19:14:59 UTC) #8
tfarina
http://codereview.chromium.org/6598057/diff/6001/chrome/browser/tab_contents/tab_contents_ssl_helper.cc File chrome/browser/tab_contents/tab_contents_ssl_helper.cc (left): http://codereview.chromium.org/6598057/diff/6001/chrome/browser/tab_contents/tab_contents_ssl_helper.cc#oldcode31 chrome/browser/tab_contents/tab_contents_ssl_helper.cc:31: On 2011/03/01 19:10:37, Peter Kasting wrote: > Nit: This ...
9 years, 9 months ago (2011-03-02 01:47:13 UTC) #9
tfarina
9 years, 9 months ago (2011-03-02 16:20:34 UTC) #10
On 2011/03/01 19:14:59, John Abd-El-Malek wrote:
> btw if you have time, if you can move content\browser\infobar_delegate.* to
the
> files you're deleting here, that'd be great.  I moved them and then we decided
> they should have stayed.

Sure, I'll move them back to chrome/browser/tab_contents/infobar_delegate* in a
followup CL.

Powered by Google App Engine
This is Rietveld 408576698