|
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}
Total comments: 2
|
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
|
Total messages: 15 (5 generated)
|