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

Issue 1182453003: [Android] Respect margin values for CompositorViewHolder child view. (Closed)

Created:
5 years, 6 months ago by Kibeom Kim (inactive)
Modified:
5 years, 6 months ago
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Android] Respect margin values for CompositorViewHolder child view. This patch itself doesn't have any visible change, but it will enable CompositorViewHolder children to use margin values. BUG=499415 Committed: https://crrev.com/63a6e5637e8ed12ed78399b19fc9de23369fd677 Cr-Commit-Position: refs/heads/master@{#334437}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : Make LayoutManager handle touch offset #

Total comments: 1

Messages

Total messages: 11 (3 generated)
Kibeom Kim (inactive)
Question: Ideally we want to set a background color for mManager.getView() in here https://codereview.chromium.org/1184613002/diff/20001/chrome/android/java_staging/res/layout-sw720dp/eb_main.xml , ...
5 years, 6 months ago (2015-06-12 21:21:44 UTC) #2
Kibeom Kim (inactive)
OK ready for review. Actually I like it and IMHO it's actually more correct.
5 years, 6 months ago (2015-06-12 22:02:56 UTC) #3
Kibeom Kim (inactive)
https://codereview.chromium.org/1182453003/diff/20002/chrome/android/java_staging/src/org/chromium/chrome/browser/compositor/layouts/LayoutManager.java File chrome/android/java_staging/src/org/chromium/chrome/browser/compositor/layouts/LayoutManager.java (right): https://codereview.chromium.org/1182453003/diff/20002/chrome/android/java_staging/src/org/chromium/chrome/browser/compositor/layouts/LayoutManager.java#newcode167 chrome/android/java_staging/src/org/chromium/chrome/browser/compositor/layouts/LayoutManager.java:167: e.offsetLocation(-view.getLeft(), -view.getTop()); Note: this is how ViewGroup deals with ...
5 years, 6 months ago (2015-06-12 22:05:49 UTC) #4
David Trainor- moved to gerrit
lgtm, just make sure we're not double counting any offsets for things like infobars, normal ...
5 years, 6 months ago (2015-06-15 16:48:12 UTC) #5
Kibeom Kim (inactive)
On 2015/06/15 16:48:12, David Trainor wrote: > lgtm, just make sure we're not double counting ...
5 years, 6 months ago (2015-06-15 19:08:52 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1182453003/20002
5 years, 6 months ago (2015-06-15 19:09:32 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:20002)
5 years, 6 months ago (2015-06-15 19:34:48 UTC) #10
commit-bot: I haz the power
5 years, 6 months ago (2015-06-15 19:35:37 UTC) #11
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/63a6e5637e8ed12ed78399b19fc9de23369fd677
Cr-Commit-Position: refs/heads/master@{#334437}

Powered by Google App Engine
This is Rietveld 408576698