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

Issue 12340065: Move the UI related code from AutofillExternalDelegate to AutofillManagerDelegate (Closed)

Created:
7 years, 10 months ago by kaiwang
Modified:
7 years, 9 months ago
Reviewers:
Ilya Sherman
CC:
chromium-reviews, Raman Kakilate, benquan, dhollowa+watch_chromium.org, ahutter, browser-components-watch_chromium.org, dbeam+watch-autofill_chromium.org, Dane Wallinga, dyu1, estade+watch_chromium.org, Albert Bodenhamer, Ilya Sherman
Visibility:
Public.

Description

Move the UI related code from AutofillExternalDelegate to AutofillManagerDelegate Move the UI related code (autofill popup controlling) to AutofillManagerDelegate (implementated by TabAutofillManagerDelegate), which is a better place for UI dependencies, and many other UI dependencies are already there. Note: work in progress. Will modify tests BUG=140037 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=184881

Patch Set 1 #

Total comments: 23

Patch Set 2 : Address most review comments and fix unit_tests #

Total comments: 14

Patch Set 3 : Fix browser_tests #

Patch Set 4 : Address comments #

Total comments: 6

Patch Set 5 : 1 . Fix HideAutofillPopup called times and address comments #

Patch Set 6 : Rebase #

Patch Set 7 : Fix for https://src.chromium.org/viewvc/chrome?view=rev&revision=184598 #

Patch Set 8 : Try to fix AutofillTest.DisableAutocompleteWhileFilling #

