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

Issue 265393005: Implement apps v2 custom window frame. (Closed)

Created:
6 years, 7 months ago by Jamie
Modified:
6 years, 7 months ago
CC:
chromium-reviews, dcheng, chromoting-reviews_chromium.org
Visibility:
Public.

Description

Implement apps v2 custom window frame. The default apps v2 container is pretty basic. We want to provide something that looks prettier and also implements some functionality specific to our use-case: * When connected to a host, a disconnect icon is added to the window controls (it's therefore no longer needed in the tool-bar). * When connected to a host, maximize == full-screen. * In full-screen mode, the window controls are still accessible, but are auto-hidden near the top-left corner (but not obscuring it, since it's often a hot-spot on the server). * For touch-screen devices with no concept of hover, clicking the "stub" will also reveal the controls. There should be no change to the v1 UX, but I don't plan on landing this CL before the M36 branch point, just in case. BUG=134213 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=270342

Patch Set 1 #

Patch Set 2 : Removed file added accidentally. #

Total comments: 38

Patch Set 3 : Reviewer feedback. #

Patch Set 4 : Remove unnecessary getElementById and work-around AppWindow.restore bug. #

Total comments: 2

Patch Set 5 : Added RTL support and fixed border and drop-shadow CSS. #

Patch Set 6 : Improve disconnect icon. #

