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

Unified Diff: ui/app_list/page_switcher.cc

Issue 10386224: app_list: Add search box and search result view for v2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase, rename and add chrome search Created 8 years, 7 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
Index: ui/app_list/page_switcher.cc
diff --git a/ui/app_list/page_switcher.cc b/ui/app_list/page_switcher.cc
index e1c86eb791b21284a29a734872e1d54255c68b37..a157061938324b68e60911cc54f164400c0699cf 100644
--- a/ui/app_list/page_switcher.cc
+++ b/ui/app_list/page_switcher.cc
@@ -6,6 +6,7 @@
#include "third_party/skia/include/core/SkPath.h"
#include "ui/app_list/pagination_model.h"
+#include "ui/app_list/view_ids.h"
#include "ui/base/animation/throb_animation.h"
#include "ui/gfx/canvas.h"
#include "ui/views/controls/button/custom_button.h"
@@ -99,6 +100,8 @@ namespace app_list {
PageSwitcher::PageSwitcher(PaginationModel* model)
: model_(model),
buttons_(NULL) {
+ set_id(VIEW_ID_PAGE_SWITCHER);
+
buttons_ = new views::View;
buttons_->SetLayoutManager(new views::BoxLayout(
views::BoxLayout::kHorizontal, 0, 0, kButtonSpacing));

Powered by Google App Engine
This is Rietveld 408576698