Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1226)

Issue 1149293002: Add the ability for keys to be drawn as an image. (Closed)

Created:
5 years, 7 months ago by APW
Modified:
5 years, 6 months ago
Reviewers:
viettrungluu, qsr
CC:
mojo-reviews_chromium.org, qsr+mojo_chromium.org, yzshen+watch_chromium.org
Base URL:
https://github.com/domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Add the ability for keys to be drawn as an image. Some keys are now drawn as images instead of as text. R=viettrungluu@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/5177863dec6169319299a895126e04a3598d87e3

Patch Set 1 #

Total comments: 1

Patch Set 2 : Download images instead of embed them. #

Patch Set 3 : Switch back to embedding with files downloading via gclient sync #

Total comments: 6

Patch Set 4 : Fix .gitignore and other issues #

Total comments: 20

Patch Set 5 : Addressed nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+163 lines, -52 lines) Patch
M .gitignore View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M DEPS View 1 2 3 4 1 chunk +11 lines, -0 lines 0 comments Download
M services/keyboard_native/BUILD.gn View 1 2 3 4 3 chunks +30 lines, -0 lines 0 comments Download
M services/keyboard_native/key_layout.h View 1 2 3 4 4 chunks +11 lines, -22 lines 0 comments Download
M services/keyboard_native/key_layout.cc View 1 2 3 4 8 chunks +103 lines, -30 lines 0 comments Download
A services/keyboard_native/res/ArrowDown.png.sha1 View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A services/keyboard_native/res/ArrowUp.png.sha1 View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A services/keyboard_native/res/Delete.png.sha1 View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A services/keyboard_native/res/Emoticon.png.sha1 View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M services/keyboard_native/view_observer_delegate.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (2 generated)
APW
5 years, 7 months ago (2015-05-21 21:29:47 UTC) #1
jamesr
How big are the pngs?
5 years, 7 months ago (2015-05-21 23:39:29 UTC) #2
APW
On 2015/05/21 23:39:29, jamesr wrote: > How big are the pngs? 64x64 pixels and anywhere ...
5 years, 7 months ago (2015-05-21 23:51:29 UTC) #3
jamesr
Hmm pretty small, but git is pretty terrible at dealing with binary assets and I ...
5 years, 7 months ago (2015-05-22 00:00:24 UTC) #4
qsr
https://codereview.chromium.org/1149293002/diff/1/services/keyboard_native/BUILD.gn File services/keyboard_native/BUILD.gn (right): https://codereview.chromium.org/1149293002/diff/1/services/keyboard_native/BUILD.gn#newcode8 services/keyboard_native/BUILD.gn:8: embed_file("action_icon") { maybe we need to expand this to ...
5 years, 7 months ago (2015-05-22 15:13:39 UTC) #6
APW
Updated to download images rather than embed them. PTAL
5 years, 7 months ago (2015-05-26 22:04:05 UTC) #7
jamesr
Sorry, I meant download the assets at sync time but still bake them into the ...
5 years, 7 months ago (2015-05-27 00:17:04 UTC) #8
APW
Okay went back to embedding. PTAL
5 years, 7 months ago (2015-05-27 20:25:55 UTC) #9
jamesr
https://codereview.chromium.org/1149293002/diff/40001/.gitignore File .gitignore (right): https://codereview.chromium.org/1149293002/diff/40001/.gitignore#newcode72 .gitignore:72: /services/keyboard_native/res/* if they are all .png files you can ...
5 years, 7 months ago (2015-05-27 23:30:31 UTC) #10
APW
Addressed comments. PTAL https://codereview.chromium.org/1149293002/diff/40001/.gitignore File .gitignore (right): https://codereview.chromium.org/1149293002/diff/40001/.gitignore#newcode72 .gitignore:72: /services/keyboard_native/res/* On 2015/05/27 23:30:31, jamesr wrote: ...
5 years, 6 months ago (2015-05-28 17:54:25 UTC) #11
APW
Addressed comments. PTAL
5 years, 6 months ago (2015-05-28 17:54:29 UTC) #12
APW
5 years, 6 months ago (2015-06-01 23:12:20 UTC) #13
APW
PTAL
5 years, 6 months ago (2015-06-02 21:43:46 UTC) #15
viettrungluu
LGTM w/a collection of nits (and a few other optional suggestions) https://codereview.chromium.org/1149293002/diff/60001/.gitignore File .gitignore (right): ...
5 years, 6 months ago (2015-06-02 22:29:36 UTC) #16
APW
https://codereview.chromium.org/1149293002/diff/60001/.gitignore File .gitignore (right): https://codereview.chromium.org/1149293002/diff/60001/.gitignore#newcode81 .gitignore:81: On 2015/06/02 22:29:35, viettrungluu wrote: > nit: please don't ...
5 years, 6 months ago (2015-06-02 23:16:55 UTC) #17
APW
5 years, 6 months ago (2015-06-02 23:17:37 UTC) #18
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
5177863dec6169319299a895126e04a3598d87e3 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698