Patch Set 7 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+533 lines, -81 lines) Patch
M remoting/remoting.gyp View 1 2 3 4 5 6 1 chunk +1 line, -0 lines 0 comments Download
M remoting/remoting_webapp_files.gypi View 1 2 3 4 5 6 4 chunks +8 lines, -0 lines 0 comments Download
A remoting/resources/drag.webp View Binary file 0 comments Download
A remoting/resources/icon_close.webp View Binary file 0 comments Download
A remoting/resources/icon_disconnect.webp View 1 2 3 4 5 Binary file 0 comments Download
A remoting/resources/icon_maximize_restore.webp View Binary file 0 comments Download
A remoting/resources/icon_minimize.webp View Binary file 0 comments Download
M remoting/resources/remoting_strings.grd View 1 2 3 4 5 6 1 chunk +16 lines, -1 line 0 comments Download
M remoting/webapp/background.js View 1 chunk +2 lines, -1 line 0 comments Download
M remoting/webapp/client_session.js View 1 2 3 4 5 6 11 chunks +56 lines, -30 lines 0 comments Download
M remoting/webapp/event_handlers.js View 1 chunk +6 lines, -0 lines 0 comments Download
M remoting/webapp/fullscreen_v2.js View 2 chunks +2 lines, -0 lines 0 comments Download
M remoting/webapp/html/template_main.html View 1 2 3 chunks +49 lines, -43 lines 0 comments Download
M remoting/webapp/html/toolbar.html View 2 chunks +8 lines, -4 lines 0 comments Download
A remoting/webapp/html/window_frame.html View 1 2 1 chunk +29 lines, -0 lines 0 comments Download
M remoting/webapp/js_proto/chrome_proto.js View 1 chunk +1 line, -0 lines 0 comments Download
M remoting/webapp/main.css View 1 2 3 4 5 6 3 chunks +3 lines, -1 line 0 comments Download
M remoting/webapp/remoting.js View 1 2 3 4 5 6 1 chunk +2 lines, -0 lines 0 comments Download
M remoting/webapp/toolbar.css View 1 chunk +1 line, -1 line 0 comments Download
A remoting/webapp/window_frame.css View 1 2 3 4 1 chunk +174 lines, -0 lines 0 comments Download
A remoting/webapp/window_frame.js View 1 2 3 1 chunk +175 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (0 generated)
Jamie
https://codereview.chromium.org/265393005/diff/20001/remoting/webapp/html/title_bar.html File remoting/webapp/html/title_bar.html (right): https://codereview.chromium.org/265393005/diff/20001/remoting/webapp/html/title_bar.html#newcode7 remoting/webapp/html/title_bar.html:7: <span id="window-title" class="window-title">&nbsp;</span> I don't like the use of ...
6 years, 7 months ago (2014-05-05 22:37:15 UTC) #1
kelvinp
https://codereview.chromium.org/265393005/diff/20001/remoting/resources/remoting_strings.grd File remoting/resources/remoting_strings.grd (right): https://codereview.chromium.org/265393005/diff/20001/remoting/resources/remoting_strings.grd#newcode491 remoting/resources/remoting_strings.grd:491: <message desc="Tool-top for the window's close icon." name="IDS_CLOSE_WINDOW"> s/top/tip ...
6 years, 7 months ago (2014-05-06 04:42:15 UTC) #2
Sergey Ulanov
https://codereview.chromium.org/265393005/diff/20001/remoting/resources/remoting_strings.grd File remoting/resources/remoting_strings.grd (right): https://codereview.chromium.org/265393005/diff/20001/remoting/resources/remoting_strings.grd#newcode713 remoting/resources/remoting_strings.grd:713: <message desc="Tool-tip for the window's restore icon." name="IDS_RESTORE_WINDOW"> Some ...
6 years, 7 months ago (2014-05-06 07:58:14 UTC) #3
Jamie
https://codereview.chromium.org/265393005/diff/20001/remoting/resources/remoting_strings.grd File remoting/resources/remoting_strings.grd (right): https://codereview.chromium.org/265393005/diff/20001/remoting/resources/remoting_strings.grd#newcode491 remoting/resources/remoting_strings.grd:491: <message desc="Tool-top for the window's close icon." name="IDS_CLOSE_WINDOW"> On ...
6 years, 7 months ago (2014-05-06 21:11:07 UTC) #4
Jamie
ptal
6 years, 7 months ago (2014-05-06 21:11:16 UTC) #5
kelvinp
lgtm
6 years, 7 months ago (2014-05-06 21:42:55 UTC) #6
Sergey Ulanov
lgtm
6 years, 7 months ago (2014-05-06 22:39:27 UTC) #7
Jamie
A couple more changes: Patchset 4 is an ugly hack to work around what appears ...
6 years, 7 months ago (2014-05-07 01:23:13 UTC) #8
kelvinp
lgtm Thx for doing the RTL support. Looks good. Just one minor comment. https://codereview.chromium.org/265393005/diff/60001/remoting/webapp/window_frame.js File ...
6 years, 7 months ago (2014-05-07 18:44:11 UTC) #9
kelvinp
lgtm Thx for doing the RTL support. Looks good. Just one minor comment.
6 years, 7 months ago (2014-05-07 18:44:14 UTC) #10
Jamie
fyi https://codereview.chromium.org/265393005/diff/60001/remoting/webapp/window_frame.js File remoting/webapp/window_frame.js (right): https://codereview.chromium.org/265393005/diff/60001/remoting/webapp/window_frame.js#newcode109 remoting/webapp/window_frame.js:109: // When the user disconnects, exit full-screen mode. ...
6 years, 7 months ago (2014-05-07 19:31:15 UTC) #11
Jamie
The CQ bit was checked by jamiewalch@chromium.org
6 years, 7 months ago (2014-05-14 00:00:50 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/265393005/100001
6 years, 7 months ago (2014-05-14 00:03:18 UTC) #13
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 00:33:14 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-14 00:39:25 UTC) #15
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_rel on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_chromium_gn_compile_rel/builds/4040) android_dbg on tryserver.chromium (http://build.chromium.org/p/tryserver.chromium/builders/android_dbg/builds/183694) chromium_presubmit ...
6 years, 7 months ago (2014-05-14 00:39:25 UTC) #16
Jamie
The CQ bit was checked by jamiewalch@chromium.org
6 years, 7 months ago (2014-05-14 00:44:17 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jamiewalch@chromium.org/265393005/120001
6 years, 7 months ago (2014-05-14 00:44:46 UTC) #18
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). Please consider checking whether the failures are ...
6 years, 7 months ago (2014-05-14 04:19:01 UTC) #19
commit-bot: I haz the power
6 years, 7 months ago (2014-05-14 06:10:18 UTC) #20
Message was sent while issue was closed.
Change committed as 270342

Powered by Google App Engine
This is Rietveld 408576698