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

Issue 518673003: Add policy indicator for protocol handlers (Closed)

Created:
6 years, 3 months ago by kaliamoorthi
Modified:
6 years, 3 months ago
CC:
chromium-reviews, dbeam+watch-options_chromium.org, arv+watch_chromium.org, Andrew T Wilson (Slow), Dan Beam
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Add policy indicator for protocol handlers This CL adds policy indicators to show that a protocol handler is installed by policy. BUG=384361 Committed: https://crrev.com/0fbe5d023244f05d6c5c1e03eac8576740dac38b Cr-Commit-Position: refs/heads/master@{#292882}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Adds indicator for policy installed protocol handlers #

Total comments: 2

Patch Set 3 : Fixes indicator to show recommendation correctly #

Total comments: 14

Patch Set 4 : Fixes nits #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+66 lines, -13 lines) Patch
M chrome/browser/custom_handlers/protocol_handler_registry.h View 1 2 3 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/custom_handlers/protocol_handler_registry.cc View 1 2 2 chunks +13 lines, -3 lines 0 comments Download
M chrome/browser/resources/options/handler_options_list.js View 1 2 3 1 chunk +40 lines, -10 lines 1 comment Download
M chrome/browser/ui/webui/options/handler_options_handler.cc View 1 2 3 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 22 (4 generated)
kaliamoorthi
kaliamoorthi@chromium.org changed reviewers: + bartfab@chromium.org
6 years, 3 months ago (2014-08-29 11:19:40 UTC) #1
kaliamoorthi
Please do a preliminary review.
6 years, 3 months ago (2014-08-29 11:20:02 UTC) #2
bartfab (slow)
https://codereview.chromium.org/518673003/diff/1/chrome/browser/resources/options/handler_options_list.js File chrome/browser/resources/options/handler_options_list.js (right): https://codereview.chromium.org/518673003/diff/1/chrome/browser/resources/options/handler_options_list.js#newcode169 chrome/browser/resources/options/handler_options_list.js:169: indicator.setAttribute('controlled-by', 'hasRecommendation'); You should send the indicator a fake ...
6 years, 3 months ago (2014-08-29 11:23:00 UTC) #3
kaliamoorthi
kaliamoorthi@chromium.org changed reviewers: + jhawkins@chromium.org
6 years, 3 months ago (2014-08-29 15:07:14 UTC) #4
kaliamoorthi
PTAL
6 years, 3 months ago (2014-08-29 15:07:14 UTC) #5
James Hawkins
lgtm
6 years, 3 months ago (2014-08-29 20:33:28 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaliamoorthi@chromium.org/518673003/20001
6 years, 3 months ago (2014-09-01 08:32:50 UTC) #8
bartfab (slow)
As discussed offline, an indicator should always be shown when there is a policy-recommended value ...
6 years, 3 months ago (2014-09-01 09:38:37 UTC) #10
kaliamoorthi
PTAL
6 years, 3 months ago (2014-09-01 14:26:18 UTC) #11
bartfab (slow)
https://codereview.chromium.org/518673003/diff/60001/chrome/browser/custom_handlers/protocol_handler_registry.h File chrome/browser/custom_handlers/protocol_handler_registry.h (right): https://codereview.chromium.org/518673003/diff/60001/chrome/browser/custom_handlers/protocol_handler_registry.h#newcode205 chrome/browser/custom_handlers/protocol_handler_registry.h:205: // by user. Nit: s/user/the user/ https://codereview.chromium.org/518673003/diff/60001/chrome/browser/custom_handlers/protocol_handler_registry.h#newcode208 chrome/browser/custom_handlers/protocol_handler_registry.h:208: // ...
6 years, 3 months ago (2014-09-01 14:56:44 UTC) #12
kaliamoorthi
PTAL https://codereview.chromium.org/518673003/diff/60001/chrome/browser/custom_handlers/protocol_handler_registry.h File chrome/browser/custom_handlers/protocol_handler_registry.h (right): https://codereview.chromium.org/518673003/diff/60001/chrome/browser/custom_handlers/protocol_handler_registry.h#newcode205 chrome/browser/custom_handlers/protocol_handler_registry.h:205: // by user. On 2014/09/01 14:56:43, bartfab wrote: ...
6 years, 3 months ago (2014-09-01 15:11:58 UTC) #13
kaliamoorthi
PTAL
6 years, 3 months ago (2014-09-01 15:16:45 UTC) #14
bartfab (slow)
lgtm
6 years, 3 months ago (2014-09-01 15:54:31 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaliamoorthi@chromium.org/518673003/100001
6 years, 3 months ago (2014-09-01 15:57:08 UTC) #17
commit-bot: I haz the power
Committed patchset #4 (id:100001) as 84719860e050bc1f2784daefced432aa8932a24e
6 years, 3 months ago (2014-09-01 16:55:03 UTC) #18
commit-bot: I haz the power
Patchset 4 (id:??) landed as https://crrev.com/0fbe5d023244f05d6c5c1e03eac8576740dac38b Cr-Commit-Position: refs/heads/master@{#292882}
6 years, 3 months ago (2014-09-10 03:17:10 UTC) #19
Vitaly Pavlenko
https://codereview.chromium.org/518673003/diff/100001/chrome/browser/resources/options/handler_options_list.js File chrome/browser/resources/options/handler_options_list.js (right): https://codereview.chromium.org/518673003/diff/100001/chrome/browser/resources/options/handler_options_list.js#newcode172 chrome/browser/resources/options/handler_options_list.js:172: delegate.removeHandler(value, data.handlers[i]); I'm compiling this source with Closure Compiler. ...
6 years, 3 months ago (2014-09-12 02:08:16 UTC) #21
kaliamoorthi
6 years, 3 months ago (2014-09-12 08:08:49 UTC) #22
Message was sent while issue was closed.
On 2014/09/12 02:08:16, Vitaly Pavlenko wrote:
>
https://codereview.chromium.org/518673003/diff/100001/chrome/browser/resource...
> File chrome/browser/resources/options/handler_options_list.js (right):
> 
>
https://codereview.chromium.org/518673003/diff/100001/chrome/browser/resource...
> chrome/browser/resources/options/handler_options_list.js:172:
> delegate.removeHandler(value, data.handlers[i]);
> I'm compiling this source with Closure Compiler. Looks like at this point
> |value| is not defined. Did you mean |index| or missed the |value|
declaration?

Yeah, we missed it, value is undefined here. It can be |i|.

Powered by Google App Engine
This is Rietveld 408576698