Unified diffs Side-by-side diffs Delta from patch set Stats (+385 lines, -372 lines) Patch
M chrome/browser/autofill/DEPS View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M chrome/browser/autofill/autocheckout_manager_unittest.cc View 1 4 chunks +7 lines, -41 lines 0 comments Download
M chrome/browser/autofill/autocomplete_history_manager_unittest.cc View 1 3 chunks +6 lines, -40 lines 0 comments Download
M chrome/browser/autofill/autofill_browsertest.cc View 1 2 3 4 5 6 7 1 chunk +0 lines, -9 lines 0 comments Download
M chrome/browser/autofill/autofill_external_delegate.h View 1 2 3 4 chunks +3 lines, -19 lines 0 comments Download
M chrome/browser/autofill/autofill_external_delegate.cc View 1 2 3 4 5 11 chunks +17 lines, -52 lines 0 comments Download
M chrome/browser/autofill/autofill_external_delegate_browsertest.cc View 1 2 3 4 5 chunks +55 lines, -51 lines 0 comments Download
M chrome/browser/autofill/autofill_external_delegate_unittest.cc View 1 2 3 4 15 chunks +71 lines, -54 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.h View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/autofill/autofill_manager.cc View 2 chunks +3 lines, -3 lines 0 comments Download
M chrome/browser/autofill/autofill_manager_delegate.h View 1 3 chunks +19 lines, -1 line 0 comments Download
M chrome/browser/autofill/autofill_manager_unittest.cc View 1 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/browser/autofill/test_autofill_external_delegate.h View 1 2 3 1 chunk +0 lines, -23 lines 0 comments Download
M chrome/browser/autofill/test_autofill_external_delegate.cc View 1 2 3 1 chunk +0 lines, -22 lines 0 comments Download
A chrome/browser/autofill/test_autofill_manager_delegate.h View 1 2 1 chunk +60 lines, -0 lines 0 comments Download
A chrome/browser/autofill/test_autofill_manager_delegate.cc View 1 2 1 chunk +70 lines, -0 lines 0 comments Download
M chrome/browser/password_manager/password_manager_delegate_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M chrome/browser/ui/autofill/autofill_popup_controller_unittest.cc View 1 2 chunks +6 lines, -34 lines 0 comments Download
M chrome/browser/ui/autofill/tab_autofill_manager_delegate.h View 1 4 chunks +13 lines, -2 lines 0 comments Download
M chrome/browser/ui/autofill/tab_autofill_manager_delegate.cc View 1 2 3 4 5 6 6 chunks +45 lines, -12 lines 0 comments Download
M chrome/chrome_tests_unit.gypi View 1 2 3 4 5 2 chunks +4 lines, -2 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
kaiwang
7 years, 10 months ago (2013-02-26 01:27:23 UTC) #1
Ilya Sherman
Thanks! Looking good overall; just some nits, and waiting to see the test changes. https://codereview.chromium.org/12340065/diff/1/chrome/browser/autofill/autofill_external_delegate.cc ...
7 years, 10 months ago (2013-02-26 02:12:15 UTC) #2
kaiwang
https://codereview.chromium.org/12340065/diff/1/chrome/browser/autofill/autofill_external_delegate.cc File chrome/browser/autofill/autofill_external_delegate.cc (right): https://codereview.chromium.org/12340065/diff/1/chrome/browser/autofill/autofill_external_delegate.cc#newcode9 chrome/browser/autofill/autofill_external_delegate.cc:9: #include "chrome/browser/ui/autofill/autofill_popup_controller_impl.h" On 2013/02/26 02:12:15, Ilya Sherman wrote: > ...
7 years, 10 months ago (2013-02-26 05:24:12 UTC) #3
Ilya Sherman
LGTM, thanks. https://codereview.chromium.org/12340065/diff/1/chrome/browser/autofill/autofill_external_delegate.h File chrome/browser/autofill/autofill_external_delegate.h (right): https://codereview.chromium.org/12340065/diff/1/chrome/browser/autofill/autofill_external_delegate.h#newcode105 chrome/browser/autofill/autofill_external_delegate.h:105: virtual void HideAutofillPopup(); On 2013/02/26 02:12:15, Ilya ...
7 years, 10 months ago (2013-02-26 09:24:57 UTC) #4
kaiwang
https://codereview.chromium.org/12340065/diff/1/chrome/browser/autofill/autofill_external_delegate.cc File chrome/browser/autofill/autofill_external_delegate.cc (right): https://codereview.chromium.org/12340065/diff/1/chrome/browser/autofill/autofill_external_delegate.cc#newcode247 chrome/browser/autofill/autofill_external_delegate.cc:247: void AutofillExternalDelegate::HideAutofillPopup() { On 2013/02/26 02:12:15, Ilya Sherman wrote: ...
7 years, 10 months ago (2013-02-26 22:18:39 UTC) #5
Ilya Sherman
Still LGTM, just some last few nits: https://chromiumcodereview.appspot.com/12340065/diff/41/chrome/browser/autofill/autofill_external_delegate_browsertest.cc File chrome/browser/autofill/autofill_external_delegate_browsertest.cc (right): https://chromiumcodereview.appspot.com/12340065/diff/41/chrome/browser/autofill/autofill_external_delegate_browsertest.cc#newcode57 chrome/browser/autofill/autofill_external_delegate_browsertest.cc:57: virtual ~TestAutofillManager() ...
7 years, 10 months ago (2013-02-26 22:55:51 UTC) #6
Ilya Sherman
Btw, note that you're going to have a merge conflict with [ https://codereview.chromium.org/12302034/ ], depending ...
7 years, 10 months ago (2013-02-26 23:50:50 UTC) #7
kaiwang
https://codereview.chromium.org/12340065/diff/41/chrome/browser/autofill/autofill_external_delegate_browsertest.cc File chrome/browser/autofill/autofill_external_delegate_browsertest.cc (right): https://codereview.chromium.org/12340065/diff/41/chrome/browser/autofill/autofill_external_delegate_browsertest.cc#newcode57 chrome/browser/autofill/autofill_external_delegate_browsertest.cc:57: virtual ~TestAutofillManager() {} On 2013/02/26 22:55:51, Ilya Sherman wrote: ...
7 years, 10 months ago (2013-02-27 00:00:10 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaiwang@chromium.org/12340065/4021
7 years, 10 months ago (2013-02-27 00:03:24 UTC) #9
commit-bot: I haz the power
Failed to apply patch for chrome/browser/autofill/autofill_external_delegate.cc: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
7 years, 10 months ago (2013-02-27 00:03:35 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaiwang@chromium.org/12340065/14002
7 years, 10 months ago (2013-02-27 00:20:27 UTC) #11
commit-bot: I haz the power
Retried try job too often on mac_rel for step(s) browser_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=mac_rel&number=103127
7 years, 9 months ago (2013-02-27 02:50:48 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kaiwang@chromium.org/12340065/14003
7 years, 9 months ago (2013-02-27 02:53:30 UTC) #13
commit-bot: I haz the power
7 years, 9 months ago (2013-02-27 05:18:10 UTC) #14
Message was sent while issue was closed.
Change committed as 184881

Powered by Google App Engine
This is Rietveld 408576698