| Index: ui/app_list/views/search_result_container_view.h
|
| diff --git a/ui/app_list/views/search_result_container_view.h b/ui/app_list/views/search_result_container_view.h
|
| index 8c941a8ae04d821a58b938513604b4710131fb53..e4f5fd82d0344562a8c20daf54a42825c6d70f33 100644
|
| --- a/ui/app_list/views/search_result_container_view.h
|
| +++ b/ui/app_list/views/search_result_container_view.h
|
| @@ -61,9 +61,8 @@ class APP_LIST_EXPORT SearchResultContainerView : public views::View,
|
| // container.
|
| virtual int GetYSize() = 0;
|
|
|
| - // Schedules an Update call using |update_factory_|. Do nothing if there is a
|
| - // pending call.
|
| - void ScheduleUpdate();
|
| + // Batching method that actually performs the update and updates layout.
|
| + void Update();
|
|
|
| // Returns whether an update is currently scheduled for this container.
|
| bool UpdateScheduled();
|
| @@ -83,15 +82,16 @@ class APP_LIST_EXPORT SearchResultContainerView : public views::View,
|
| bool directional_movement) = 0;
|
|
|
| private:
|
| + // Schedules an Update call using |update_factory_|. Do nothing if there is a
|
| + // pending call.
|
| + void ScheduleUpdate();
|
| +
|
| // Updates UI with model. Returns the number of visible results.
|
| - virtual int Update() = 0;
|
| + virtual int DoUpdate() = 0;
|
|
|
| // Updates UI for a change in the selected index.
|
| virtual void UpdateSelectedIndex(int old_selected, int new_selected) = 0;
|
|
|
| - // Batching method that actually performs the update and updates layout.
|
| - void DoUpdate();
|
| -
|
| Delegate* delegate_;
|
|
|
| int selected_index_;
|
|
|