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

Issue 1095793002: Implement onOpenResult. (Closed)

Created:
5 years, 8 months ago by yawano
Modified:
5 years, 8 months ago
Reviewers:
satorux1, Mark P, Matt Giuca
CC:
chromium-reviews, tapted, Matt Giuca, tfarina, asvitkine+watch_chromium.org, oshima+watch_chromium.org, stevenjb+watch_chromium.org, davemoore+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Implement onOpenResult. onOpenResult event is dispatched when a search result which is provided by an extension is opened. BUG=440649 Committed: https://crrev.com/bbdd2f0e44081940d1c4111676267e1ac6b654cf Cr-Commit-Position: refs/heads/master@{#325823}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Change interface from Extension* to ExtensionId. #

Total comments: 9

Patch Set 3 : Address comments. #

Patch Set 4 : Add extension id check. #

Total comments: 1

Patch Set 5 : Change to CHECK. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -0 lines) Patch
M chrome/browser/chromeos/launcher_search_provider/service.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/chromeos/launcher_search_provider/service.cc View 1 2 3 4 2 chunks +17 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/search/launcher_search/launcher_search_result.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/app_list/search/launcher_search/launcher_search_result.cc View 1 2 chunks +10 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/search/search_util.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M tools/metrics/histograms/histograms.xml View 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 18 (3 generated)
yawano
PTAL. @satorux: files under chrome/browser/chromeos. @mpearson: histograms.xml. @mgiuca: the rest of files. Thank you!
5 years, 8 months ago (2015-04-17 06:15:11 UTC) #2
satorux1
https://codereview.chromium.org/1095793002/diff/1/chrome/browser/chromeos/launcher_search_provider/service.cc File chrome/browser/chromeos/launcher_search_provider/service.cc (right): https://codereview.chromium.org/1095793002/diff/1/chrome/browser/chromeos/launcher_search_provider/service.cc#newcode87 chrome/browser/chromeos/launcher_search_provider/service.cc:87: void Service::OnOpenResult(const extensions::Extension* extension, if it must not be ...
5 years, 8 months ago (2015-04-17 06:21:52 UTC) #3
yawano
@satorux: Thank you for the review! PTAL. https://codereview.chromium.org/1095793002/diff/1/chrome/browser/chromeos/launcher_search_provider/service.cc File chrome/browser/chromeos/launcher_search_provider/service.cc (right): https://codereview.chromium.org/1095793002/diff/1/chrome/browser/chromeos/launcher_search_provider/service.cc#newcode87 chrome/browser/chromeos/launcher_search_provider/service.cc:87: void Service::OnOpenResult(const ...
5 years, 8 months ago (2015-04-17 06:39:08 UTC) #4
satorux1
c/b/chromeos lgtm https://codereview.chromium.org/1095793002/diff/1/chrome/browser/chromeos/launcher_search_provider/service.cc File chrome/browser/chromeos/launcher_search_provider/service.cc (right): https://codereview.chromium.org/1095793002/diff/1/chrome/browser/chromeos/launcher_search_provider/service.cc#newcode87 chrome/browser/chromeos/launcher_search_provider/service.cc:87: void Service::OnOpenResult(const extensions::Extension* extension, that's nicer! Law ...
5 years, 8 months ago (2015-04-17 06:50:21 UTC) #5
yawano
On 2015/04/17 06:50:21, satorux1 wrote: > c/b/chromeos lgtm > > https://codereview.chromium.org/1095793002/diff/1/chrome/browser/chromeos/launcher_search_provider/service.cc > File chrome/browser/chromeos/launcher_search_provider/service.cc (right): ...
5 years, 8 months ago (2015-04-17 06:54:19 UTC) #6
Mark P
histograms.xml lgtm
5 years, 8 months ago (2015-04-17 16:08:45 UTC) #7
Matt Giuca
https://codereview.chromium.org/1095793002/diff/20001/chrome/browser/chromeos/launcher_search_provider/service.cc File chrome/browser/chromeos/launcher_search_provider/service.cc (right): https://codereview.chromium.org/1095793002/diff/20001/chrome/browser/chromeos/launcher_search_provider/service.cc#newcode91 chrome/browser/chromeos/launcher_search_provider/service.cc:91: if (!ContainsValue(extension_ids, extension_id)) Is there any reason to expect ...
5 years, 8 months ago (2015-04-20 02:44:53 UTC) #8
yawano
@mgiuca: PTAL. Thank you! https://codereview.chromium.org/1095793002/diff/20001/chrome/browser/chromeos/launcher_search_provider/service.cc File chrome/browser/chromeos/launcher_search_provider/service.cc (right): https://codereview.chromium.org/1095793002/diff/20001/chrome/browser/chromeos/launcher_search_provider/service.cc#newcode91 chrome/browser/chromeos/launcher_search_provider/service.cc:91: if (!ContainsValue(extension_ids, extension_id)) Yes, this ...
5 years, 8 months ago (2015-04-20 04:02:36 UTC) #9
Matt Giuca
https://codereview.chromium.org/1095793002/diff/20001/chrome/browser/chromeos/launcher_search_provider/service.cc File chrome/browser/chromeos/launcher_search_provider/service.cc (right): https://codereview.chromium.org/1095793002/diff/20001/chrome/browser/chromeos/launcher_search_provider/service.cc#newcode91 chrome/browser/chromeos/launcher_search_provider/service.cc:91: if (!ContainsValue(extension_ids, extension_id)) I think it should be a ...
5 years, 8 months ago (2015-04-20 04:36:26 UTC) #10
yawano
Thank you for the review! PTAL. https://codereview.chromium.org/1095793002/diff/20001/chrome/browser/chromeos/launcher_search_provider/service.cc File chrome/browser/chromeos/launcher_search_provider/service.cc (right): https://codereview.chromium.org/1095793002/diff/20001/chrome/browser/chromeos/launcher_search_provider/service.cc#newcode91 chrome/browser/chromeos/launcher_search_provider/service.cc:91: if (!ContainsValue(extension_ids, extension_id)) ...
5 years, 8 months ago (2015-04-20 04:46:23 UTC) #11
Matt Giuca
lgtm
5 years, 8 months ago (2015-04-20 04:47:47 UTC) #12
yawano
On 2015/04/20 04:47:47, Matt Giuca wrote: > lgtm Thank you!
5 years, 8 months ago (2015-04-20 04:48:54 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1095793002/80001
5 years, 8 months ago (2015-04-20 08:02:21 UTC) #16
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years, 8 months ago (2015-04-20 10:07:08 UTC) #17
commit-bot: I haz the power
5 years, 8 months ago (2015-04-20 10:09:59 UTC) #18
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bbdd2f0e44081940d1c4111676267e1ac6b654cf
Cr-Commit-Position: refs/heads/master@{#325823}

Powered by Google App Engine
This is Rietveld 408576698