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

Issue 8423055: [Aura] Initial app list webui. (Closed)

Created:
9 years, 1 month ago by xiyuan
Modified:
9 years, 1 month ago
Reviewers:
Evan Stade
CC:
chromium-reviews, estade+watch_chromium.org, arv (Not doing code reviews)
Visibility:
Public.

Description

[Aura] Initial app list webui. - Initiali app list webui; - Refactor NTP4 code so that we could share part of the code; - Use shared NTP4 code for app list contents; TODO: Add search box support. BUG=98308 TEST=Verify aura app list looks like the mock. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=109648

Patch Set 1 #

Patch Set 2 : minor change #

Patch Set 3 : fix chromeos bot compilation error #

Total comments: 3

Patch Set 4 : sync and address comments in patch #3 #

Patch Set 5 : move onKeyDown into PageListView onDocKeyDown #

Total comments: 8

Patch Set 6 : sync and address comments in partch #5 #

Patch Set 7 : publish callbacks in ntp4 namespace #

Total comments: 13

Patch Set 8 : sync and address comments in patch 7 #

Total comments: 16

Patch Set 9 : sync, fix nits and move some js into shared #

Patch Set 10 : remove grabber.js #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1350 lines, -2515 lines) Patch
M chrome/app/generated_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +8 lines, -0 lines 0 comments Download
M chrome/browser/browser_resources.grd View 1 2 3 4 5 6 7 8 1 chunk +3 lines, -0 lines 0 comments Download
A chrome/browser/resources/aura/app_list/app_list.css View 1 2 3 4 5 6 7 8 1 chunk +78 lines, -0 lines 0 comments Download
A chrome/browser/resources/aura/app_list/app_list.html View 1 2 3 4 5 6 7 8 9 1 chunk +90 lines, -0 lines 0 comments Download
A chrome/browser/resources/aura/app_list/app_list.js View 1 2 3 4 5 6 7 1 chunk +103 lines, -0 lines 0 comments Download
A chrome/browser/resources/aura/app_list/apps_view.js View 1 2 3 4 5 6 7 1 chunk +31 lines, -0 lines 0 comments Download
M chrome/browser/resources/ntp4/card_slider.js View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -459 lines 0 comments Download
A chrome/browser/resources/ntp4/dot_list.js View 1 2 3 1 chunk +80 lines, -0 lines 0 comments Download
D chrome/browser/resources/ntp4/drag_wrapper.js View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -116 lines 0 comments Download
D chrome/browser/resources/ntp4/grabber.js View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -383 lines 0 comments Download
M chrome/browser/resources/ntp4/nav_dot.js View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/ntp4/new_tab.html View 1 2 3 4 5 6 7 8 9 1 chunk +6 lines, -5 lines 0 comments Download
M chrome/browser/resources/ntp4/new_tab.js View 1 2 3 4 5 6 7 8 12 chunks +108 lines, -672 lines 0 comments Download
A chrome/browser/resources/ntp4/page_list_view.js View 1 2 3 4 5 6 7 8 1 chunk +622 lines, -0 lines 0 comments Download
M chrome/browser/resources/ntp4/page_switcher.js View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/resources/ntp4/tile_page.js View 1 2 3 4 5 6 7 8 4 chunks +4 lines, -4 lines 0 comments Download
D chrome/browser/resources/ntp4/touch_handler.js View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -850 lines 0 comments Download
M chrome/browser/resources/ntp4/trash.js View 1 2 3 4 5 6 7 8 1 chunk +1 line, -1 line 0 comments Download
A + chrome/browser/resources/shared/js/cr/ui/card_slider.js View 1 2 3 4 5 6 7 8 11 chunks +16 lines, -15 lines 0 comments Download
A + chrome/browser/resources/shared/js/cr/ui/drag_wrapper.js View 1 2 3 4 5 6 7 8 2 chunks +5 lines, -3 lines 0 comments Download
A + chrome/browser/resources/shared/js/cr/ui/touch_handler.js View 1 2 3 4 5 6 7 8 3 chunks +6 lines, -4 lines 0 comments Download
M chrome/browser/resources/shared/js/util.js View 1 2 3 4 5 1 chunk +38 lines, -0 lines 0 comments Download
M chrome/browser/resources/shared_resources.grd View 1 2 3 4 5 6 7 8 9 3 chunks +6 lines, -0 lines 0 comments Download
M chrome/browser/ui/views/aura/app_list_window.cc View 2 chunks +2 lines, -1 line 0 comments Download
A chrome/browser/ui/webui/aura/app_list_ui.h View 1 chunk +19 lines, -0 lines 0 comments Download
A chrome/browser/ui/webui/aura/app_list_ui.cc View 1 chunk +92 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_url_data_manager_backend.cc View 1 2 3 4 5 6 7 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/ui/webui/chrome_web_ui_factory.cc View 1 2 3 4 5 6 7 8 2 chunks +9 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 3 4 5 6 7 8 9 1 chunk +2 lines, -0 lines 0 comments Download
M chrome/common/url_constants.h View 1 2 3 4 5 6 7 2 chunks +8 lines, -0 lines 0 comments Download
M chrome/common/url_constants.cc View 1 2 3 4 5 6 7 8 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (0 generated)
xiyuan
9 years, 1 month ago (2011-11-02 20:31:35 UTC) #1
Evan Stade
http://codereview.chromium.org/8423055/diff/5001/chrome/browser/resources/ntp4/new_tab.js File chrome/browser/resources/ntp4/new_tab.js (right): http://codereview.chromium.org/8423055/diff/5001/chrome/browser/resources/ntp4/new_tab.js#newcode183 chrome/browser/resources/ntp4/new_tab.js:183: if (config.supportsPageSwitchers) { this seems like a heck of ...
9 years, 1 month ago (2011-11-03 16:42:14 UTC) #2
xiyuan
CL updated to address comments. I have get rid of the config etc and followed ...
9 years, 1 month ago (2011-11-04 20:56:02 UTC) #3
Evan Stade
cool http://codereview.chromium.org/8423055/diff/8002/chrome/browser/resources/app_list.js File chrome/browser/resources/app_list.js (right): http://codereview.chromium.org/8423055/diff/8002/chrome/browser/resources/app_list.js#newcode19 chrome/browser/resources/app_list.js:19: function AppListView() { filename should match class name. ...
9 years, 1 month ago (2011-11-07 23:59:20 UTC) #4
xiyuan
CL updated. Please take another look. Thanks. Summary of the changes: - Moved app_list.* to ...
9 years, 1 month ago (2011-11-08 21:09:18 UTC) #5
Evan Stade
I think it's ok to move PageListView, Trash, and other shared objects into shared/cr/ui/js/page_list/. The ...
9 years, 1 month ago (2011-11-09 00:19:00 UTC) #6
Evan Stade
http://codereview.chromium.org/8423055/diff/14022/chrome/browser/resources/ntp4/new_tab.js File chrome/browser/resources/ntp4/new_tab.js (right): http://codereview.chromium.org/8423055/diff/14022/chrome/browser/resources/ntp4/new_tab.js#newcode94 chrome/browser/resources/ntp4/new_tab.js:94: newTabView = new NewTabView(); On 2011/11/09 00:19:00, Evan Stade ...
9 years, 1 month ago (2011-11-09 00:38:19 UTC) #7
xiyuan
I have removed the dependency of specific DOM nodes from PageListView. However, I feel it ...
9 years, 1 month ago (2011-11-09 19:21:53 UTC) #8
Evan Stade
just nits Do you plan to move those js files you listed? http://codereview.chromium.org/8423055/diff/19001/chrome/browser/resources/ntp4/new_tab.js File chrome/browser/resources/ntp4/new_tab.js ...
9 years, 1 month ago (2011-11-10 00:02:21 UTC) #9
xiyuan
On 2011/11/10 00:02:21, Evan Stade wrote: > just nits > > Do you plan to ...
9 years, 1 month ago (2011-11-10 00:06:41 UTC) #10
Evan Stade
sure -- Evan Stade On Wed, Nov 9, 2011 at 4:06 PM, <xiyuan@chromium.org> wrote: > ...
9 years, 1 month ago (2011-11-10 00:08:27 UTC) #11
xiyuan
CL updated: - Fixed nits; - Moved card_slider.js, drag_wrapper.js, grabber.js and touch_handler.js into shared and ...
9 years, 1 month ago (2011-11-10 18:25:07 UTC) #12
Evan Stade
grabber.js and touch_handler.js are not actually used (they are copied from touch_ntp, where they are ...
9 years, 1 month ago (2011-11-11 00:17:10 UTC) #13
xiyuan
grabber.js removed. touch_handler.js seems being used by CardSlider.
9 years, 1 month ago (2011-11-11 00:34:50 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/xiyuan@chromium.org/8423055/28001
9 years, 1 month ago (2011-11-11 17:28:55 UTC) #15
commit-bot: I haz the power
9 years, 1 month ago (2011-11-11 17:29:17 UTC) #16
Presubmit check for 8423055-28001 failed and returned exit status 1.

Running presubmit commit checks ...

** Presubmit Warnings **
Found lines longer than 80 characters (first 5 shown).
  chrome/browser/resources/shared/js/cr/ui/touch_handler.js, line 9, 136 chars

Presubmit checks took 3.9s to calculate.

Powered by Google App Engine
This is Rietveld 408576698