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

Issue 1221333007: Get rid of ToolbarViewResourceFrameLayout (Closed)

Created:
5 years, 5 months ago by Yusuf
Modified:
4 years, 11 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

Get rid of ToolbarViewResourceFrameLayout This layout wraps around the toolbar in the view hierarchy and the only purpose of it is creating a toolbar specific ResourceAdapter. This change removes it and makes the parent Toolbar layout handle this now. Later a new interface will be introduced for texture capture functionality and pull all related calls out of Toolbar interface. BUG=507327

Patch Set 1 #

Total comments: 2

Patch Set 2 : Set isInitializedForCapture to true by default and updated javadocs #

Patch Set 3 : Got rid of extra findViewById #

Patch Set 4 : Lazily initialize resource adapter #

Patch Set 5 : Start sending ToolbarLayout itself as container #

Messages

Total messages: 25 (12 generated)
Yusuf
Adding both dtrainor@ and tedchoc@ to make sure both are aware this is happening.
5 years, 5 months ago (2015-07-06 17:13:20 UTC) #2
David Trainor- moved to gerrit
lgtm https://codereview.chromium.org/1221333007/diff/1/chrome/android/java/src/org/chromium/chrome/browser/widget/ViewResourceFrameLayout.java File chrome/android/java/src/org/chromium/chrome/browser/widget/ViewResourceFrameLayout.java (right): https://codereview.chromium.org/1221333007/diff/1/chrome/android/java/src/org/chromium/chrome/browser/widget/ViewResourceFrameLayout.java#newcode22 chrome/android/java/src/org/chromium/chrome/browser/widget/ViewResourceFrameLayout.java:22: private boolean mInitializedForCapture; Are we sure we want ...
5 years, 5 months ago (2015-07-06 20:54:37 UTC) #3
Yusuf
https://codereview.chromium.org/1221333007/diff/1/chrome/android/java/src/org/chromium/chrome/browser/widget/ViewResourceFrameLayout.java File chrome/android/java/src/org/chromium/chrome/browser/widget/ViewResourceFrameLayout.java (right): https://codereview.chromium.org/1221333007/diff/1/chrome/android/java/src/org/chromium/chrome/browser/widget/ViewResourceFrameLayout.java#newcode22 chrome/android/java/src/org/chromium/chrome/browser/widget/ViewResourceFrameLayout.java:22: private boolean mInitializedForCapture; On 2015/07/06 20:54:37, David Trainor wrote: ...
5 years, 5 months ago (2015-07-06 20:58:22 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1221333007/20001
5 years, 5 months ago (2015-07-06 23:20:52 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/93738) (exceeded global retry quota)
5 years, 5 months ago (2015-07-06 23:39:49 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1221333007/40001
5 years, 5 months ago (2015-07-07 00:02:50 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/41274)
5 years, 5 months ago (2015-07-07 01:51:35 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1221333007/60001
5 years, 5 months ago (2015-07-16 20:50:29 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/45393)
5 years, 5 months ago (2015-07-16 23:20:37 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1221333007/60001
5 years, 5 months ago (2015-07-17 20:39:16 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_android_rel_ng/builds/45860)
5 years, 5 months ago (2015-07-17 22:33:54 UTC) #23
Yusuf
PTAL again with the new update: Lazy initialization didn't cut it, since we end up ...
5 years, 5 months ago (2015-07-20 19:09:18 UTC) #24
David Trainor- moved to gerrit
5 years, 5 months ago (2015-07-20 21:16:37 UTC) #25
Is this okay on tablets too?  If so, lgtm.

Powered by Google App Engine
This is Rietveld 408576698