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

Issue 2768023002: Move remaining @CalledByNative methods out of ChromeApplication. (Closed)

Created:
3 years, 9 months ago by estevenson
Modified:
3 years, 8 months ago
CC:
chromium-reviews, vabr+watchlistpasswordmanager_chromium.org, rouslan+autofill_chromium.org, rogerm+autofillwatch_chromium.org, sebsg+autofillwatch_chromium.org, Patrick Dubroy, mathp+autofillwatch_chromium.org, dbeam+watch-history_chromium.org, pam+watch_chromium.org, agrieve+watch_chromium.org, vabr+watchlistautofill_chromium.org, estade+watch_chromium.org, gcasto+watchlist_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move remaining @CalledByNative methods out of ChromeApplication. This CL moves showPasswordSettings, areParentalControlsEnabled, and openClearBrowsingData into more fitting locations. BUG=698009 Review-Url: https://codereview.chromium.org/2768023002 Cr-Commit-Position: refs/heads/master@{#460132} Committed: https://chromium.googlesource.com/chromium/src/+/cb80fc5be2e9a107a6c1f47d3a6ccc0e4391a91a

Patch Set 1 #

Total comments: 8

Patch Set 2 : Address bauerb comments & fix #includes #

Total comments: 5

Patch Set 3 : Use DISALLOW_IMPLICIT_CONSTRUCTORS instead of DISALLOW_COPY_AND_ASSIGN #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -91 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ChromeApplication.java View 5 chunks +0 lines, -39 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/partnercustomizations/PartnerBrowserCustomizations.java View 1 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/preferences/PreferencesLauncher.java View 2 chunks +26 lines, -0 lines 0 comments Download
M chrome/browser/BUILD.gn View 1 2 2 chunks +3 lines, -0 lines 0 comments Download
M chrome/browser/android/chrome_application.h View 2 chunks +0 lines, -13 lines 0 comments Download
M chrome/browser/android/chrome_application.cc View 3 chunks +0 lines, -23 lines 0 comments Download
A chrome/browser/android/partner_browser_customizations.h View 1 2 1 chunk +25 lines, -0 lines 0 comments Download
A chrome/browser/android/partner_browser_customizations.cc View 1 1 chunk +19 lines, -0 lines 0 comments Download
M chrome/browser/android/preferences/preferences_launcher.h View 1 2 chunks +10 lines, -1 line 0 comments Download
M chrome/browser/android/preferences/preferences_launcher.cc View 1 2 chunks +18 lines, -2 lines 0 comments Download
M chrome/browser/password_manager/generated_password_saved_infobar_delegate_android.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/prefs/incognito_mode_prefs.cc View 1 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc View 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/webui/browsing_history_handler.cc View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M chrome/test/android/unit_tests_apk/src/org/chromium/chrome/unit_tests_apk/ChromeNativeTestApplication.java View 1 chunk +0 lines, -5 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
estevenson
ptal Ted! https://codereview.chromium.org/2768023002/diff/1/chrome/browser/android/preferences/preferences_launcher.h File chrome/browser/android/preferences/preferences_launcher.h (right): https://codereview.chromium.org/2768023002/diff/1/chrome/browser/android/preferences/preferences_launcher.h#newcode18 chrome/browser/android/preferences/preferences_launcher.h:18: class PreferencesLauncher { Before I submit https://codereview.chromium.org/2763133002/ ...
3 years, 9 months ago (2017-03-22 20:06:56 UTC) #4
Ted C
lgtm https://codereview.chromium.org/2768023002/diff/1/chrome/browser/android/chrome_application.cc File chrome/browser/android/chrome_application.cc (right): https://codereview.chromium.org/2768023002/diff/1/chrome/browser/android/chrome_application.cc#newcode99 chrome/browser/android/chrome_application.cc:99: bool ChromeApplication::RegisterBindings(JNIEnv* env) { can we delete this ...
3 years, 9 months ago (2017-03-23 03:41:16 UTC) #7
estevenson
https://codereview.chromium.org/2768023002/diff/1/chrome/browser/android/chrome_application.cc File chrome/browser/android/chrome_application.cc (right): https://codereview.chromium.org/2768023002/diff/1/chrome/browser/android/chrome_application.cc#newcode99 chrome/browser/android/chrome_application.cc:99: bool ChromeApplication::RegisterBindings(JNIEnv* env) { On 2017/03/23 03:41:15, Ted C ...
3 years, 9 months ago (2017-03-24 18:15:59 UTC) #8
estevenson
+OWNERS reviewers tsergeant@chromium.org: Please review changes in chrome/browser/ui/webui/browsing_history_handler.cc bauerb@chromium.org: Please review changes in chrome/browser/prefs/incognito_mode_prefs.cc vabr@chromium.org: ...
3 years, 9 months ago (2017-03-24 18:21:44 UTC) #10
vabr (Chromium)
> mailto:vabr@chromium.org: Please review changes in > chrome/browser/ui/autofill/password_generation_popup_controller_impl.cc and > chrome/browser/password_manager/generated_password_saved_infobar_delegate_android.cc Those two files LGTM. ...
3 years, 9 months ago (2017-03-24 19:11:45 UTC) #11
tsergeant
browsing_history_handler lgtm
3 years, 9 months ago (2017-03-26 22:17:21 UTC) #12
Bernhard Bauer
https://codereview.chromium.org/2768023002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/partnercustomizations/PartnerBrowserCustomizations.java File chrome/android/java/src/org/chromium/chrome/browser/partnercustomizations/PartnerBrowserCustomizations.java (right): https://codereview.chromium.org/2768023002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/partnercustomizations/PartnerBrowserCustomizations.java#newcode61 chrome/android/java/src/org/chromium/chrome/browser/partnercustomizations/PartnerBrowserCustomizations.java:61: public static boolean isIncognitoDisabled() { I would be tempted ...
3 years, 9 months ago (2017-03-27 10:09:40 UTC) #13
estevenson
https://codereview.chromium.org/2768023002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/partnercustomizations/PartnerBrowserCustomizations.java File chrome/android/java/src/org/chromium/chrome/browser/partnercustomizations/PartnerBrowserCustomizations.java (right): https://codereview.chromium.org/2768023002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/partnercustomizations/PartnerBrowserCustomizations.java#newcode61 chrome/android/java/src/org/chromium/chrome/browser/partnercustomizations/PartnerBrowserCustomizations.java:61: public static boolean isIncognitoDisabled() { On 2017/03/27 10:09:40, Bernhard ...
3 years, 9 months ago (2017-03-27 20:03:53 UTC) #14
Bernhard Bauer
Thanks! LGTM. https://codereview.chromium.org/2768023002/diff/20001/chrome/browser/android/partner_browser_customizations.h File chrome/browser/android/partner_browser_customizations.h (right): https://codereview.chromium.org/2768023002/diff/20001/chrome/browser/android/partner_browser_customizations.h#newcode19 chrome/browser/android/partner_browser_customizations.h:19: PartnerBrowserCustomizations() {} Nit: You can use DISALLOW_IMPLICIT_CONSTRUCTORS ...
3 years, 8 months ago (2017-03-28 09:57:54 UTC) #19
estevenson
Thanks for the reviews! https://codereview.chromium.org/2768023002/diff/20001/chrome/browser/android/partner_browser_customizations.h File chrome/browser/android/partner_browser_customizations.h (right): https://codereview.chromium.org/2768023002/diff/20001/chrome/browser/android/partner_browser_customizations.h#newcode19 chrome/browser/android/partner_browser_customizations.h:19: PartnerBrowserCustomizations() {} On 2017/03/28 09:57:53, ...
3 years, 8 months ago (2017-03-28 14:59:39 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2768023002/40001
3 years, 8 months ago (2017-03-28 15:01:04 UTC) #23
commit-bot: I haz the power
3 years, 8 months ago (2017-03-28 16:51:43 UTC) #26
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/chromium/src/+/cb80fc5be2e9a107a6c1f47d3a6c...

Powered by Google App Engine
This is Rietveld 408576698