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

Issue 11098008: Adding a WindowAndroidHelper class. (Closed)

Created:
8 years, 2 months ago by aurimas (slooooooooow)
Modified:
8 years, 2 months ago
CC:
chromium-reviews, Avi (use Gerrit), creis+watch_chromium.org, ajwong+watch_chromium.org, David Trainor- moved to gerrit
Visibility:
Public.

Description

Adding a WindowAndroidHelper class. Adding a WindowAndroidHelper class that will be used to access application context and activity for text autofill. BUG=138235 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=161263

Patch Set 1 #

Total comments: 18

Patch Set 2 : Moving from tab_contents to tab_android #

Total comments: 4

Patch Set 3 : Changing initTabHelpers to static #

Patch Set 4 : nilesh's nits #

Total comments: 3

Patch Set 5 : Ted's nit #

Total comments: 2

Patch Set 6 : Yaron's nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -9 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/TabBase.java View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/android/tab_android.h View 1 2 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/android/tab_android.cc View 1 1 chunk +10 lines, -3 lines 0 comments Download
M chrome/browser/android/tab_base_android_impl.h View 2 chunks +6 lines, -1 line 0 comments Download
M chrome/browser/android/tab_base_android_impl.cc View 1 2 3 3 chunks +11 lines, -3 lines 0 comments Download
A chrome/browser/ui/android/window_android_helper.h View 1 2 3 4 5 1 chunk +33 lines, -0 lines 0 comments Download
A chrome/browser/ui/android/window_android_helper.cc View 1 1 chunk +24 lines, -0 lines 0 comments Download
M chrome/chrome_browser_ui.gypi View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 18 (0 generated)
aurimas (slooooooooow)
Hello Avi, I am creating a new helper class that will be used to access ...
8 years, 2 months ago (2012-10-09 00:17:48 UTC) #1
aurimas (slooooooooow)
Hey Ted, I'm adding a helper class to get WindowAndroid to be used in autofill ...
8 years, 2 months ago (2012-10-09 20:32:38 UTC) #2
Avi (use Gerrit)
https://codereview.chromium.org/11098008/diff/1/chrome/browser/ui/android/window_android_helper.h File chrome/browser/ui/android/window_android_helper.h (right): https://codereview.chromium.org/11098008/diff/1/chrome/browser/ui/android/window_android_helper.h#newcode8 chrome/browser/ui/android/window_android_helper.h:8: #include "chrome/browser/common/web_contents_user_data.h" This just moved. #include "content/public/browser/web_contents_user_data.h" https://codereview.chromium.org/11098008/diff/1/chrome/browser/ui/android/window_android_helper.h#newcode11 chrome/browser/ui/android/window_android_helper.h:11: ...
8 years, 2 months ago (2012-10-09 21:30:49 UTC) #3
Ted C
https://chromiumcodereview.appspot.com/11098008/diff/1/chrome/browser/ui/android/window_android_helper.cc File chrome/browser/ui/android/window_android_helper.cc (right): https://chromiumcodereview.appspot.com/11098008/diff/1/chrome/browser/ui/android/window_android_helper.cc#newcode10 chrome/browser/ui/android/window_android_helper.cc:10: class WindowAndroid; why aren't you importing the header instead ...
8 years, 2 months ago (2012-10-09 22:47:54 UTC) #4
aurimas (slooooooooow)
Fixed stuff based on avi's and tedchoc's comments. Nilesh > Could you take a look ...
8 years, 2 months ago (2012-10-10 00:22:13 UTC) #5
nilesh
https://chromiumcodereview.appspot.com/11098008/diff/7001/chrome/browser/android/tab_base_android_impl.cc File chrome/browser/android/tab_base_android_impl.cc (right): https://chromiumcodereview.appspot.com/11098008/diff/7001/chrome/browser/android/tab_base_android_impl.cc#newcode64 chrome/browser/android/tab_base_android_impl.cc:64: setWindowAndroid(window_android); rename this too? https://chromiumcodereview.appspot.com/11098008/diff/7001/chrome/browser/ui/android/window_android_helper.h File chrome/browser/ui/android/window_android_helper.h (right): https://chromiumcodereview.appspot.com/11098008/diff/7001/chrome/browser/ui/android/window_android_helper.h#newcode11 ...
8 years, 2 months ago (2012-10-10 00:28:20 UTC) #6
aurimas (slooooooooow)
Fixed nilesh's nits. https://chromiumcodereview.appspot.com/11098008/diff/7001/chrome/browser/android/tab_base_android_impl.cc File chrome/browser/android/tab_base_android_impl.cc (right): https://chromiumcodereview.appspot.com/11098008/diff/7001/chrome/browser/android/tab_base_android_impl.cc#newcode64 chrome/browser/android/tab_base_android_impl.cc:64: setWindowAndroid(window_android); On 2012/10/10 00:28:21, nileshagrawal1 wrote: ...
8 years, 2 months ago (2012-10-10 00:42:24 UTC) #7
nilesh
LGTM We are planning to use TabAndroid::InitTabHelpers to initialize all needed helpers for Android.
8 years, 2 months ago (2012-10-10 00:47:50 UTC) #8
Avi (use Gerrit)
You don't need my LGTM but you get it anyway. I'm super happy to see ...
8 years, 2 months ago (2012-10-10 03:58:11 UTC) #9
aurimas (slooooooooow)
Hello Yaron, Could you take a look at chrome/browser/ui/android/ changes? Aurimas
8 years, 2 months ago (2012-10-10 17:34:44 UTC) #10
Ted C
lgtm w/ nit https://chromiumcodereview.appspot.com/11098008/diff/11001/chrome/browser/ui/android/window_android_helper.h File chrome/browser/ui/android/window_android_helper.h (right): https://chromiumcodereview.appspot.com/11098008/diff/11001/chrome/browser/ui/android/window_android_helper.h#newcode15 chrome/browser/ui/android/window_android_helper.h:15: : public content::WebContentsUserData<WindowAndroidHelper> { +2 indent
8 years, 2 months ago (2012-10-10 17:41:20 UTC) #11
aurimas (slooooooooow)
https://chromiumcodereview.appspot.com/11098008/diff/11001/chrome/browser/ui/android/window_android_helper.h File chrome/browser/ui/android/window_android_helper.h (right): https://chromiumcodereview.appspot.com/11098008/diff/11001/chrome/browser/ui/android/window_android_helper.h#newcode15 chrome/browser/ui/android/window_android_helper.h:15: : public content::WebContentsUserData<WindowAndroidHelper> { On 2012/10/10 17:41:21, Ted C ...
8 years, 2 months ago (2012-10-10 18:07:47 UTC) #12
Yaron
lgtm % nit https://codereview.chromium.org/11098008/diff/9004/chrome/browser/ui/android/window_android_helper.h File chrome/browser/ui/android/window_android_helper.h (right): https://codereview.chromium.org/11098008/diff/9004/chrome/browser/ui/android/window_android_helper.h#newcode14 chrome/browser/ui/android/window_android_helper.h:14: class WindowAndroidHelper Class-level comment.
8 years, 2 months ago (2012-10-10 18:16:49 UTC) #13
aurimas (slooooooooow)
Hello Nico, Could you take a look at this CL? I got LGTMs from all ...
8 years, 2 months ago (2012-10-10 18:54:50 UTC) #14
aurimas (slooooooooow)
Hello Brett, Could you take a look at my CL? I got LGTMs from all ...
8 years, 2 months ago (2012-10-10 19:57:38 UTC) #15
brettw
chrome owners lgtm, I didn't check the details.
8 years, 2 months ago (2012-10-10 22:00:47 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/aurimas@chromium.org/11098008/14010
8 years, 2 months ago (2012-10-10 23:48:05 UTC) #17
commit-bot: I haz the power
8 years, 2 months ago (2012-10-11 02:01:40 UTC) #18
Change committed as 161263

Powered by Google App Engine
This is Rietveld 408576698