0
Commit Graph

20 Commits

Author SHA1 Message Date
Avi Drissman
dfd8808526 Update copyright headers in testing/, tools/
The methodology used to generate this CL is documented in
https://crbug.com/1098010#c95.

No-Try: true
No-Presubmit: true
Bug: 1098010
Change-Id: I3a8a7b150e7bd64690534727150646081df50439
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3900697
Reviewed-by: Mark Mentovai <mark@chromium.org>
Auto-Submit: Avi Drissman <avi@chromium.org>
Owners-Override: Avi Drissman <avi@chromium.org>
Commit-Queue: Avi Drissman <avi@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1047644}
2022-09-15 20:11:09 +00:00
Alexander Surkov
54ca1f5d4f ax_android: missing ax strings in dependencies makes android crashing
Move ax related strings out of ui_strings into a separate ax_strings
entity. It keeps it small and can be included into webview which is
sensible to binary size.

from d2016ebf21

Skip-Translation-Screenshots-Check: True
Binary-Size: Strings in webview are big, this is offset by the size drop
Bug: 1268348, 1268904
Change-Id: I0e4cb19733ec7889d5a6530fcdfae634da21da1b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3270979
Reviewed-by: Nektarios Paisios <nektar@chromium.org>
Reviewed-by: Camille Lamy <clamy@chromium.org>
Reviewed-by: Evan Stade <estade@chromium.org>
Reviewed-by: John Lee <johntlee@chromium.org>
Reviewed-by: Peter Boström <pbos@chromium.org>
Reviewed-by: Yuchen Liu <yucliu@chromium.org>
Reviewed-by: Sergio Collazos <sczs@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Reviewed-by: Andrew Grieve <agrieve@chromium.org>
Reviewed-by: Richard Coles <torne@chromium.org>
Reviewed-by: Eric Seckler <eseckler@chromium.org>
Commit-Queue: Alexander Surkov <asurkov@igalia.com>
Cr-Commit-Position: refs/heads/main@{#942712}
2021-11-17 18:20:43 +00:00
Mitsuru Oshima
501b6f7e9b Migrate ash_components_strings -> shortcut_viewer_strings
I verified this with clean build.
I'll hland this after branch cut, just in case.

Bug: 1046624

Change-Id: I92e8f45b8556eabb0f4d1d903e1fe2ca702f1101
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2101296
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: Mitsuru Oshima <oshima@chromium.org>
Cr-Commit-Position: refs/heads/master@{#776380}
2020-06-09 03:51:18 +00:00
Mitsuru Oshima
e5af41e610 Move shortcut viewer to ash/
Next step:
* Consolidate string grd file into single shortcut_viewer_strings.grd
* Remove NewWindowDelegate::ShowKeyboardShortcutViewer
  and open it directly.
* Remove KSV_EXPORT

TBR=thakis@chromium.org

Bug: 1046624
Change-Id: I86f8aecea09d67d3f1e5ee6234c5c6792bb87063
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2094760
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: Mitsuru Oshima <oshima@chromium.org>
Cr-Commit-Position: refs/heads/master@{#749363}
2020-03-11 22:17:00 +00:00
Samuel Huang
c4e0d65515 Revert "Move shortcut viewer to ash/"
This reverts commit 4eb9ce3df7.

Reason for revert: Compile error: Moved file (e.g., vector_icons.cc.template) needs to have #include updated as well.

Original change's description:
> Move shortcut viewer to ash/
> 
> Next step:
> * Consolidate string grd file into single shortcut_viewer_strings.grd
> * Remove NewWindowDelegate::ShowKeyboardShortcutViewer
>   and open it directly.
> * Remove KSV_EXPORT
> 
> Bug: 1046624
> 
> Change-Id: I4241bd00d5c27520ac11c09e7264e8c8c9729a84
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2065852
> Commit-Queue: Mitsuru Oshima (OOO) <oshima@chromium.org>
> Reviewed-by: Nico Weber <thakis@chromium.org>
> Reviewed-by: James Cook <jamescook@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#743191}

TBR=jamescook@chromium.org,oshima@chromium.org,thakis@chromium.org,wutao@chromium.org

Change-Id: I1de5281e9e8ff07850b200dc798d27e0b0b340cb
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 1046624
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2067245
Reviewed-by: Samuel Huang <huangs@chromium.org>
Commit-Queue: Samuel Huang <huangs@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743214}
2020-02-20 20:07:38 +00:00
Mitsuru Oshima
4eb9ce3df7 Move shortcut viewer to ash/
Next step:
* Consolidate string grd file into single shortcut_viewer_strings.grd
* Remove NewWindowDelegate::ShowKeyboardShortcutViewer
  and open it directly.
* Remove KSV_EXPORT

Bug: 1046624

Change-Id: I4241bd00d5c27520ac11c09e7264e8c8c9729a84
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2065852
Commit-Queue: Mitsuru Oshima (OOO) <oshima@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#743191}
2020-02-20 19:10:20 +00:00
Lei Zhang
c84fa77dae Delete ash_components_resources.grd.
It's unused.

Change-Id: Ic108d486fac11e5d5ee7615c076d78173a4352d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1835175
Reviewed-by: Evan Stade <estade@chromium.org>
Reviewed-by: Ahmed Fakhry <afakhry@chromium.org>
Reviewed-by: Tao Wu <wutao@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#702478}
2019-10-03 18:01:52 +00:00
Raul Tambre
4cec3657e2 tools: Use Python 3 style print statements [2/9]
Initial conversion performed using '2to3 -f print .'.
Imports added and duplicate parentheses removed manually.
Manually converted files, comments and inline code that 2to3 missed.
Afterwards ran "git cl format --python" and cherry-picked the formatting changes.

Fixed a syntax error in check_grd_for_unused_strings.py due to a missing comma (caught by pylint).

There are no intended behavioural changes.

Bug: 941669
Change-Id: Ie0c67e5e416f386830e95aa2469b18a98b5425a9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1818477
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Auto-Submit: Raul Tambre <raul@tambre.ee>
Cr-Commit-Position: refs/heads/master@{#698787}
2019-09-22 17:30:32 +00:00
Ken Rockot
cebdf9c8bd Introduce services GRD
There is a need to express localizable strings in //services code.
This CL introduces all the bits necessary to define translated resources
in a new //services/services_strings.grd file and moves a single string
(pertaining only to a service defined in //services) from the Chrome GRD
to the services GRD.

This is a precursor to simplifying expression of out-of-process service
registration by allowing service manifests to include a resource ID
directly in their definition.

Bug: 895615, 915806
Change-Id: I76d420266fb5528f407b624838172c267666654b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1615701
Reviewed-by: Nico Weber <thakis@chromium.org>
Commit-Queue: Ken Rockot <rockot@google.com>
Cr-Commit-Position: refs/heads/master@{#663919}
2019-05-28 20:33:03 +00:00
Li Lin
c5838fea62 Show timer notification when timer is firing. Guarded by a feature flag.
Bug: b:110107505
Change-Id: I5113218e1fcbe98c5c05948637baf8542a49f4f9
Reviewed-on: https://chromium-review.googlesource.com/1186091
Reviewed-by: Evan Stade <estade@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Reviewed-by: Xiaohui Chen <xiaohuic@chromium.org>
Commit-Queue: Li Lin <llin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#586901}
2018-08-28 22:52:13 +00:00
Martin Kreichgauer
2d30db4e88 fido/mac: localize Touch ID prompt strings
This adds localization for the reason string fragments used in macOS
Touch ID prompts.

The prompts display a message starting with '"Google Chrome" is trying
to ' (controlled by macOS) followed by the reason fragment (controlled
by us). The user can confirm the prompt by providing their fingerprint,
or click cancel.

Bug: 848317
Change-Id: Ibe67c197554cde0af431516d968479b0f416629e
Reviewed-on: https://chromium-review.googlesource.com/1166171
Commit-Queue: Martin Kreichgauer <martinkr@google.com>
Reviewed-by: Jochen Eisinger <jochen@chromium.org>
Reviewed-by: Jan Wilken Dörrie <jdoerrie@chromium.org>
Reviewed-by: Balazs Engedy <engedy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582637}
2018-08-13 18:02:31 +00:00
Evan Stade
13e8011c81 Reland "cros - Update appearance of resolution change notification."
This is a reland of f57e1c3507
which was reverted due to being blamed for the msan failures which
were fixed by d8f72fd209

Original change's description:
> cros - Update appearance of resolution change notification.
>
> This removes the last raster asset in ash_resources.grd, so remove that
> file and the associated build target.
>
> Bug: 840509,505953
> Change-Id: I43ec69b5b8b9fc34aa71a1b65f204447e73b133c
> Reviewed-on: https://chromium-review.googlesource.com/1050523
> Commit-Queue: Evan Stade <estade@chromium.org>
> Reviewed-by: James Cook <jamescook@chromium.org>
> Reviewed-by: Scott Violet <sky@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#557292}

TBR=jamescook@chromium.org,sky@chromium.org

Bug: 840509, 505953
Change-Id: Iae0b07cbf2e14e307b74e11d07d21290ee72291b
Reviewed-on: https://chromium-review.googlesource.com/1054222
Commit-Queue: Evan Stade <estade@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Reviewed-by: Evan Stade <estade@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557679}
2018-05-10 21:21:01 +00:00
Daniel Murphy
b6370aecaf Revert "cros - Update appearance of resolution change notification."
This reverts commit f57e1c3507.

Reason for revert: There are ash and mash_ash failures, reverting because it's ash-related. See crbug.com/841889


Original change's description:
> cros - Update appearance of resolution change notification.
> 
> This removes the last raster asset in ash_resources.grd, so remove that
> file and the associated build target.
> 
> Bug: 840509,505953
> Change-Id: I43ec69b5b8b9fc34aa71a1b65f204447e73b133c
> Reviewed-on: https://chromium-review.googlesource.com/1050523
> Commit-Queue: Evan Stade <estade@chromium.org>
> Reviewed-by: James Cook <jamescook@chromium.org>
> Reviewed-by: Scott Violet <sky@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#557292}

TBR=jamescook@chromium.org,sky@chromium.org,estade@chromium.org

Change-Id: I4b0ce3e1d01b5b8e390216b379f4158380f542b2
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: 840509, 505953, 841889
Reviewed-on: https://chromium-review.googlesource.com/1054118
Reviewed-by: Daniel Murphy <dmurph@chromium.org>
Commit-Queue: Daniel Murphy <dmurph@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557598}
2018-05-10 18:37:37 +00:00
Evan Stade
f57e1c3507 cros - Update appearance of resolution change notification.
This removes the last raster asset in ash_resources.grd, so remove that
file and the associated build target.

Bug: 840509,505953
Change-Id: I43ec69b5b8b9fc34aa71a1b65f204447e73b133c
Reviewed-on: https://chromium-review.googlesource.com/1050523
Commit-Queue: Evan Stade <estade@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Reviewed-by: Scott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557292}
2018-05-09 20:10:13 +00:00
wutao
cd13722f98 cros: Create strings and resources grd for ash/components
This cl adds template files for strings and resources in ash/components.

