Re: [chromium-dev] Setting global preferences/settings in code

2009-12-19 Thread Peter Kasting
On Sat, Dec 19, 2009 at 12:59 AM, PhistucK  wrote:

> Though, I think, currently, there is no way to inject bookmarks.
>

I believe there is, or will be, because I believe we've had this request
before.

PK

-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev

Re: [chromium-dev] Setting global preferences/settings in code

2009-12-19 Thread PhistucK
Take a look at this file -
http://src.chromium.org/svn/trunk/src/chrome/installer/util/master_preferences.h

As
far as I understand, if you put in the output directory a file named
"master_preferences" and put the data it needs (an example is in the
aforementioned file), it will act accordingly while compiling.

Though, I think, currently, there is no way to inject bookmarks.

☆PhistucK


On Sat, Dec 19, 2009 at 07:31, bgmerrell  wrote:

> Ahoy,
>
> I am planning on maintaining chromium for a specific Linux distro, and
> I am wondering if there is currently a mechanism for setting global
> preferences.  Specifically, I would like to set the default homepage
> and default bookmarks for all users on the system.  I am sure there
> are other maintainers and customers who have different needs.  Firefox
> (as an example) has a preferences system[1] that makes setting any
> preference (from about:config) fairly easy.  There is a bug to add
> something similar[2], but its marked as WontFix, so maybe Chromium has
> a system for doing something similar?  If not, is there something in
> the works?  I would be interested in getting involved.
>
> I did some searching and it looks like there has been some talk about
> a configuration and preferences APIs, but I don't know what
> information is up-to-date and relevant.  I'm just getting involved
> with Chromium, so sorry for the naive question, especially if there is
> already information about this somewhere.
>
> [1] https://developer.mozilla.org/En/A_Brief_Guide_to_Mozilla_Preferences
> [2] http://code.google.com/p/chromium/issues/detail?id=16362
>
> --
> Chromium Developers mailing list: chromium-dev@googlegroups.com
> View archives, change email options, or unsubscribe:
>http://groups.google.com/group/chromium-dev

-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev

Re: [chromium-dev] Setting global preferences/settings in code

2009-12-18 Thread Peter Kasting
We have at least some capabilities here since our installer can set some of
these values.  I'm not sure what all the capabilities are.

Make sure you don't get confused by discussions about about:config and
similar.  Generally those are about either "add more prefs" or "add a way to
get at more prefs" (usually both), whereas your request is "some way to set
the defaults for prefs that already exist".  We generally ignore requests
for the former but the latter (what you want) seems reasonable to me.

CCing someone likely to know about this stuff.

PK

-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev

[chromium-dev] Setting global preferences/settings in code

2009-12-18 Thread bgmerrell
Ahoy,

I am planning on maintaining chromium for a specific Linux distro, and
I am wondering if there is currently a mechanism for setting global
preferences.  Specifically, I would like to set the default homepage
and default bookmarks for all users on the system.  I am sure there
are other maintainers and customers who have different needs.  Firefox
(as an example) has a preferences system[1] that makes setting any
preference (from about:config) fairly easy.  There is a bug to add
something similar[2], but its marked as WontFix, so maybe Chromium has
a system for doing something similar?  If not, is there something in
the works?  I would be interested in getting involved.

I did some searching and it looks like there has been some talk about
a configuration and preferences APIs, but I don't know what
information is up-to-date and relevant.  I'm just getting involved
with Chromium, so sorry for the naive question, especially if there is
already information about this somewhere.

[1] https://developer.mozilla.org/En/A_Brief_Guide_to_Mozilla_Preferences
[2] http://code.google.com/p/chromium/issues/detail?id=16362

-- 
Chromium Developers mailing list: chromium-dev@googlegroups.com 
View archives, change email options, or unsubscribe: 
http://groups.google.com/group/chromium-dev