Chrome.pak and locale locations
Posted: Fri Feb 03, 2012 6:17 pm
I am currently implementing some changes to the trunk, implementing the possibility for the user to set the locations for the locale and the chrome.pak files. Wanted to check with you.
I was thinking of adding 2 fields to the _cef_settings_t struct, naming:
>> locale_dir_path
>> resource_dir_path
The chrome.pak is not mentioned since there is an issue on the chromium board with the goal in merging the chrome.pak into the resource.pak.
So the basic idea is to check for the manual settings first and fallback to the default values later, which currently is the lib directory and a hard coded locale dir inside the same.
On another note I wanted to ask if there are any recommended coding guidelines since I have a hard time finding a pattern
I was thinking of adding 2 fields to the _cef_settings_t struct, naming:
>> locale_dir_path
>> resource_dir_path
The chrome.pak is not mentioned since there is an issue on the chromium board with the goal in merging the chrome.pak into the resource.pak.
So the basic idea is to check for the manual settings first and fallback to the default values later, which currently is the lib directory and a hard coded locale dir inside the same.
On another note I wanted to ask if there are any recommended coding guidelines since I have a hard time finding a pattern