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

Issue 288923004: Add an extension override bubble and warning box for proxy extensions. (Closed)

Created:
6 years, 7 months ago by Finnur
Modified:
6 years, 6 months ago
Reviewers:
Devlin, Dan Beam, sky
CC:
chromium-reviews, dbeam+watch-options_chromium.org, chromium-apps-reviews_chromium.org, tfarina, arv+watch_chromium.org, extensions-reviews_chromium.org
Visibility:
Public.

Description

Add an extension override bubble and warning box for proxy extensions. Also use the browser action highlighting for extensions that have a browser action icon. BUG=381291 R=dbeam@chromium.org, rdevlin.cronin@chromium.org, sky@chromium.org Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275229

Patch Set 1 #

Patch Set 2 #

Patch Set 3 #

Total comments: 69

Patch Set 4 : Address review comments #

Total comments: 6

Patch Set 5 : Address concerns from UI team #

Patch Set 6 : Address UI team comments #

Total comments: 6

Patch Set 7 : Address review comments #

Total comments: 2

Patch Set 8 : Address review comments #

Patch Set 9 : Sync #

Patch Set 10 : Fix tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+866 lines, -219 lines) Patch
M chrome/app/generated_resources.grd View 3 chunks +22 lines, -2 lines 0 comments Download
M chrome/browser/extensions/dev_mode_bubble_controller.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/extensions/extension_message_bubble_controller.h View 1 2 3 4 5 1 chunk +7 lines, -1 line 0 comments Download
M chrome/browser/extensions/extension_message_bubble_controller_unittest.cc View 1 2 3 4 5 6 7 19 chunks +292 lines, -73 lines 0 comments Download
M chrome/browser/extensions/ntp_overridden_bubble_controller.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
A chrome/browser/extensions/proxy_overridden_bubble_controller.h View 1 2 3 4 5 6 1 chunk +39 lines, -0 lines 0 comments Download
A chrome/browser/extensions/proxy_overridden_bubble_controller.cc View 1 2 3 4 5 6 1 chunk +217 lines, -0 lines 0 comments Download
M chrome/browser/extensions/settings_api_bubble_controller.cc View 1 2 3 4 5 14 chunks +43 lines, -44 lines 0 comments Download
M chrome/browser/extensions/settings_api_helpers.h View 1 2 3 4 1 chunk +21 lines, -11 lines 0 comments Download
M chrome/browser/extensions/settings_api_helpers.cc View 1 2 3 4 5 6 7 8 9 5 chunks +33 lines, -17 lines 0 comments Download
M chrome/browser/extensions/suspicious_extension_bubble_controller.cc View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download
M chrome/browser/resources/options/browser_options.html View 1 2 3 4 2 chunks +8 lines, -1 line 0 comments Download
M chrome/browser/resources/options/browser_options.js View 1 2 3 4 4 chunks +19 lines, -3 lines 0 comments Download
M chrome/browser/ui/cocoa/view_id_util_browsertest.mm View 1 2 3 4 5 6 7 8 9 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/view_ids.h View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_message_bubble_view.h View 1 2 3 4 5 5 chunks +24 lines, -6 lines 0 comments Download
M chrome/browser/ui/views/extensions/extension_message_bubble_view.cc View 1 2 3 4 5 12 chunks +73 lines, -38 lines 0 comments Download
M chrome/browser/ui/views/settings_api_bubble_helper_views.cc View 1 2 3 2 chunks +12 lines, -12 lines 0 comments Download
M chrome/browser/ui/views/toolbar/browser_action_view.cc View 1 2 3 4 5 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/options/browser_options_handler.cc View 1 2 3 4 4 chunks +17 lines, -5 lines 0 comments Download
M chrome/chrome_browser_extensions.gypi View 1 2 3 4 5 6 7 8 1 chunk +2 lines, -0 lines 0 comments Download
M extensions/browser/extension_prefs.h View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -0 lines 0 comments Download
M extensions/browser/extension_prefs.cc View 1 2 3 4 5 6 7 8 2 chunks +14 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
Finnur
Devlin, mind taking this? dbeam: OWNERS check for c/b/resources/options
6 years, 7 months ago (2014-05-20 16:03:34 UTC) #1
Dan Beam
https://codereview.chromium.org/288923004/diff/110001/chrome/browser/resources/options/browser_options.html File chrome/browser/resources/options/browser_options.html (right): https://codereview.chromium.org/288923004/diff/110001/chrome/browser/resources/options/browser_options.html#newcode33 chrome/browser/resources/options/browser_options.html:33: <h3 id="proxy-section" i18n-content="sectionTitleProxy" hidden></h3> can you hide the whole ...
6 years, 7 months ago (2014-05-20 16:46:41 UTC) #2
Devlin
https://codereview.chromium.org/288923004/diff/110001/chrome/app/generated_resources.grd File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/288923004/diff/110001/chrome/app/generated_resources.grd#newcode5161 chrome/app/generated_resources.grd:5161: Your Internet connection is being controlled I assume "Internet" ...
6 years, 7 months ago (2014-05-20 17:26:31 UTC) #3
Finnur
PTAL. Also adding Sky for OWNERS check on settings_api_bubble_helper_views.cc, which I'll look at moving into ...
6 years, 7 months ago (2014-05-21 16:30:32 UTC) #4
Devlin
LGTM with nits. https://codereview.chromium.org/288923004/diff/110001/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc File chrome/browser/extensions/extension_message_bubble_controller_unittest.cc (right): https://codereview.chromium.org/288923004/diff/110001/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc#newcode779 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc:779: // Load two extensions overriding proxy ...
6 years, 7 months ago (2014-05-21 17:00:38 UTC) #5
Devlin
On 2014/05/21 16:30:32, Finnur wrote: > PTAL. > > Also adding Sky for OWNERS check ...
6 years, 7 months ago (2014-05-21 17:01:53 UTC) #6
Finnur
On 2014/05/21 17:01:53, Devlin wrote: > On 2014/05/21 16:30:32, Finnur wrote: > > PTAL. > ...
6 years, 7 months ago (2014-05-21 19:57:08 UTC) #7
sky
https://codereview.chromium.org/288923004/diff/130001/chrome/browser/ui/views/settings_api_bubble_helper_views.cc File chrome/browser/ui/views/settings_api_bubble_helper_views.cc (right): https://codereview.chromium.org/288923004/diff/130001/chrome/browser/ui/views/settings_api_bubble_helper_views.cc#newcode22 chrome/browser/ui/views/settings_api_bubble_helper_views.cc:22: namespace extensions { How come any of this code ...
6 years, 7 months ago (2014-05-21 21:03:28 UTC) #8
Finnur
https://codereview.chromium.org/288923004/diff/130001/chrome/browser/ui/views/settings_api_bubble_helper_views.cc File chrome/browser/ui/views/settings_api_bubble_helper_views.cc (right): https://codereview.chromium.org/288923004/diff/130001/chrome/browser/ui/views/settings_api_bubble_helper_views.cc#newcode22 chrome/browser/ui/views/settings_api_bubble_helper_views.cc:22: namespace extensions { Umm... because all of it is ...
6 years, 7 months ago (2014-05-21 21:29:56 UTC) #9
sky
Generally we don't use namespaces in code under src/chrome. See discussions on chromium-dev. On Wed, ...
6 years, 7 months ago (2014-05-21 21:41:00 UTC) #10
Devlin
On 2014/05/21 21:41:00, sky wrote: > Generally we don't use namespaces in code under src/chrome. ...
6 years, 7 months ago (2014-05-21 21:50:41 UTC) #11
sky
I like namespaces for things like history and extensions. But it doesn't seem to me ...
6 years, 7 months ago (2014-05-21 22:12:03 UTC) #12
Devlin
On 2014/05/21 22:12:03, sky wrote: > I like namespaces for things like history and extensions. ...
6 years, 7 months ago (2014-05-21 22:20:25 UTC) #13
Finnur
dbeam: Ping.
6 years, 7 months ago (2014-05-22 16:03:59 UTC) #14
Finnur
On 2014/05/22 16:03:59, Finnur wrote: > dbeam: Ping. Monsieur Beam?
6 years, 7 months ago (2014-05-23 13:01:19 UTC) #15
Dan Beam
lgtm
6 years, 7 months ago (2014-05-23 19:14:00 UTC) #16
Finnur
Devlin, mind taking a look at the delta between CLs 5 and 6? I set ...
6 years, 6 months ago (2014-06-05 00:32:09 UTC) #17
Finnur
Devlin, mind taking a look at the delta between CLs 5 and 6? I set ...
6 years, 6 months ago (2014-06-05 00:32:10 UTC) #18
Devlin
https://codereview.chromium.org/288923004/diff/170001/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc File chrome/browser/extensions/extension_message_bubble_controller_unittest.cc (right): https://codereview.chromium.org/288923004/diff/170001/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc#newcode831 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc:831: SetInstallTime(kId1, base::Time::Now(), prefs); Perhaps extensions 1 and 3 should ...
6 years, 6 months ago (2014-06-05 17:16:31 UTC) #19
Finnur
Good points. All addressed.
6 years, 6 months ago (2014-06-05 19:37:01 UTC) #20
Finnur
And now with comments from draft. https://codereview.chromium.org/288923004/diff/170001/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc File chrome/browser/extensions/extension_message_bubble_controller_unittest.cc (right): https://codereview.chromium.org/288923004/diff/170001/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc#newcode831 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc:831: SetInstallTime(kId1, base::Time::Now(), prefs); ...
6 years, 6 months ago (2014-06-05 19:37:28 UTC) #21
Devlin
LGTM. https://codereview.chromium.org/288923004/diff/190001/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc File chrome/browser/extensions/extension_message_bubble_controller_unittest.cc (right): https://codereview.chromium.org/288923004/diff/190001/chrome/browser/extensions/extension_message_bubble_controller_unittest.cc#newcode372 chrome/browser/extensions/extension_message_bubble_controller_unittest.cc:372: id, base::Time::Now(), true, false); nit: please document anonymous ...
6 years, 6 months ago (2014-06-05 19:42:55 UTC) #22
Finnur
6 years, 6 months ago (2014-06-05 20:15:12 UTC) #23
Message was sent while issue was closed.
Committed patchset #9 manually as r275229 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698