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

Issue 339613003: Remove the blue tool-bar for apps v2. (Closed)

Created:
6 years, 5 months ago by Jamie
Modified:
6 years, 5 months ago
Reviewers:
garykac, kelvinp
CC:
chromium-reviews, chromoting-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

Remove the blue tool-bar for apps v2. Its visual style is not really in keeping with the rest of the v2 app, and the form-factor is not conducive to an easily extensible UI. For now, a menu will suffice; if we need anything more complex, it can easily be replaced with an options dialog. This CL also simplifies the MenuButton class to use stopPropagation instead of timers to prevent the close handler being triggered by the same click that opens the menu. BUG=134213 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285136

Patch Set 1 #

Patch Set 2 : Work-in-progress. #

Patch Set 3 : Remove tool-bar for apps v2. #

Patch Set 4 : Use classes for help and feedback elements. #

Total comments: 3

Patch Set 5 : Added menu-opened class. #

Patch Set 6 : Added New Connection to options menu. #

Total comments: 4

Patch Set 7 : Made unit-tests side-effect-free. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+196 lines, -73 lines) Patch
M remoting/remoting_webapp_files.gypi View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
A remoting/resources/icon_options.webp View Binary file 0 comments Download
M remoting/resources/remoting_strings.grd View 2 chunks +5 lines, -2 lines 0 comments Download
M remoting/webapp/client_session.js View 1 2 2 chunks +6 lines, -4 lines 0 comments Download
M remoting/webapp/clipboard.js View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M remoting/webapp/feedback.js View 1 2 3 2 chunks +12 lines, -12 lines 0 comments Download
M remoting/webapp/html/toolbar.html View 1 2 3 2 chunks +3 lines, -3 lines 0 comments Download
M remoting/webapp/html/ui_header.html View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download
M remoting/webapp/html/window_frame.html View 1 2 3 4 5 1 chunk +25 lines, -0 lines 0 comments Download
M remoting/webapp/menu_button.css View 1 2 3 4 2 chunks +3 lines, -1 line 0 comments Download
M remoting/webapp/menu_button.js View 1 2 3 4 4 chunks +16 lines, -5 lines 0 comments Download
M remoting/webapp/options_menu.js View 1 2 3 4 5 3 chunks +19 lines, -6 lines 0 comments Download
M remoting/webapp/remoting.js View 1 2 3 1 chunk +10 lines, -8 lines 0 comments Download
M remoting/webapp/toolbar.js View 1 2 3 4 5 1 chunk +1 line, -8 lines 0 comments Download
M remoting/webapp/unittests/menu_button_unittest.js View 1 2 3 4 5 6 3 chunks +14 lines, -6 lines 0 comments Download
M remoting/webapp/window_frame.css View 1 2 3 4 5 chunks +14 lines, -6 lines 0 comments Download
M remoting/webapp/window_frame.js View 1 2 3 4 5 7 chunks +64 lines, -9 lines 0 comments Download

Messages

Total messages: 12 (0 generated)
Jamie
ptal https://codereview.chromium.org/339613003/diff/60001/remoting/resources/remoting_strings.grd File remoting/resources/remoting_strings.grd (right): https://codereview.chromium.org/339613003/diff/60001/remoting/resources/remoting_strings.grd#newcode720 remoting/resources/remoting_strings.grd:720: Send Ctrl-Alt-Del The window frame has these strings ...
6 years, 5 months ago (2014-07-17 17:04:03 UTC) #1
kelvinp
Would it be a good opportunity to add some unit test for MenuButton.js?
6 years, 5 months ago (2014-07-17 21:59:51 UTC) #2
Jamie
On 2014/07/17 21:59:51, kelvinp wrote: > Would it be a good opportunity to add some ...
6 years, 5 months ago (2014-07-17 22:24:47 UTC) #3
kelvinp
lgtm
6 years, 5 months ago (2014-07-18 18:27:35 UTC) #4
garykac
lgtm
6 years, 5 months ago (2014-07-22 22:41:45 UTC) #5
Jamie
PTAL, as quite a lot has changed since the last review. Specifically: * Most of ...
6 years, 5 months ago (2014-07-23 16:57:00 UTC) #6
kelvinp
LGTM once my comments are addressed https://codereview.chromium.org/339613003/diff/100001/remoting/webapp/unittests/menu_button_unittest.js File remoting/webapp/unittests/menu_button_unittest.js (right): https://codereview.chromium.org/339613003/diff/100001/remoting/webapp/unittests/menu_button_unittest.js#newcode11 remoting/webapp/unittests/menu_button_unittest.js:11: var onHide = ...
6 years, 5 months ago (2014-07-23 18:49:08 UTC) #7
Jamie
FYI https://codereview.chromium.org/339613003/diff/100001/remoting/webapp/unittests/menu_button_unittest.js File remoting/webapp/unittests/menu_button_unittest.js (right): https://codereview.chromium.org/339613003/diff/100001/remoting/webapp/unittests/menu_button_unittest.js#newcode11 remoting/webapp/unittests/menu_button_unittest.js:11: var onHide = sinon.spy(); On 2014/07/23 18:49:08, kelvinp ...
6 years, 5 months ago (2014-07-23 20:00:38 UTC) #8
Jamie
The CQ bit was checked by jamiewalch@chromium.org
6 years, 5 months ago (2014-07-23 20:00:43 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/339613003/120001
6 years, 5 months ago (2014-07-23 20:05:06 UTC) #10
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_chromium_rel on tryserver.chromium ...
6 years, 5 months ago (2014-07-24 01:08:41 UTC) #11
commit-bot: I haz the power
6 years, 5 months ago (2014-07-24 03:05:24 UTC) #12
Message was sent while issue was closed.
Change committed as 285136

Powered by Google App Engine
This is Rietveld 408576698