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

Issue 2490313002: Remove fixed positioning of HTML UI elements. (Closed)

Created:
4 years, 1 month ago by cjgrant
Modified:
4 years, 1 month ago
CC:
chromium-reviews, arv+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove fixed positioning of HTML UI elements. This change lets the UI elements float wherever the browser positions them. In summary: - Use css 'float' to position elements; we can refine this as needed. - Add a margin around all elements (gets rid of artifacts where edges of neighbouring elements appear in the scene). - Correct the rounding of element "pixel" boundaries, to avoid (for example) flattened edges on round buttons. - Choose the boundaries based on the extremities of the elements (including border and padding), rather than their inner width/height. Also, fix the new omnibox security icon in non-UI-development builds. BUG=641508 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation Committed: https://crrev.com/5799b40595a08411e54c9a2ee205a524c04568ad Cr-Commit-Position: refs/heads/master@{#432013}

Patch Set 1 #

Patch Set 2 : Fix omnibox icon in non-dev builds. #

Total comments: 3

Patch Set 3 : Remove the debugging red border (which was broken anyway). #

Total comments: 4

Patch Set 4 : Address nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+69 lines, -86 lines) Patch
M chrome/browser/resources/vr_shell/vr_shell_ui.css View 1 2 8 chunks +38 lines, -60 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.html View 1 2 3 1 chunk +17 lines, -13 lines 0 comments Download
M chrome/browser/resources/vr_shell/vr_shell_ui.js View 1 4 chunks +14 lines, -13 lines 0 comments Download

Messages

Total messages: 17 (8 generated)
cjgrant
Guys, I'm still testing and refining small bits of this, but it's 99% ready. Please ...
4 years, 1 month ago (2016-11-10 21:53:38 UTC) #3
mthiesse
lgtm, but my js/css reviews shouldn't count for much ;) https://codereview.chromium.org/2490313002/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.css File chrome/browser/resources/vr_shell/vr_shell_ui.css (right): https://codereview.chromium.org/2490313002/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.css#newcode22 ...
4 years, 1 month ago (2016-11-11 16:01:55 UTC) #5
cjgrant
https://codereview.chromium.org/2490313002/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.css File chrome/browser/resources/vr_shell/vr_shell_ui.css (right): https://codereview.chromium.org/2490313002/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.css#newcode22 chrome/browser/resources/vr_shell/vr_shell_ui.css:22: border: 1px sold red; On 2016/11/11 16:01:55, mthiesse wrote: ...
4 years, 1 month ago (2016-11-11 16:13:14 UTC) #6
cjgrant
https://codereview.chromium.org/2490313002/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.css File chrome/browser/resources/vr_shell/vr_shell_ui.css (right): https://codereview.chromium.org/2490313002/diff/20001/chrome/browser/resources/vr_shell/vr_shell_ui.css#newcode22 chrome/browser/resources/vr_shell/vr_shell_ui.css:22: border: 1px sold red; On 2016/11/11 16:13:14, cjgrant wrote: ...
4 years, 1 month ago (2016-11-11 16:14:28 UTC) #7
bshe
lgtm with nits https://codereview.chromium.org/2490313002/diff/40001/chrome/browser/resources/vr_shell/vr_shell_ui.html File chrome/browser/resources/vr_shell/vr_shell_ui.html (right): https://codereview.chromium.org/2490313002/diff/40001/chrome/browser/resources/vr_shell/vr_shell_ui.html#newcode40 chrome/browser/resources/vr_shell/vr_shell_ui.html:40: src="../../../../ui/webui/resources/images/lock.svg"> looks like you also added ...
4 years, 1 month ago (2016-11-14 16:04:53 UTC) #8
cjgrant
https://codereview.chromium.org/2490313002/diff/40001/chrome/browser/resources/vr_shell/vr_shell_ui.html File chrome/browser/resources/vr_shell/vr_shell_ui.html (right): https://codereview.chromium.org/2490313002/diff/40001/chrome/browser/resources/vr_shell/vr_shell_ui.html#newcode40 chrome/browser/resources/vr_shell/vr_shell_ui.html:40: src="../../../../ui/webui/resources/images/lock.svg"> On 2016/11/14 16:04:53, bshe wrote: > looks like ...
4 years, 1 month ago (2016-11-14 16:58:29 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2490313002/60001
4 years, 1 month ago (2016-11-14 17:24:49 UTC) #13
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-15 00:24:09 UTC) #15
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 00:34:56 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5799b40595a08411e54c9a2ee205a524c04568ad
Cr-Commit-Position: refs/heads/master@{#432013}

Powered by Google App Engine
This is Rietveld 408576698