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

Issue 1137503005: Add launcherPage.hide() API. (Closed)

Created:
5 years, 7 months ago by calamity
Modified:
5 years, 7 months ago
CC:
chromium-reviews, tapted, sadrul, Matt Giuca, extensions-reviews_chromium.org, tfarina, kalyank, chromium-apps-reviews_chromium.org, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add launcherPage.hide() API. This CL adds a launcherPage.hide() API which can be used by custom launcher pages to implement custom hiding behavior. The API only works if the custom launcher page is showing and does nothing otherwise. BUG=481712 Committed: https://crrev.com/a43eb7176f8f602c2e94d137a401490fceb65f77 Cr-Commit-Position: refs/heads/master@{#330065}

Patch Set 1 : #

Total comments: 6

Patch Set 2 : address comment #

Patch Set 3 : histograms.xml #

Patch Set 4 : rebase #

Patch Set 5 : fix test #

Patch Set 6 : fix mobile #

Unified diffs Side-by-side diffs Delta from patch set Stats (+106 lines, -2 lines) Patch
M chrome/browser/apps/custom_launcher_page_browsertest_views.cc View 2 chunks +26 lines, -2 lines 0 comments Download
M chrome/browser/extensions/api/launcher_page/launcher_page_api.h View 1 chunk +15 lines, -0 lines 0 comments Download
M chrome/browser/extensions/api/launcher_page/launcher_page_api.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_disabled.cc View 1 2 3 4 5 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_mac.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_mac.mm View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_unittest.cc View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_views.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/app_list/app_list_service_views.cc View 1 1 chunk +13 lines, -0 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_service_ash.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/ash/app_list/app_list_service_ash.cc View 1 1 chunk +14 lines, -0 lines 0 comments Download
M chrome/common/extensions/api/launcher_page.idl View 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/test/data/extensions/platform_apps/custom_launcher_page/main.js View 1 chunk +6 lines, -0 lines 0 comments Download
M extensions/browser/extension_function_histogram_value.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 30 (14 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137503005/20001
5 years, 7 months ago (2015-05-14 06:30:30 UTC) #3
calamity
5 years, 7 months ago (2015-05-14 06:30:37 UTC) #5
commit-bot: I haz the power
Dry run: 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/24922) ios_rel_device_ninja on ...
5 years, 7 months ago (2015-05-14 06:33:38 UTC) #7
Matt Giuca
https://codereview.chromium.org/1137503005/diff/20001/chrome/browser/ui/app_list/app_list_service.h File chrome/browser/ui/app_list/app_list_service.h (right): https://codereview.chromium.org/1137503005/diff/20001/chrome/browser/ui/app_list/app_list_service.h#newcode105 chrome/browser/ui/app_list/app_list_service.h:105: virtual void HideLauncherPageIfShowing() = 0; I think the "IfShowing" ...
5 years, 7 months ago (2015-05-14 06:56:02 UTC) #8
calamity
+benwells for extensions/apps OWNERS https://codereview.chromium.org/1137503005/diff/20001/chrome/browser/ui/app_list/app_list_service.h File chrome/browser/ui/app_list/app_list_service.h (right): https://codereview.chromium.org/1137503005/diff/20001/chrome/browser/ui/app_list/app_list_service.h#newcode105 chrome/browser/ui/app_list/app_list_service.h:105: virtual void HideLauncherPageIfShowing() = 0; ...
5 years, 7 months ago (2015-05-14 08:11:28 UTC) #10
calamity
+asvitkine for histograms OWNERS.
5 years, 7 months ago (2015-05-14 08:17:15 UTC) #12
Matt Giuca
lgtm
5 years, 7 months ago (2015-05-14 08:20:00 UTC) #13
Alexei Svitkine (slow)
lgtm
5 years, 7 months ago (2015-05-14 14:52:13 UTC) #14
benwells
lgtm
5 years, 7 months ago (2015-05-15 04:13:40 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137503005/80001
5 years, 7 months ago (2015-05-15 05:25:13 UTC) #18
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/25397)
5 years, 7 months ago (2015-05-15 05:33:56 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137503005/100001
5 years, 7 months ago (2015-05-15 05:51:05 UTC) #23
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/25403)
5 years, 7 months ago (2015-05-15 06:00:01 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1137503005/120001
5 years, 7 months ago (2015-05-15 07:04:07 UTC) #28
commit-bot: I haz the power
Committed patchset #6 (id:120001)
5 years, 7 months ago (2015-05-15 08:39:29 UTC) #29
commit-bot: I haz the power
5 years, 7 months ago (2015-05-15 08:40:18 UTC) #30
Message was sent while issue was closed.
Patchset 6 (id:??) landed as
https://crrev.com/a43eb7176f8f602c2e94d137a401490fceb65f77
Cr-Commit-Position: refs/heads/master@{#330065}

Powered by Google App Engine
This is Rietveld 408576698