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

Issue 9721013: Move topSites API out of experimental (Closed)

Created:
8 years, 9 months ago by cduvall
Modified:
8 years, 9 months ago
CC:
chromium-reviews, mihaip+watch_chromium.org, brettw-cc_chromium.org
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Move topSites API out of experimental topSites API is now available for developers. BUG=27759 TEST=*TopSites* Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128267

Patch Set 1 #

Patch Set 2 : Now using QueryMostVisitedURLs #

Patch Set 3 : Changes to reflect revision 127555 #

Total comments: 4

Patch Set 4 : Moved topSites API out of experimental #

Total comments: 2

Patch Set 5 : Added curlies #

Total comments: 6

Patch Set 6 : Minor changes #

Total comments: 2

Patch Set 7 : Changed warning #

Patch Set 8 : Merge #

Unified diffs Side-by-side diffs Delta from patch set Stats (+336 lines, -143 lines) Patch
M chrome/browser/history/top_sites_extension_api.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/history/top_sites_extension_api.cc View 1 2 3 4 5 1 chunk +6 lines, -11 lines 0 comments Download
M chrome/common/common_resources.grd View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/extensions/api/_permission_features.json View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
D chrome/common/extensions/api/experimental.topSites.json View 1 2 3 1 chunk +0 lines, -43 lines 0 comments Download
M chrome/common/extensions/api/extension_api.cc View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
A + chrome/common/extensions/api/topSites.json View 1 2 3 4 5 2 chunks +13 lines, -16 lines 0 comments Download
M chrome/common/extensions/docs/api_index.html View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/examples/api/topsites/magic8ball.zip View 1 2 3 0 chunks +-1 lines, --1 lines 0 comments Download
M chrome/common/extensions/docs/examples/api/topsites/magic8ball/manifest.json View 1 2 3 1 chunk +2 lines, -3 lines 0 comments Download
M chrome/common/extensions/docs/examples/api/topsites/magic8ball/newTab.css View 1 2 3 1 chunk +4 lines, -12 lines 0 comments Download
M chrome/common/extensions/docs/examples/api/topsites/magic8ball/newTab.html View 1 2 3 1 chunk +7 lines, -5 lines 0 comments Download
M chrome/common/extensions/docs/examples/api/topsites/magic8ball/newTab.js View 1 2 3 1 chunk +4 lines, -7 lines 0 comments Download
M chrome/common/extensions/docs/js/api_page_generator.js View 1 2 3 4 5 6 7 2 chunks +1 line, -1 line 0 comments Download
M chrome/common/extensions/docs/permissions.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/docs/samples.html View 1 2 3 4 5 6 7 3 chunks +11 lines, -2 lines 0 comments Download
M chrome/common/extensions/docs/samples.json View 1 2 3 4 5 6 7 3 chunks +7 lines, -5 lines 0 comments Download
M chrome/common/extensions/docs/static/permissions.html View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A chrome/common/extensions/docs/static/topSites.html View 1 2 3 1 chunk +34 lines, -0 lines 0 comments Download
A + chrome/common/extensions/docs/topSites.html View 1 2 3 4 5 6 7 3 chunks +235 lines, -35 lines 0 comments Download
M chrome/common/extensions/extension_permission_set.h View 1 2 3 4 5 6 7 1 chunk +1 line, -0 lines 0 comments Download
M chrome/common/extensions/extension_permission_set.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 27 (0 generated)
cduvall
Added a function to the chrome.history API. Thanks for the review!
8 years, 9 months ago (2012-03-19 19:25:15 UTC) #1
cduvall
+brettw for history OWNERS
8 years, 9 months ago (2012-03-19 20:07:04 UTC) #2
brettw
owners LGTM, I didn't look at the details.
8 years, 9 months ago (2012-03-19 21:09:27 UTC) #3
Aaron Boodman
https://chromiumcodereview.appspot.com/9721013/diff/3037/chrome/browser/history/history_extension_api.cc File chrome/browser/history/history_extension_api.cc (right): https://chromiumcodereview.appspot.com/9721013/diff/3037/chrome/browser/history/history_extension_api.cc#newcode434 chrome/browser/history/history_extension_api.cc:434: kDaysOfHistory, Why not allow developers to specify this too. ...
8 years, 9 months ago (2012-03-20 02:24:24 UTC) #4
brettw
The TopSite API that Aaron pointed out does the same thing that the new tab ...
8 years, 9 months ago (2012-03-20 16:30:10 UTC) #5
cduvall
On 2012/03/20 16:30:10, brettw wrote: > The TopSite API that Aaron pointed out does the ...
8 years, 9 months ago (2012-03-20 17:46:07 UTC) #6
brettw
The TopSites system just manages the data for the new tab page. It doesn't have ...
8 years, 9 months ago (2012-03-20 17:49:24 UTC) #7
cduvall
On 2012/03/20 17:49:24, brettw wrote: > The TopSites system just manages the data for the ...
8 years, 9 months ago (2012-03-20 17:53:27 UTC) #8
brettw
That depends what the goal of this API is? I don't think we should be ...
8 years, 9 months ago (2012-03-20 18:01:44 UTC) #9
cduvall
Yep, I definitely agree. You think it would be best to scrap this one for ...
8 years, 9 months ago (2012-03-20 18:07:22 UTC) #10
brettw
On 2012/03/20 18:07:22, cduvall wrote: > Yep, I definitely agree. You think it would be ...
8 years, 9 months ago (2012-03-20 18:21:07 UTC) #11
cduvall
Ok, sounds good. Thanks for bringing that up.
8 years, 9 months ago (2012-03-20 18:27:12 UTC) #12
Aaron Boodman
The original request was actually for the same functionality the NTP has. See the bug ...
8 years, 9 months ago (2012-03-20 20:18:06 UTC) #13
brettw
That's fine with me.
8 years, 9 months ago (2012-03-20 20:25:32 UTC) #14
cduvall
TopSites API is no longer experimental.
8 years, 9 months ago (2012-03-21 01:18:13 UTC) #15
brettw
http://codereview.chromium.org/9721013/diff/18001/chrome/browser/history/top_sites_extension_api.cc File chrome/browser/history/top_sites_extension_api.cc (right): http://codereview.chromium.org/9721013/diff/18001/chrome/browser/history/top_sites_extension_api.cc#newcode36 chrome/browser/history/top_sites_extension_api.cc:36: if (!url.url.is_empty()) You either messed up your indenting or ...
8 years, 9 months ago (2012-03-21 17:43:22 UTC) #16
cduvall
http://codereview.chromium.org/9721013/diff/18001/chrome/browser/history/top_sites_extension_api.cc File chrome/browser/history/top_sites_extension_api.cc (right): http://codereview.chromium.org/9721013/diff/18001/chrome/browser/history/top_sites_extension_api.cc#newcode36 chrome/browser/history/top_sites_extension_api.cc:36: if (!url.url.is_empty()) On 2012/03/21 17:43:22, brettw wrote: > You ...
8 years, 9 months ago (2012-03-21 18:00:34 UTC) #17
brettw
history LGTM http://codereview.chromium.org/9721013/diff/22002/chrome/browser/history/top_sites_extension_api.cc File chrome/browser/history/top_sites_extension_api.cc (left): http://codereview.chromium.org/9721013/diff/22002/chrome/browser/history/top_sites_extension_api.cc#oldcode38 chrome/browser/history/top_sites_extension_api.cc:38: page_value->SetBoolean("filler", true); I don't really know what ...
8 years, 9 months ago (2012-03-21 18:16:01 UTC) #18
cduvall
http://codereview.chromium.org/9721013/diff/22002/chrome/browser/history/top_sites_extension_api.cc File chrome/browser/history/top_sites_extension_api.cc (left): http://codereview.chromium.org/9721013/diff/22002/chrome/browser/history/top_sites_extension_api.cc#oldcode38 chrome/browser/history/top_sites_extension_api.cc:38: page_value->SetBoolean("filler", true); On 2012/03/21 18:16:01, brettw wrote: > I ...
8 years, 9 months ago (2012-03-21 18:33:49 UTC) #19
Mihai Parparita -not on Chrome
Aaron may be more qualified to make this call, but does this need to be ...
8 years, 9 months ago (2012-03-21 21:20:04 UTC) #20
Aaron Boodman
http://codereview.chromium.org/9721013/diff/22002/chrome/browser/history/top_sites_extension_api.cc File chrome/browser/history/top_sites_extension_api.cc (right): http://codereview.chromium.org/9721013/diff/22002/chrome/browser/history/top_sites_extension_api.cc#newcode37 chrome/browser/history/top_sites_extension_api.cc:37: NewTabUI::SetURLTitleAndDirection(page_value, I don't think that we should call this ...
8 years, 9 months ago (2012-03-21 21:26:15 UTC) #21
cduvall
Mihai: I talked with Aaron about it, and he thought it would be best to ...
8 years, 9 months ago (2012-03-21 22:00:14 UTC) #22
Aaron Boodman
http://codereview.chromium.org/9721013/diff/24006/chrome/common/extensions/extension_permission_set.cc File chrome/common/extensions/extension_permission_set.cc (right): http://codereview.chromium.org/9721013/diff/24006/chrome/common/extensions/extension_permission_set.cc#newcode259 chrome/common/extensions/extension_permission_set.cc:259: kTopSites, "topSites", 0, Since this API effectively gives access ...
8 years, 9 months ago (2012-03-21 22:05:23 UTC) #23
cduvall
http://codereview.chromium.org/9721013/diff/24006/chrome/common/extensions/extension_permission_set.cc File chrome/common/extensions/extension_permission_set.cc (right): http://codereview.chromium.org/9721013/diff/24006/chrome/common/extensions/extension_permission_set.cc#newcode259 chrome/common/extensions/extension_permission_set.cc:259: kTopSites, "topSites", 0, On 2012/03/21 22:05:23, Aaron Boodman wrote: ...
8 years, 9 months ago (2012-03-21 22:18:07 UTC) #24
Aaron Boodman
LGTM
8 years, 9 months ago (2012-03-22 06:32:23 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/cduvall@chromium.org/9721013/31001
8 years, 9 months ago (2012-03-22 18:16:47 UTC) #26
commit-bot: I haz the power
8 years, 9 months ago (2012-03-22 19:27:37 UTC) #27
Change committed as 128267

Powered by Google App Engine
This is Rietveld 408576698