Bug: 813914
Test: Tested loading the IDR icon.
Change-Id: Id71d98a949bbda15b54ffc9627f696014ad399e8
Reviewed-on: https://chromium-review.googlesource.com/927453
Reviewed-by: Evan Stade <estade@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Reviewed-by: Mitsuru Oshima <oshima@chromium.org>
Reviewed-by: James Cook <jamescook@chromium.org>
Commit-Queue: Tao Wu <wutao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538226}
2018-02-21 22:00:35 +00:00
Steven Bennetts
528eec57d5 CrOS: Eliminate unused strings from chromeos_strings.grdp
Includes a minor change to check_grd_for_unused_strings.py

Found running the following with the change to
check_grd_for_unused_strings.py:
 ./tools/check_grd_for_unused_strings.py chrome \
    chrome/app/chromeos_strings.grdp

Some of these came from the switch to the new Settings UI and were
missed, some have just been lingering for a very long time.

Bug: 771795, 783396
Change-Id: If6d9ab01f909c69d6375459d314e97ce3633ceaf
Reviewed-on: https://chromium-review.googlesource.com/762383
Reviewed-by: Michael Giuffrida <michaelpg@chromium.org>
Reviewed-by: Devlin <rdevlin.cronin@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Steven Bennetts <stevenjb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#515629}
2017-11-10 19:21:19 +00:00
jamescook
488cf9d4df tools: Fix extensions path in check_grd_for_unused_strings.py
At some point extensions strings moved into extensions/strings.

