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

Issue 922953002: Minor infobar cleanup. (Closed)

Created:
5 years, 10 months ago by Peter Kasting
Modified:
5 years, 10 months ago
CC:
browser-components-watch_chromium.org, chromium-apps-reviews_chromium.org, chromium-reviews, estade+watch_chromium.org, extensions-reviews_chromium.org, feature-media-reviews_chromium.org, gcasto+watchlist_chromium.org, markusheintz_, mcasas+watch_chromium.org, mkwst+watchlist-passwords_chromium.org, mlamouri+watch-notifications_chromium.org, mlamouri+watch-geolocation_chromium.org, Michael van Ouwerkerk, peter+watch_chromium.org, piman+watch_chromium.org, posciak+watch_chromium.org, rouslan+autofillwatch_chromium.org, wjia+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Minor infobar cleanup. * Stop calling GetIconID() as a proxy for having RTTI to detect ThreeDAPIInfoBarDelegates. Just add a downcast function. * Slightly more reasonable base class function order. * Fix declaration/definition orders to match base class (and each other) in other instances where it was noticeably wrong. * Keep infobar code consistent about not inlining method definitions in class declarations, and making overridden functions private unless otherwise necessary. BUG=none TEST=none Committed: https://crrev.com/bdbf3b186bc3fc0a1101b0571af80254fac9948f Cr-Commit-Position: refs/heads/master@{#317685}

Patch Set 1 #

Patch Set 2 : Resync #

Total comments: 2

Patch Set 3 : Un-privatize #

Patch Set 4 : Resync #

Patch Set 5 : Resync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+417 lines, -363 lines) Patch
M chrome/browser/android/banners/app_banner_infobar_delegate.h View 1 2 3 2 chunks +8 lines, -10 lines 0 comments Download
M chrome/browser/android/banners/app_banner_infobar_delegate.cc View 1 2 3 4 4 chunks +70 lines, -71 lines 0 comments Download
M chrome/browser/content_settings/permission_infobar_delegate.h View 1 2 1 chunk +3 lines, -8 lines 0 comments Download
M chrome/browser/content_settings/permission_infobar_delegate.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/custom_handlers/register_protocol_handler_infobar_delegate.cc View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/extensions/api/debugger/debugger_api.cc View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/extensions/api/messaging/incognito_connectability.cc View 1 2 2 chunks +64 lines, -38 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/extensions/theme_installed_infobar_delegate.cc View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/geolocation/geolocation_infobar_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/gpu/three_d_api_observer.cc View 1 2 2 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/media/media_stream_infobar_delegate.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/media/media_stream_infobar_delegate.cc View 1 2 2 chunks +9 lines, -9 lines 0 comments Download
M chrome/browser/media/midi_permission_infobar_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/media/protected_media_identifier_infobar_delegate.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/media/protected_media_identifier_infobar_delegate.cc View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/net/spdyproxy/data_reduction_proxy_infobar_delegate.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/notifications/desktop_notification_infobar_delegate.h View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/password_manager/generated_password_saved_infobar_delegate_android.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/generated_password_saved_infobar_delegate_android.cc View 1 2 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/password_manager/save_password_infobar_delegate.h View 1 2 1 chunk +5 lines, -8 lines 0 comments Download
M chrome/browser/password_manager/save_password_infobar_delegate.cc View 1 2 2 chunks +17 lines, -17 lines 0 comments Download
M chrome/browser/plugins/plugin_infobar_delegates.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/plugins/plugin_infobar_delegates.cc View 1 2 2 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ssl/ssl_add_certificate.cc View 2 chunks +65 lines, -40 lines 0 comments Download
M chrome/browser/ui/auto_login_infobar_delegate.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/auto_login_infobar_delegate.cc View 1 2 1 chunk +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/cocoa/keystone_infobar_delegate.mm View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/collected_cookies_infobar_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/collected_cookies_infobar_delegate.cc View 1 chunk +4 lines, -4 lines 0 comments Download
M chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/omnibox/alternate_nav_infobar_delegate.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/browser/ui/startup/autolaunch_prompt_win.cc View 1 2 3 chunks +7 lines, -7 lines 0 comments Download
M chrome/browser/ui/startup/default_browser_prompt.cc View 1 2 3 chunks +6 lines, -6 lines 0 comments Download
M chrome/browser/ui/website_settings/website_settings_infobar_delegate.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/website_settings/website_settings_infobar_delegate.cc View 1 chunk +5 lines, -5 lines 0 comments Download
M chrome/test/gpu/webgl_infobar_browsertest.cc View 2 chunks +1 line, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_cc_infobar_delegate.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M components/autofill/core/browser/autofill_cc_infobar_delegate.cc View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M components/infobars/core/infobar_delegate.h View 1 2 3 4 chunks +17 lines, -12 lines 0 comments Download
M components/infobars/core/infobar_delegate.cc View 1 2 3 4 chunks +18 lines, -14 lines 0 comments Download
M components/infobars/core/simple_alert_infobar_delegate.h View 1 2 1 chunk +1 line, -1 line 0 comments Download
M components/infobars/core/simple_alert_infobar_delegate.cc View 1 2 2 chunks +5 lines, -5 lines 0 comments Download
M components/translate/core/browser/translate_infobar_delegate.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M components/translate/core/browser/translate_infobar_delegate.cc View 1 2 3 chunks +20 lines, -20 lines 0 comments Download

Messages

Total messages: 15 (5 generated)
Peter Kasting
https://codereview.chromium.org/922953002/diff/20001/chrome/browser/content_settings/permission_infobar_delegate.h File chrome/browser/content_settings/permission_infobar_delegate.h (left): https://codereview.chromium.org/922953002/diff/20001/chrome/browser/content_settings/permission_infobar_delegate.h#oldcode31 chrome/browser/content_settings/permission_infobar_delegate.h:31: base::string16 GetMessageText() const override = 0; This is already ...
5 years, 10 months ago (2015-02-13 03:22:26 UTC) #2
Peter Kasting
Wait on reviewing this; clearly codesearch did not find all the Android craziness, so I ...
5 years, 10 months ago (2015-02-13 03:29:30 UTC) #3
Peter Kasting
OK, this is hopefully ready for review (fingers crossed).
5 years, 10 months ago (2015-02-14 02:03:06 UTC) #4
Peter Kasting
Ping
5 years, 10 months ago (2015-02-19 22:09:21 UTC) #5
jochen (gone - plz use gerrit)
lgtm
5 years, 10 months ago (2015-02-23 12:08:55 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/922953002/60001
5 years, 10 months ago (2015-02-23 20:54:24 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/44780)
5 years, 10 months ago (2015-02-23 21:18:20 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/922953002/80001
5 years, 10 months ago (2015-02-23 21:47:50 UTC) #13
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 10 months ago (2015-02-24 00:19:17 UTC) #14
commit-bot: I haz the power
5 years, 10 months ago (2015-02-24 00:20:14 UTC) #15
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bdbf3b186bc3fc0a1101b0571af80254fac9948f
Cr-Commit-Position: refs/heads/master@{#317685}

Powered by Google App Engine
This is Rietveld 408576698