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

Issue 328763003: Added usefull utility methods to Screen and ScreenContext. (Closed)

Created:
6 years, 6 months ago by dzhioev (left Google)
Modified:
6 years, 6 months ago
CC:
chromium-reviews, arv+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org, oshima+watch_chromium.org, nkostylev+watch_chromium.org
Visibility:
Public.

Description

Added usefull utility methods to Screen and ScreenContext. List of changes: * Added ability to annotate HTML elements (see login.Screen.initialize method comment). * Prefix is added to messages sent from JS to C++ (login.Screen.send method). * Added ability to observe changes in specific keys of context (on JS side). * And more. BUG=NONE Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278724

Patch Set 1 #

Total comments: 35

Patch Set 2 : Renamed "button clicked" to "user acted". #

Patch Set 3 : Comments addressed. #

Patch Set 4 : s/is/alias/ #

Patch Set 5 : Comments addressed. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+202 lines, -7 lines) Patch
M chrome/browser/chromeos/login/screens/screen_context.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/chromeos/login/screens/screen_context.cc View 1 chunk +6 lines, -4 lines 0 comments Download
M chrome/browser/resources/chromeos/login/login_common.js View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/resources/chromeos/login/screen_context.js View 1 2 3 4 4 chunks +44 lines, -2 lines 0 comments Download
M chrome/browser/resources/login/screen.js View 1 2 3 4 3 chunks +150 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
dzhioev (left Google)
Hi, PTAL. CL that demonstrates usage of new features http://codereview.chromium.org/326933004
6 years, 6 months ago (2014-06-10 16:07:02 UTC) #1
ygorshenin1
https://codereview.chromium.org/328763003/diff/1/chrome/browser/resources/chromeos/login/screen_context.js File chrome/browser/resources/chromeos/login/screen_context.js (right): https://codereview.chromium.org/328763003/diff/1/chrome/browser/resources/chromeos/login/screen_context.js#newcode23 chrome/browser/resources/chromeos/login/screen_context.js:23: function checkValueIsValid(value, t) { nit: from the function definition ...
6 years, 6 months ago (2014-06-11 10:44:00 UTC) #2
Denis Kuznetsov (DE-MUC)
https://chromiumcodereview.appspot.com/328763003/diff/1/chrome/browser/chromeos/login/screens/screen_context.h File chrome/browser/chromeos/login/screens/screen_context.h (right): https://chromiumcodereview.appspot.com/328763003/diff/1/chrome/browser/chromeos/login/screens/screen_context.h#newcode74 chrome/browser/chromeos/login/screens/screen_context.h:74: // are stored in |keys|. |keys| is optional and ...
6 years, 6 months ago (2014-06-11 14:29:17 UTC) #3
dzhioev (left Google)
https://codereview.chromium.org/328763003/diff/1/chrome/browser/chromeos/login/screens/screen_context.h File chrome/browser/chromeos/login/screens/screen_context.h (right): https://codereview.chromium.org/328763003/diff/1/chrome/browser/chromeos/login/screens/screen_context.h#newcode74 chrome/browser/chromeos/login/screens/screen_context.h:74: // are stored in |keys|. |keys| is optional and ...
6 years, 6 months ago (2014-06-18 14:43:39 UTC) #4
dzhioev (left Google)
On 2014/06/18 14:43:39, dzhioev wrote: > https://codereview.chromium.org/328763003/diff/1/chrome/browser/chromeos/login/screens/screen_context.h > File chrome/browser/chromeos/login/screens/screen_context.h (right): > > https://codereview.chromium.org/328763003/diff/1/chrome/browser/chromeos/login/screens/screen_context.h#newcode74 > ...
6 years, 6 months ago (2014-06-19 17:24:29 UTC) #5
ygorshenin1
lgtm
6 years, 6 months ago (2014-06-19 17:52:21 UTC) #6
Denis Kuznetsov (DE-MUC)
lgtm, but I strongly ask you to reconsider using "observe" name for method. https://chromiumcodereview.appspot.com/328763003/diff/1/chrome/browser/chromeos/login/screens/screen_context.h File ...
6 years, 6 months ago (2014-06-19 19:16:36 UTC) #7
dzhioev (left Google)
https://codereview.chromium.org/328763003/diff/1/chrome/browser/chromeos/login/screens/screen_context.h File chrome/browser/chromeos/login/screens/screen_context.h (right): https://codereview.chromium.org/328763003/diff/1/chrome/browser/chromeos/login/screens/screen_context.h#newcode74 chrome/browser/chromeos/login/screens/screen_context.h:74: // are stored in |keys|. |keys| is optional and ...
6 years, 6 months ago (2014-06-20 07:24:16 UTC) #8
dzhioev (left Google)
The CQ bit was checked by dzhioev@chromium.org
6 years, 6 months ago (2014-06-20 07:24:36 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dzhioev@chromium.org/328763003/80001
6 years, 6 months ago (2014-06-20 07:25:56 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-20 13:00:04 UTC) #11
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 14:03:00 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_gpu_triggered_tests on tryserver.chromium.gpu (http://build.chromium.org/p/tryserver.chromium.gpu/builders/win_gpu_triggered_tests/builds/19863)
6 years, 6 months ago (2014-06-20 14:03:02 UTC) #13
dzhioev (left Google)
The CQ bit was checked by dzhioev@chromium.org
6 years, 6 months ago (2014-06-20 14:03:41 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/dzhioev@chromium.org/328763003/80001
6 years, 6 months ago (2014-06-20 14:04:45 UTC) #15
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_gpu_triggered_tests on tryserver.chromium.gpu ...
6 years, 6 months ago (2014-06-20 14:31:41 UTC) #16
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 16:57:57 UTC) #17
Message was sent while issue was closed.
Change committed as 278724

Powered by Google App Engine
This is Rietveld 408576698