|
|
Chromium Code Reviews|
Created:
3 years, 9 months ago by sammiequon Modified:
3 years, 9 months ago CC:
chromium-reviews, srahim+watch_chromium.org, asvitkine+watch_chromium.org Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionCrOS: Add a flag to allow easy selection of tablet mode.
Adds a flag so users can force certain modes.
https://screenshot.googleplex.com/1Ny5PpP6MA6
TEST=unit_tests --gtest_filter="AboutFlagsHistogramTest.*"
BUG=701135
Review-Url: https://codereview.chromium.org/2749633006
Cr-Commit-Position: refs/heads/master@{#457555}
Committed: https://chromium.googlesource.com/chromium/src/+/d583776463091d93eae768d76389c87dd39e5ca5
Patch Set 1 #
Total comments: 7
Patch Set 2 : Patch set 1 fixes. #Patch Set 3 : Rebased. #Patch Set 4 : Reparent to master. #
Messages
Total messages: 30 (19 generated)
Description was changed from ========== CrOS: Add a flag to allow easy selection of tablet mode. Adds a flag so users can force certain modes. TEST=unit_tests --gtest_filter="AboutFlagsHistogramTest.*" BUG=701135 ========== to ========== CrOS: Add a flag to allow easy selection of tablet mode. Adds a flag so users can force certain modes. https://screenshot.googleplex.com/1Ny5PpP6MA6 TEST=unit_tests --gtest_filter="AboutFlagsHistogramTest.*" BUG=701135 ==========
sammiequon@chromium.org changed reviewers: + zork@chromium.org
On 2017/03/14 00:27:48, sammiequon wrote: > mailto:sammiequon@chromium.org changed reviewers: > + mailto:zork@chromium.org zork@ - Please take a look. Do these strings make sense? Thanks!
lgtm
sammiequon@chromium.org changed reviewers: + isherman@chromium.org
On 2017/03/14 00:54:24, Zachary Kuznia wrote: > lgtm Thanks! isherman@ - Please take a look at histogram.xml. Thanks!
histograms.xml lgtm
srahim@google.com changed reviewers: + srahim@google.com
Added a few clarifications for translation (chrome://flags are localized). https://codereview.chromium.org/2749633006/diff/1/chrome/app/generated_resour... File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2749633006/diff/1/chrome/app/generated_resour... chrome/app/generated_resources.grd:5020: + <message name="IDS_FLAGS_FORCE_TABLET_MODE_TOUCHVIEW" desc="Description of the TouchView mode."> Please add to the message description for translators: "In TouchView mode, the keyboard can flip behind the screen so the Chromebook operates like a tablet computer." https://codereview.chromium.org/2749633006/diff/1/chrome/app/generated_resour... chrome/app/generated_resources.grd:5023: + <message name="IDS_FLAGS_FORCE_TABLET_MODE_CLAMSHELL" desc="Description of the Clamshell mode."> Please add to the message description for translators: "In Clamshell mode, the Chromebook operates like a standard laptop computer, keyboard on bottom, screen on top, with a hinge like a clamshell." https://codereview.chromium.org/2749633006/diff/1/chrome/app/generated_resour... chrome/app/generated_resources.grd:5026: + <message name="IDS_FLAGS_FORCE_TABLET_MODE_AUTO" desc="Description of the default mode."> To the message description, please add a clarification that "Description of the default or 'automatic' mode." so that "Auto" doesn't get translated as "automobile."
https://codereview.chromium.org/2749633006/diff/1/chrome/app/generated_resour... File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2749633006/diff/1/chrome/app/generated_resour... chrome/app/generated_resources.grd:5020: + <message name="IDS_FLAGS_FORCE_TABLET_MODE_TOUCHVIEW" desc="Description of the TouchView mode."> On 2017/03/14 18:54:53, srahim1 wrote: > Please add to the message description for translators: "In TouchView mode, the > keyboard can flip behind the screen so the Chromebook operates like a tablet > computer." Actually, for flags, it's preferred to add translateable="false" to the <message>'s. There is no need to translate flags -- they are intended to be primarily developer-facing, rather than user-facing.
https://codereview.chromium.org/2749633006/diff/1/chrome/app/generated_resour... File chrome/app/generated_resources.grd (right): https://codereview.chromium.org/2749633006/diff/1/chrome/app/generated_resour... chrome/app/generated_resources.grd:5020: + <message name="IDS_FLAGS_FORCE_TABLET_MODE_TOUCHVIEW" desc="Description of the TouchView mode."> On 2017/03/14 21:09:33, Ilya Sherman wrote: > On 2017/03/14 18:54:53, srahim1 wrote: > > Please add to the message description for translators: "In TouchView mode, the > > keyboard can flip behind the screen so the Chromebook operates like a tablet > > computer." > > Actually, for flags, it's preferred to add translateable="false" to the > <message>'s. There is no need to translate flags -- they are intended to be > primarily developer-facing, rather than user-facing. I added translateable="false", though I went ahead with srahim1@'s suggestions to to make things a bit more clearer. https://codereview.chromium.org/2749633006/diff/1/chrome/app/generated_resour... chrome/app/generated_resources.grd:5023: + <message name="IDS_FLAGS_FORCE_TABLET_MODE_CLAMSHELL" desc="Description of the Clamshell mode."> On 2017/03/14 18:54:53, srahim1 wrote: > Please add to the message description for translators: "In Clamshell mode, the > Chromebook operates like a standard laptop computer, keyboard on bottom, screen > on top, with a hinge like a clamshell." Done. https://codereview.chromium.org/2749633006/diff/1/chrome/app/generated_resour... chrome/app/generated_resources.grd:5026: + <message name="IDS_FLAGS_FORCE_TABLET_MODE_AUTO" desc="Description of the default mode."> On 2017/03/14 18:54:53, srahim1 wrote: > To the message description, please add a clarification that "Description of the > default or 'automatic' mode." so that "Auto" doesn't get translated as > "automobile." Done.
The CQ bit was checked by sammiequon@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from isherman@chromium.org, zork@chromium.org Link to the patchset: https://codereview.chromium.org/2749633006/#ps20001 (title: "Patch set 1 fixes.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/bui...) ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator-xco...) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by sammiequon@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds...) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device-xcode-...) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_comp...)
The CQ bit was checked by sammiequon@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by sammiequon@chromium.org
The patchset sent to the CQ was uploaded after l-g-t-m from isherman@chromium.org, zork@chromium.org Link to the patchset: https://codereview.chromium.org/2749633006/#ps60001 (title: "Reparent to master.")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 60001, "attempt_start_ts": 1489698314478370,
"parent_rev": "316bf80fdc4c14a6738b9ead44718a30f8cf4f4d", "commit_rev":
"d583776463091d93eae768d76389c87dd39e5ca5"}
Message was sent while issue was closed.
Description was changed from ========== CrOS: Add a flag to allow easy selection of tablet mode. Adds a flag so users can force certain modes. https://screenshot.googleplex.com/1Ny5PpP6MA6 TEST=unit_tests --gtest_filter="AboutFlagsHistogramTest.*" BUG=701135 ========== to ========== CrOS: Add a flag to allow easy selection of tablet mode. Adds a flag so users can force certain modes. https://screenshot.googleplex.com/1Ny5PpP6MA6 TEST=unit_tests --gtest_filter="AboutFlagsHistogramTest.*" BUG=701135 Review-Url: https://codereview.chromium.org/2749633006 Cr-Commit-Position: refs/heads/master@{#457555} Committed: https://chromium.googlesource.com/chromium/src/+/d583776463091d93eae768d76389... ==========
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as https://chromium.googlesource.com/chromium/src/+/d583776463091d93eae768d76389... |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
