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

Issue 2542883004: Bottom browser controls position based on window height (Closed)

Created:
4 years ago by mdjones
Modified:
4 years ago
CC:
chromium-reviews, mdjones+watch_chromium.org, donnd+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Bottom browser controls position based on window height This change has the browser controls depend on the window viewport rather than the visible viewport when drawing. This allows for the math to be consistent across layouts that use the controls and fixes the toolbar swipe layout. To facilitate this, the SceneOverlay interface was updated to include the window and visible viewports when updating their respective SceneLayers. BUG=652892 Committed: https://crrev.com/db62741d2a98508eae38f71a1e24672d66eda2f9 Cr-Commit-Position: refs/heads/master@{#437584}

Patch Set 1 #

Patch Set 2 : fix idiocy #

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+49 lines, -35 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanel.java View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/contextualsearch/ContextualSearchPanel.java View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/readermode/ReaderModePanel.java View 2 chunks +3 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/layouts/Layout.java View 1 chunk +1 line, -1 line 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/overlays/SceneOverlay.java View 2 chunks +6 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/overlays/strip/StripLayoutHelperManager.java View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/compositor/scene_layer/ToolbarSceneLayer.java View 6 chunks +13 lines, -15 lines 0 comments Download
M chrome/browser/android/compositor/layer/tab_layer.cc View 1 chunk +4 lines, -1 line 0 comments Download
M chrome/browser/android/compositor/layer/toolbar_layer.h View 1 chunk +3 lines, -2 lines 0 comments Download
M chrome/browser/android/compositor/layer/toolbar_layer.cc View 1 2 chunks +8 lines, -2 lines 0 comments Download
M chrome/browser/android/compositor/scene_layer/toolbar_scene_layer.h View 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/android/compositor/scene_layer/toolbar_scene_layer.cc View 2 chunks +2 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 20 (11 generated)
mdjones
ptal
4 years ago (2016-12-02 18:27:10 UTC) #3
David Trainor- moved to gerrit
lgtm
4 years ago (2016-12-08 23:46:19 UTC) #4
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/2542883004/20001
4 years ago (2016-12-09 01:45:46 UTC) #6
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-simulator/builds/121211) mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years ago (2016-12-09 01:49:16 UTC) #8
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/2542883004/20001
4 years ago (2016-12-09 01:53:34 UTC) #10
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/120008) ios-simulator on master.tryserver.chromium.mac (JOB_FAILED, ...
4 years ago (2016-12-09 01:56:18 UTC) #12
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/2542883004/40001
4 years ago (2016-12-09 17:11:14 UTC) #15
commit-bot: I haz the power
Committed patchset #3 (id:40001)
4 years ago (2016-12-09 17:55:43 UTC) #18
commit-bot: I haz the power
4 years ago (2016-12-12 14:36:09 UTC) #20
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/db62741d2a98508eae38f71a1e24672d66eda2f9
Cr-Commit-Position: refs/heads/master@{#437584}

Powered by Google App Engine
This is Rietveld 408576698