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

Unified Diff: ui/app_list/views/contents_view.h

Issue 331413003: Slight refactor of search result handling in ContentsView. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/app_list/views/contents_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/contents_view.h
diff --git a/ui/app_list/views/contents_view.h b/ui/app_list/views/contents_view.h
index c9dfa0bcd3f56568eaa025bcd7e8e5c5d3991a5d..2a67248e95cea18cc7d167b4e96975f3b50b8129 100644
--- a/ui/app_list/views/contents_view.h
+++ b/ui/app_list/views/contents_view.h
@@ -88,8 +88,12 @@ class APP_LIST_EXPORT ContentsView : public views::View {
virtual bool OnMouseWheel(const ui::MouseWheelEvent& event) OVERRIDE;
private:
+ // Sets the active launcher page, accounting for whether the change is for
+ // search results.
+ void SetActivePageInternal(int page_index, bool show_search_results);
+
// Invoked when active view is changed.
- void ActivePageChanged();
+ void ActivePageChanged(bool show_search_results);
void CalculateIdealBounds();
void AnimateToIdealBounds();
« no previous file with comments | « no previous file | ui/app_list/views/contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698