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

Issue 1416173006: Start using a themed application context for constructing views in Tab (Closed)

Created:
5 years, 1 month ago by Yusuf
Modified:
5 years, 1 month ago
Reviewers:
Lei Zhang, whywhat, Maria
CC:
chromium-reviews, dgn, Bernhard Bauer
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Start using a themed application context for constructing views in Tab *Changes the inner field for application context to a ContextThemeWrapper wrapped with the corresponding theme for the activity. *Uses the above wrapper inside all the places it can be used including view construction for layouts that belong to the tab BUG=546737 Committed: https://crrev.com/d596824f94df067d3c2da4d8d09bfc758837846c Cr-Commit-Position: refs/heads/master@{#357197}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Print changes #

Patch Set 3 : rebased #

Patch Set 4 : use the API 1 constructor #

Patch Set 5 : Fix ContextualSearchTabHelper to not cast Context to Activity #

Total comments: 2

Patch Set 6 : made mTab final #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -25 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTabHelper.java View 1 2 3 4 5 5 chunks +10 lines, -5 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java View 1 2 3 11 chunks +20 lines, -18 lines 0 comments Download
M printing/android/java/src/org/chromium/printing/PrintManagerDelegateImpl.java View 1 2 chunks +3 lines, -2 lines 0 comments Download

Messages

Total messages: 35 (14 generated)
Yusuf
This is my "Let's see if anything gets broken early on" CL. To be followed ...
5 years, 1 month ago (2015-10-26 20:04:49 UTC) #2
Maria
https://codereview.chromium.org/1416173006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java (right): https://codereview.chromium.org/1416173006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java#newcode882 chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java:882: new PrintManagerDelegateImpl(mThemedApplicationContext)); did you check that print works after ...
5 years, 1 month ago (2015-10-26 20:25:10 UTC) #3
Yusuf
https://codereview.chromium.org/1416173006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java File chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java (right): https://codereview.chromium.org/1416173006/diff/1/chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java#newcode882 chrome/android/java/src/org/chromium/chrome/browser/tab/Tab.java:882: new PrintManagerDelegateImpl(mThemedApplicationContext)); On 2015/10/26 20:25:10, Maria wrote: > did ...
5 years, 1 month ago (2015-10-26 20:41:47 UTC) #4
Yusuf
ping
5 years, 1 month ago (2015-10-28 23:54:07 UTC) #5
Maria
lgtm
5 years, 1 month ago (2015-10-29 01:26:18 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416173006/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416173006/20001
5 years, 1 month ago (2015-10-29 16:28:50 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/87638) ios_rel_device_ninja on tryserver.chromium.mac (JOB_FAILED, ...
5 years, 1 month ago (2015-10-29 16:31:16 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416173006/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416173006/40001
5 years, 1 month ago (2015-10-29 18:20:31 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/113982)
5 years, 1 month ago (2015-10-29 18:30:37 UTC) #15
Yusuf
thestig@ for printing Changing a param in the signature making it explicit to require an ...
5 years, 1 month ago (2015-10-29 18:54:32 UTC) #17
Lei Zhang
On 2015/10/29 18:54:32, Yusuf wrote: > thestig@ for printing > > Changing a param in ...
5 years, 1 month ago (2015-10-29 18:57:02 UTC) #20
whywhat
printing lgtm +Nicolas FYI Yusuf, do you expect to have to update other Chrome features ...
5 years, 1 month ago (2015-10-29 19:03:55 UTC) #21
Yusuf
On 2015/10/29 19:03:55, whywhat wrote: > printing lgtm > > +Nicolas FYI > > Yusuf, ...
5 years, 1 month ago (2015-10-29 21:35:48 UTC) #22
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416173006/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416173006/60001
5 years, 1 month ago (2015-10-29 21:36:38 UTC) #25
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/89004)
5 years, 1 month ago (2015-10-30 00:11:22 UTC) #27
Yusuf
mariakhomenko@ just added a few changes to ContextualSearchTabHelper that removes a cast from Context to ...
5 years, 1 month ago (2015-10-30 17:41:18 UTC) #28
Maria
lgtm https://codereview.chromium.org/1416173006/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTabHelper.java File chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTabHelper.java (right): https://codereview.chromium.org/1416173006/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTabHelper.java#newcode48 chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTabHelper.java:48: private Tab mTab; final?
5 years, 1 month ago (2015-10-30 20:34:06 UTC) #29
Yusuf
https://codereview.chromium.org/1416173006/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTabHelper.java File chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTabHelper.java (right): https://codereview.chromium.org/1416173006/diff/80001/chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTabHelper.java#newcode48 chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchTabHelper.java:48: private Tab mTab; On 2015/10/30 20:34:06, Maria wrote: > ...
5 years, 1 month ago (2015-10-30 20:36:18 UTC) #32
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1416173006/100001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1416173006/100001
5 years, 1 month ago (2015-10-30 20:37:24 UTC) #33
commit-bot: I haz the power
Committed patchset #6 (id:100001)
5 years, 1 month ago (2015-10-30 21:21:55 UTC) #34
commit-bot: I haz the power
5 years, 1 month ago (2015-10-30 21:22:53 UTC) #35
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/d596824f94df067d3c2da4d8d09bfc758837846c
Cr-Commit-Position: refs/heads/master@{#357197}

Powered by Google App Engine
This is Rietveld 408576698