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

Issue 6340001: Update page_action and browser_action docs to say that default_icon is optional not required. (Closed)

Created:
9 years, 11 months ago by Tessa MacDuff
Modified:
9 years, 7 months ago
Reviewers:
kathyw
CC:
chromium-reviews, Aaron Boodman, Erik does not do reviews, pam+watch_chromium.org
Visibility:
Public.

Description

Update page_action and browser_action docs to say that default_icon is optional not required. BUG=None TEST=None Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=71976

Patch Set 1 #

Patch Set 2 : simplify comment and also update borwser_action doc #

Patch Set 3 : typo #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -12 lines) Patch
M chrome/common/extensions/docs/browserAction.html View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/pageAction.html View 1 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/static/browserAction.html View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/static/pageAction.html View 1 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Tessa MacDuff
9 years, 11 months ago (2011-01-14 01:53:01 UTC) #1
Tessa MacDuff
I recently noticed that these docs were out of sync with the code and comments ...
9 years, 11 months ago (2011-01-14 01:54:27 UTC) #2
kathyw
Would you really have a browser/page action without an icon? My guess is that default_icon ...
9 years, 11 months ago (2011-01-18 23:04:47 UTC) #3
Tessa MacDuff
I talked to Aaron about this because it seemed strange to me too. He said ...
9 years, 11 months ago (2011-01-19 19:45:01 UTC) #4
kathyw
9 years, 11 months ago (2011-01-19 21:45:16 UTC) #5
Weird... but interesting.

LGTM.

-k-

On Wed, Jan 19, 2011 at 11:44 AM, Tessa MacDuff <tessamac@chromium.org> wrote:
> I talked to Aaron about this because it seemed strange to me too.  He said
> the main reason someone wouldn't use a default_icon is if they want to set
> it dynamically (there can be a flicker if you have a default icon and the
> reset it programatically).  But it's also valid to not have any icon and it
> works sort of like an invisible/transparent icon.  (He said developers were
> actually using transparent icons which was some of the motivation for making
> the property optional.)
>
> On Tue, Jan 18, 2011 at 15:04, <kathyw@chromium.org> wrote:
>>
>> Would you really have a browser/page action without an icon? My guess is
>> that
>> default_icon isn't required, but an icon *is* effectively required (by the
>> UI,
>> if not the code; otherwise, why bother using browser/page action?).
>>
>> If that's the case -- that default_icon isn't required but an icon is --
>> then
>> I'd undo the text changes but keep the comment changes.
>>
>>
>> http://codereview.chromium.org/6340001/
>
>

Powered by Google App Engine
This is Rietveld 408576698