summaryrefslogtreecommitdiffstats
path: root/tools/gritsettings
Commit message (Collapse)AuthorAgeFilesLines
* Project Eraser: Kill chrome://memory.asvitkine2016-03-191-3/+0
| | | | | | | | | | | | | This deletes the majority of the code supporting chrome://memory pages. There's still a little bit more of follow-up work to clean up memory_details*.cc files, but those will require some changes to logic and thus is better to do them in a separate CL. BUG=588790,25454 Review URL: https://codereview.chromium.org/1722493002 Cr-Commit-Position: refs/heads/master@{#382198}
* Add ios_share_extension_strings.grd to translation expectations.newt2016-03-141-0/+1
| | | | | | | | | | ios_share_extension_strings.grd needs to be listed in translation_expectations.pyl so that Chrome's translation system knows whether to translate the file. Review URL: https://codereview.chromium.org/1801863002 Cr-Commit-Position: refs/heads/master@{#381041}
* Create localization files for iOS Share Extension.olivierrobin2016-03-111-0/+3
| | | | | | | | Refactor ios_repack_extension_locales.py to reuse it. Review URL: https://codereview.chromium.org/1774623004 Cr-Commit-Position: refs/heads/master@{#380589}
* headless: Add devtools discovery pageskyostil2016-03-021-0/+3
| | | | | | | | | | | | | This page adds a generated discovery page which can be used to pick a tab to inspect using devtools. This is based on the similar page generated by Content Shell. BUG=546953 TEST=headless_shell --remote-debugging-port=9222 # Navigate to localhost:9222 to see the google.com tab. Review URL: https://codereview.chromium.org/1698403004 Cr-Commit-Position: refs/heads/master@{#378759}
* Remove reference to deleted src/cloud_print dirvitalybuka2016-02-201-2/+0
| | | | | | | | BUG=585539 Review URL: https://codereview.chromium.org/1682173005 Cr-Commit-Position: refs/heads/master@{#376607}
* Remove obsolete file ios/chrome/app/strings/ios_locale_settings.grd.sdefresne2016-02-112-5/+1
| | | | | | | | | | | | All the resources in that file are duplicates from componentized resources and not used, so it can safely be removed. TBR=thakis@chromium.org BUG=568486 Review URL: https://codereview.chromium.org/1680803004 Cr-Commit-Position: refs/heads/master@{#375040}
* Componentize Chrome terms of service, Accept-Languages & default encoding.sdefresne2016-02-112-3/+7
| | | | | | | | | | | | | | | | | | In order to share those strings with Chrome on iOS, componentize the strings IDS_TERMS_HTML, IDS_ACCEPT_LANGUAGES, IDS_DEFAULT_ENCODING. Remove usafe of IDS_IOS_ACCEPT_LANGUAGES and IDS_IOS_DEFAULT_ENCODING as they are duplicates of the newly componentized strings (but do not remove them yet as they are still used downstream). Fix the script packing the resources to pack those new generated .pak files for both iOS and other platforms. BUG=568486 Review URL: https://codereview.chromium.org/1679283002 Cr-Commit-Position: refs/heads/master@{#374951}
* Support building ash targets with use_ash=0 and use_aura=1.msw2016-02-101-11/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support building/running ash_unittests and ash_shell_with_content. Change some build |use_ash| checks to |use_aura| (or remove them). Avoid the unspecified ash dependency on chrome resources! Explicitly load new ash_test_*.pak image/string resources instead. (avoids including ash_resources in chrome paks w/use_aura builds) Reserve more resource IDs for ash_strings to avoid overlap. (uses 244 IDs now; reserve 300 instead of 200 to fit existing) Reserve fewer content shell resource IDs, to avoid exceeding 3100. (uses 4 IDs now; reserve 150 instead of 250 to keep current total) https://code.google.com/p/chromium/codesearch#chromium/src/out/Debug/gen/content/shell/grit/shell_resources.h Use base::i18n::GetConfiguredLocale(), in several ash_unittests. (l10n_util::GetApplicationLocale fails IsLocaleAvailable('en-US')) (because it's not loading the chrome locale data anymore) (seems okay to pair with base::i18n::SetICUDefaultLocale) TODO: Fix ash_unittests failures/crahes (repros on ToT w/use_ash). TODO: Fix ash_shell_with_content crash (repros on ToT w/use_ash). TODO: Load ash resources; not 'common' in ash_shell_with_content. TODO: Exclude ash files from message_center crbug.com/585175. TODO: Support ash_test_resources_300_percent.pak, etc.? BUG=584038,585175 TEST=Building ash_unittests and ash_shell_with_content works with use_ash=0 and use_aura=1. R=oshima@chromium.org,dewittj@chromium.org,sky@chromium.org TBR=jam@chromium.org Review URL: https://codereview.chromium.org/1664013002 Cr-Commit-Position: refs/heads/master@{#374547}
* Componentize signin-internals resourcesdroger2016-02-091-57/+54
| | | | | | | | TBR=thakis Review URL: https://codereview.chromium.org/1675203002 Cr-Commit-Position: refs/heads/master@{#374347}
* Update location of android_blimp_strings.grd in translation expectations.newt2016-02-011-1/+1
| | | | | | | | | BUG=583013 TBR=dtrainor@chromium.org Review URL: https://codereview.chromium.org/1657823002 Cr-Commit-Position: refs/heads/master@{#372793}
* Componentize the favicon for chrome://historydroger2016-01-211-9/+9
| | | | | | | | | | | TBR=thakis Committed: https://crrev.com/1f69728f5099df74ada2bf45ae72a2d294aa3cdf Cr-Commit-Position: refs/heads/master@{#368569} Review URL: https://codereview.chromium.org/1566983004 Cr-Commit-Position: refs/heads/master@{#370696}
* Add tools/gritsettings/OWNERSthakis2016-01-141-0/+1
| | | | | | | | BUG=none Review URL: https://codereview.chromium.org/1586853003 Cr-Commit-Position: refs/heads/master@{#369342}
* Revert of Componentize the favicon for chrome://history (patchset #2 ↵jmadill2016-01-111-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | id:120001 of https://codereview.chromium.org/1566983004/ ) Reason for revert: Possibly causing test failures on the Windows GPU FYI Release bots because of a missing resource. https://build.chromium.org/p/chromium.gpu.fyi/builders/Win8%20Release%20%28NVIDIA%29/builds/19266 https://build.chromium.org/p/chromium.gpu.fyi/builders/Win7%20Release%20%28NVIDIA%29/builds/20339 https://build.chromium.org/p/chromium.gpu.fyi/builders/Win7%20Release%20%28ATI%29/builds/16218 Original issue's description: > Componentize the favicon for chrome://history > > TBR=thakis > > Committed: https://crrev.com/1f69728f5099df74ada2bf45ae72a2d294aa3cdf > Cr-Commit-Position: refs/heads/master@{#368569} TBR=sdefresne@chromium.org,droger@chromium.org # Skipping CQ checks because original CL landed less than 1 days ago. NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true Review URL: https://codereview.chromium.org/1571373002 Cr-Commit-Position: refs/heads/master@{#368594}
* Componentize the favicon for chrome://historydroger2016-01-111-9/+9
| | | | | | | | TBR=thakis Review URL: https://codereview.chromium.org/1566983004 Cr-Commit-Position: refs/heads/master@{#368569}
* Unfork omaha resources and strings.sdefresne2016-01-081-1/+2
| | | | | | | | | | | Move omaha (chrome://omaha and upgrade infobar) resources and strings to //ios. BUG=568486 Review URL: https://codereview.chromium.org/1571583004 Cr-Commit-Position: refs/heads/master@{#368349}
* DevTools: remove experimental webrtc-based remote debugging device provider.pfeldman2016-01-051-3/+0
| | | | | | | | | | R=mnaganov TBR=jochen BUG=574279 Review URL: https://codereview.chromium.org/1560583002 Cr-Commit-Position: refs/heads/master@{#367595}
* Add support for non-image binary resources on iOS.sdefresne2015-12-111-0/+3
| | | | | | | | | | | | | Add new //ios/chrome/app/resources/ios_resources.grd file and support for getting the non-image binary resources generated and packed on iOS. Upstream the iOS "Incognito Tabs*" html/css/image resources. BUG=568486 Review URL: https://codereview.chromium.org/1503383005 Cr-Commit-Position: refs/heads/master@{#364701}
* Policy Ui sends correct translations for risk tags.fhorschig2015-12-031-0/+3
| | | | | | | | | | | | Send localized group names to frontend and reuse some strings from the old WebUi. (Prerequisite for CL 1371073003) BUG=134849 Review URL: https://codereview.chromium.org/1395073002 Cr-Commit-Position: refs/heads/master@{#362997}
* Componentize error pages stringsblundell2015-12-031-34/+34
| | | | | | | | | | | As a step toward componentizing the LocalizedError class for clean integration on iOS, this CL componentizes error pages strings. BUG=523362 Review URL: https://codereview.chromium.org/1467193003 Cr-Commit-Position: refs/heads/master@{#362970}
* Gets mustash frames looking like that of ashsky2015-11-191-0/+3
| | | | | | | | | | | | | | This is basically a fork of various portions of ash frame code. I left parts we have no support for yet out, but kept some things that we'll need to support eventually. BUG=548426 TEST=none R=ben@chromium.org Review URL: https://codereview.chromium.org/1459653002 Cr-Commit-Position: refs/heads/master@{#360501}
* Add grit testdata grds to translation_expectations.pyl.newt2015-11-161-0/+6
| | | | | | | | | | | Every grd file must be listed in translation_expectations.pyl or the translation process will complain. BUG=553682, 556675 Review URL: https://codereview.chromium.org/1445213002 Cr-Commit-Position: refs/heads/master@{#359918}
* Move IDR_PRODUCT_LOGO to //componentsdroger2015-10-091-1/+1
| | | | | | | | | | | | The resource is moved to unblock the componentization of version_ui. See https://codereview.chromium.org/1332353003/ for context. TBR=jochen Review URL: https://codereview.chromium.org/1391923002 Cr-Commit-Position: refs/heads/master@{#353302}
* [MD settings] separating branded settings stringsdschuyler2015-10-072-0/+11
| | | | | | | | | | | | | | This CL moves the chromium and google chrome strings to grd files that are excluded from translation. This is similar in concept to CL 1377213003 (which made grd for non-branded strings). TBR=michaelpg BUG=425627 Review URL: https://codereview.chromium.org/1387613002 Cr-Commit-Position: refs/heads/master@{#352940}
* [MD settings] moving settings strings to a separate grd filedschuyler2015-10-012-0/+4
| | | | | | | | BUG=425627 Review URL: https://codereview.chromium.org/1377213003 Cr-Commit-Position: refs/heads/master@{#351888}
* Add support for Android strings to the Blimp clientdtrainor2015-09-241-0/+1
| | | | | | | | | | | - Add an android_blimp_strings.grd for Android UI strings. - Set up the translation chain to automatically translate once we turn on translations. BUG=526219 Review URL: https://codereview.chromium.org/1364033002 Cr-Commit-Position: refs/heads/master@{#350402}
* New file to hold Chrome on iOS "today" extension localizable strings.sdefresne2015-09-232-0/+4
| | | | | | | | | | | | | | | | | | On iOS, application extensions are separate bundle with their own resources, so introduce a new file ios_today_extension_strings.grd to hold the localizable string for the Chrome on iOS "today" extension. Add script and build steps to generate and pack those now localized strings and update tools/gritsettings/resource_ids to reserve 15 ids for them (there are only 15 strings currently). Register the .grd file in tools/gritsettings/translation_expectations.pyl. BUG=534342 Review URL: https://codereview.chromium.org/1359563003 Cr-Commit-Position: refs/heads/master@{#350336}
* Add source column to chrome://policy showing the origins of policies.fhorschig2015-09-211-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are the possible sources for a policy: Cloud - Policy values received from the cloud. Platform - Local configured policies. Enterprise Default - Defaults for policies in enterprise environments on Chrome OS. Can be overridden. Enterprise Override - Policies enforced in enterprise environments on Chrome OS. Can NOT be overridden. The source of a policy is determined when it's first set. For cloud policies, this would be the decoding of the protocol buffers. Platform policies are usually set by loading platform-specific local configurations like entries in the Windows registry. Enterprise defaults are automatically set if the device is active in an enterprise environment. Enterprise override policies are set within the code to enforce specific behaviors (like ash tray visibility). They cannot be overridden. BUG=506123 TBR=jam@chromium.org Committed: https://crrev.com/92e7960f06c2ac2ec0113bb88df3d322f0eb97fe Cr-Commit-Position: refs/heads/master@{#349654} Committed: https://crrev.com/2c4ce2a1988fdde3456e49112eba6c7855ca4528 Cr-Commit-Position: refs/heads/master@{#349749} Review URL: https://codereview.chromium.org/1304843004 Cr-Commit-Position: refs/heads/master@{#349927}
* Revert of Add source column to chrome://policy showing the origins of ↵dgrogan2015-09-181-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | policies. (patchset #18 id:620001 of https://codereview.chromium.org/1304843004/ ) Reason for revert: Fix google chrome compile. http://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Linux%20x64/builds/4220/steps/compile/logs/stdio ../../chrome/browser/ui/startup/startup_browser_creator_browsertest.cc:1235:23:error: too few arguments to function call, expected 6, have 5 NULL); ^ ../../components/policy/core/common/policy_map.h:66:3: note: 'Set' declared here void Set(const std::string& policy, ^ Original issue's description: > Add source column to chrome://policy showing the origins of policies. > > These are the possible sources for a policy: > Cloud - Policy values received from the cloud. > Platform - Local configured policies. > Enterprise Default - Defaults for policies in enterprise environments > on Chrome OS. Can be overridden. > Enterprise Override - Policies enforced in enterprise environments on > Chrome OS. Can NOT be overridden. > > The source of a policy is determined when it's first set. For cloud > policies, this would be the decoding of the protocol buffers. > Platform policies are usually set by loading platform-specific local > configurations like entries in the Windows registry. > Enterprise defaults are automatically set if the device is active in > an enterprise environment. > Enterprise override policies are set within the code to enforce > specific behaviors (like ash tray visibility). They cannot be > overridden. > > BUG=506123 > TBR=jam@chromium.org > > Committed: https://crrev.com/92e7960f06c2ac2ec0113bb88df3d322f0eb97fe > Cr-Commit-Position: refs/heads/master@{#349654} > > Committed: https://crrev.com/2c4ce2a1988fdde3456e49112eba6c7855ca4528 > Cr-Commit-Position: refs/heads/master@{#349749} TBR=tnagel@chromium.org,bartfab@chromium.org,dbeam@chromium.org,jam@chromium.org,fhorschig@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=506123 Review URL: https://codereview.chromium.org/1350913006 Cr-Commit-Position: refs/heads/master@{#349774}
* Add source column to chrome://policy showing the origins of policies.fhorschig2015-09-181-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These are the possible sources for a policy: Cloud - Policy values received from the cloud. Platform - Local configured policies. Enterprise Default - Defaults for policies in enterprise environments on Chrome OS. Can be overridden. Enterprise Override - Policies enforced in enterprise environments on Chrome OS. Can NOT be overridden. The source of a policy is determined when it's first set. For cloud policies, this would be the decoding of the protocol buffers. Platform policies are usually set by loading platform-specific local configurations like entries in the Windows registry. Enterprise defaults are automatically set if the device is active in an enterprise environment. Enterprise override policies are set within the code to enforce specific behaviors (like ash tray visibility). They cannot be overridden. BUG=506123 TBR=jam@chromium.org Committed: https://crrev.com/92e7960f06c2ac2ec0113bb88df3d322f0eb97fe Cr-Commit-Position: refs/heads/master@{#349654} Review URL: https://codereview.chromium.org/1304843004 Cr-Commit-Position: refs/heads/master@{#349749}
* Revert of Add source column to chrome://policy showing the origins of ↵jochen2015-09-181-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | policies. (patchset #15 id:540001 of https://codereview.chromium.org/1304843004/ ) Reason for revert: breaks compilation on iOS Device (ninja) Original issue's description: > Add source column to chrome://policy showing the origins of policies. > > These are the possible sources for a policy: > Cloud - Policy values received from the cloud. > Platform - Local configured policies. > Enterprise Default - Defaults for policies in enterprise environments > on Chrome OS. Can be overridden. > Enterprise Override - Policies enforced in enterprise environments on > Chrome OS. Can NOT be overridden. > > The source of a policy is determined when it's first set. For cloud > policies, this would be the decoding of the protocol buffers. > Platform policies are usually set by loading platform-specific local > configurations like entries in the Windows registry. > Enterprise defaults are automatically set if the device is active in > an enterprise environment. > Enterprise override policies are set within the code to enforce > specific behaviors (like ash tray visibility). They cannot be > overridden. > > BUG=506123 > TBR=jam@chromium.org > > Committed: https://crrev.com/92e7960f06c2ac2ec0113bb88df3d322f0eb97fe > Cr-Commit-Position: refs/heads/master@{#349654} TBR=tnagel@chromium.org,bartfab@chromium.org,dbeam@chromium.org,fhorschig@chromium.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=506123 Review URL: https://codereview.chromium.org/1348903007 Cr-Commit-Position: refs/heads/master@{#349655}
* Add source column to chrome://policy showing the origins of policies.fhorschig2015-09-181-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | These are the possible sources for a policy: Cloud - Policy values received from the cloud. Platform - Local configured policies. Enterprise Default - Defaults for policies in enterprise environments on Chrome OS. Can be overridden. Enterprise Override - Policies enforced in enterprise environments on Chrome OS. Can NOT be overridden. The source of a policy is determined when it's first set. For cloud policies, this would be the decoding of the protocol buffers. Platform policies are usually set by loading platform-specific local configurations like entries in the Windows registry. Enterprise defaults are automatically set if the device is active in an enterprise environment. Enterprise override policies are set within the code to enforce specific behaviors (like ash tray visibility). They cannot be overridden. BUG=506123 TBR=jam@chromium.org Review URL: https://codereview.chromium.org/1304843004 Cr-Commit-Position: refs/heads/master@{#349654}
* Fix translation of IDS_IOS_ACCEPT_LANGUAGES & IDS_IOS_DEFAULT_ENCODING.sdefresne2015-09-172-4/+8
| | | | | | | | | | | | | | | | | | | | | Create a new .grd file for locale settings on iOS and move the two strings there. The file is marked as untranslatable and the strings to use their name as id (to allow creating the translated version manually). Add "manual" translation for those two strings for all the locales supported by Chrome on iOS by re-using the translation from the files chrome/app/resources/locale_settings_${locale}.xtb. Update the repacking scripts chrome/tools/build/repack_locales.py and ios/chrome/tools/build/ios_repack_locales.py (and fix a bug in the chrome/tools/build/repack_locales.py on iOS fixed downstream). BUG=531718 Review URL: https://codereview.chromium.org/1348173005 Cr-Commit-Position: refs/heads/master@{#349463}
* Move sync_internals resources and constants to //components.droger2015-09-171-55/+52
| | | | | | | | | TBR=jochen NOPRESUBMIT=true Review URL: https://codereview.chromium.org/1334173006 Cr-Commit-Position: refs/heads/master@{#349395}
* Move gcm_internals resources and constants to //components.droger2015-09-151-56/+56
| | | | | | | | | | | | | | These are moved in order to be shared on iOS. resource_ids are updated as follows: generated_resources.grd: -100 components_strings.grd : +70 components_chromium_strings.grd: +10 components_resources.grd: +20 Review URL: https://codereview.chromium.org/1339803003 Cr-Commit-Position: refs/heads/master@{#348949}
* Remove translation section from resource_ids.newt2015-09-041-8/+0
| | | | | | | | | | | | resource_ids was previously used by the internal translation process to find all the grd files for translating. This role is now filled by translation_expectations.pyl. BUG=518020 Review URL: https://codereview.chromium.org/1322353002 Cr-Commit-Position: refs/heads/master@{#347507}
* Update translation_expectations.pyl.newt2015-09-031-1/+5
| | | | | | | | | | | Several grd files have been added recently. This updates translation_expectations.pyl to reflect that. BUG=518020 Review URL: https://codereview.chromium.org/1305043005 Cr-Commit-Position: refs/heads/master@{#347247}
* Add translation_expectations file.newt2015-09-031-0/+65
| | | | | | | | | | | | This file specifies which grd files should be translated and into which languages they should be translated. It's used by the internal translation process. BUG=518020 Review URL: https://codereview.chromium.org/1323123002 Cr-Commit-Position: refs/heads/master@{#347078}
* Add support for branded strings into //components/strings.sdefresne2015-09-021-1/+10
| | | | | | | | | | | | | | | Add two new files components_{chromium,google_chrome}_strings.grd into stc/components and their empty .xtb files. Those files will hold branded strings for the components (i.e. strings that reference the product, see http://goo.gl/6614MQ). Update repack steps to also pack those localizations too. BUG=523362 Review URL: https://codereview.chromium.org/1307223005 Cr-Commit-Position: refs/heads/master@{#346891}
* Add support for branded strings to iOS build.sdefresne2015-09-011-1/+10
| | | | | | | | | | | | | | | | | | | | | | Add two new files ios_{chromium,google_chrome}_strings.grd (and the empty .xtb files) to ios/chrome/app/strings for branded strings (i.e. strings that reference the product, see http://goo.gl/6614MQ). Fix ios/chrome/tools/build/ios_repack_locales.py to pack those strings when branding flag is set, and require the flag to be set (except when just listing the output). Pass the -b flag when calling out ios_repack_locales.py script and update tools/gritsettings/resource_ids to give some room for branded iOS strings. Rename ios/chrome/app/strings/ios_strings_resources.grd to ios_strings.grd to be in line with how the other string localization files are named. BUG=475514 Review URL: https://codereview.chromium.org/1310073004 Cr-Commit-Position: refs/heads/master@{#346630}
* Move resources used by app_list into app_list/resourcesbshe2015-08-191-0/+3
| | | | | | | | | TBR=thakis BUG=503224 Review URL: https://codereview.chromium.org/1257223005 Cr-Commit-Position: refs/heads/master@{#344246}
* [Android WebView] Prepare loading error messages for TCmnaganov2015-08-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While trying to hook up new strings from crrev.com/1270793002 into TC, I have realized that some changes need to be made to their definitions. 1. In Chrome, html fragments (grit 'structures') are not used. Instead, they just put into .grd files as regular messages, with markup being isolated inside fake placeholders to avoid the translators messing with it. (and grit also requires non-empty 'example' tags to present for them). Thus, removed 'structure.html' and put its contents into a scary-looking message. 2. .grd files containing messages must not include anything, as only .grd files themselves are copied into the internal tree for processing. Thus, split the messages into a separate .grd file with no includes. 3. From the strings .grd, per-locale .pak files must be produced, and then all those xxx_strings_xx.pak files repacked into a single xx.pak file. As WebView already uses content_strings, changed the script to pack content_strings together with the new strings, and renamed the script accordingly. 4. As I would not like to repeat this process again would we need some native strings on the browser part, and as we share native resources between the browser and the renderer, moved the .grd files out from 'renderer' into a new 'ui' subdir. BUG=515691 Review URL: https://codereview.chromium.org/1273263002 Cr-Commit-Position: refs/heads/master@{#342367}
* [Android WebView] Put error page files into WebView resourcesmnaganov2015-08-051-2/+7
| | | | | | | | | | | | | | | | Historically, the load error pages displayed by WebView were a part of Android framework resources. This change adds them into WebView resources. This way, the pages will be accessible to sandboxed child services, using Chromium's resource sharing mechanisms. Unlike Chrome's error pages, which use WebUI, WebView pages are completely static, as JavaScript can be disabled. BUG=515691 Review URL: https://codereview.chromium.org/1270793002 Cr-Commit-Position: refs/heads/master@{#341951}
* Componentize VersionInfo.sdefresne2015-07-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create a new component version_info that allows to get information about the current version of Chrome running, except for the channel (which has to be provided by the embedder). The method to get the channel is not moved to the component because on Windows it depends on //chrome/installer which would be non-trivial to componentize. Since the method is embedder-specific (though it have no bad dependencies on the other platform) it makes sense to not move it into the component. Fixes VersionInfo API to only expose static method (since the class did not have any state and the API was a mix of "const" and "static" methods) and to delegate the job to version_info component in order to limit the API changes. Mass rename (chrome::)VersionInfo::(Channel|CHANNEL) after the enum was moved to the version_info namespace in the corresponding component using tools/git/mffr.py. Change Channel enumeration to be a "class enum" and add static_cast<int> where needed (as class enum do not implicitly convert to int). BUG=511912 Review URL: https://codereview.chromium.org/1257633002 Cr-Commit-Position: refs/heads/master@{#341085}
* Update Google Input Toolsrsadam2015-07-291-3/+3
| | | | | | | | | | | | | | Updates to 1.0.4.6, as well as: - Updates closure since we use goog.fx which is not present in the older version. - Removes unneeded material design files - Updates GRD file to include new images - Fixes dependency issue. BUG=450050, 470229 Review URL: https://codereview.chromium.org/1257313003 Cr-Commit-Position: refs/heads/master@{#340967}
* Convert i18n_process.css to use * /deep/ instead of ::shadow and add tests.dbeam2015-07-221-1/+5
| | | | | | | | | R=esprehn@chromium.org,thestig@chromium.org BUG=511486 Review URL: https://codereview.chromium.org/1246253002 Cr-Commit-Position: refs/heads/master@{#339814}
* views: Move resources used by views into views_resources.sadrul2015-06-241-0/+3
| | | | | | | | | | | | | | Instead of bunching up all resources used by the default views controls into the common ui_resources pack, move them into views_resources, so that it is possible for a component to depend on views and pull in the necessary resources without building ui_resources with |toolkit_views| flag on. BUG=500004, 503224 TBR=jam@ for content/shell/BUILD.gn and content/browser/webui changes. Review URL: https://codereview.chromium.org/1199143002 Cr-Commit-Position: refs/heads/master@{#335938}
* Replace enhanced bookmarks salient images with faviconstwellington2015-06-241-3/+0
| | | | | | | | | | Use the LargeIconBridge instead of salient images; remove android code for retrieving salient images. Also, remove url from the list view. BUG=499415 Review URL: https://codereview.chromium.org/1202713002 Cr-Commit-Position: refs/heads/master@{#335932}
* athena: Remove dead DEPS and resource_ids entries.sadrul2015-06-231-6/+0
| | | | | | | | | BUG=none TBR=sky@ for chrome/browser/DEPS Review URL: https://codereview.chromium.org/1202953003 Cr-Commit-Position: refs/heads/master@{#335811}
* Removed webui_generator and new OOBE UI placeholder.dzhioev2015-06-191-3/+0
| | | | | | | | | | | As long as new OOBE is not going to be implemented anymore, webui_generator and new OOBE placeholder can be removed. BUG=none Review URL: https://codereview.chromium.org/1181703008 Cr-Commit-Position: refs/heads/master@{#335356}
* Add filetype icon resources for launcher search result.yawano2015-06-081-11/+11
| | | | | | | | | | | | | Previously, Files.app used filetype icons which is prepared to show icons in list/grid view. However, the resolution is not enough for app launcher search result and it is shown as blurry icon in high-dpi devices. This CL adds larger icon size resources for app launcher search result. BUG=490597 TEST=manually tested. Review URL: https://codereview.chromium.org/1163973006 Cr-Commit-Position: refs/heads/master@{#333248}