BUG=none
TEST=runs

Review-Url: https://codereview.chromium.org/2802723005
Cr-Commit-Position: refs/heads/master@{#462586}
2017-04-06 19:39:35 +00:00
pkotwicz
5748e13587 Remove remainder of Athena related code from Chrome.
This CL:
- Removes athena dependencies from build files for the chrome target
- Removes athena-specific files in chrome/

BUG=440818
TEST=None
R=sky,scottmg
TBR=jamescook (for change to comment in extensions/shell/browser/desktop_controller.h)

Review URL: https://codereview.chromium.org/855753004

Cr-Commit-Position: refs/heads/master@{#312282}
2015-01-20 21:53:39 +00:00
pkotwicz
e0b1677312 Add athena_strings.grd with athena specific strings
BUG=416209
TEST=None

Review URL: https://codereview.chromium.org/591803002

Cr-Commit-Position: refs/heads/master@{#296797}
2014-09-25 21:35:16 +00:00
tfarina
c9fc190dc2 Cleanup: Move check_grd_for_unused_strings.py out of chrome/
It isn't specific to chrome, it has a broader usage.

BUG=None
TEST=./tools/check_grd_for_unused_strings.py
R=thestig@chromium.org

Review URL: https://codereview.chromium.org/523523002

Cr-Commit-Position: refs/heads/master@{#292646}
2014-08-29 16:20:30 +00:00