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

Issue 22354002: Remove SetModel in ContentsView and SearchBoxView. (Closed)

Created:
7 years, 4 months ago by calamity
Modified:
7 years, 4 months ago
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina, xiyuan, tapted
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Remove SetModel in ContentsView and SearchBoxView. SetModel is only ever used for initialization. Moving the functionality into the constructor allows for easier reasoning about the state of the View. This change is in preparation of the refactor in https://codereview.chromium.org/20656002/. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=215861

Patch Set 1 : #

Patch Set 2 : remove AppListModel stuff from SearchBoxView #

Unified diffs Side-by-side diffs Delta from patch set Stats (+23 lines, -41 lines) Patch
M ui/app_list/views/app_list_main_view.cc View 2 chunks +2 lines, -5 lines 0 comments Download
M ui/app_list/views/contents_view.h View 1 chunk +2 lines, -3 lines 0 comments Download
M ui/app_list/views/contents_view.cc View 2 chunks +6 lines, -11 lines 0 comments Download
M ui/app_list/views/search_box_view.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M ui/app_list/views/search_box_view.cc View 1 3 chunks +10 lines, -19 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
calamity
7 years, 4 months ago (2013-08-06 03:06:56 UTC) #1
koz (OOO until 15th September)
lgtm Thanks for splitting the change up!
7 years, 4 months ago (2013-08-06 03:15:31 UTC) #2
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/22354002/7001
7 years, 4 months ago (2013-08-06 06:46:43 UTC) #3
commit-bot: I haz the power
7 years, 4 months ago (2013-08-06 09:15:08 UTC) #4
Message was sent while issue was closed.
Change committed as 215861

Powered by Google App Engine
This is Rietveld 408576698