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

Unified Diff: chrome/browser/ui/views/aura/app_list/app_list_model_builder.h

Issue 9559005: aura: Implement app list M19 mock. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use a better way to get ceiling Created 8 years, 10 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 | « ash/test/test_shell_delegate.cc ('k') | chrome/browser/ui/views/aura/app_list/app_list_model_builder.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/aura/app_list/app_list_model_builder.h
diff --git a/chrome/browser/ui/views/aura/app_list/app_list_model_builder.h b/chrome/browser/ui/views/aura/app_list/app_list_model_builder.h
index f9525ebd4d0462dd3a390e98231d5124ef64ab79..493b3ded64d7362eadc5a63d5a3ff1bc971a9b5f 100644
--- a/chrome/browser/ui/views/aura/app_list/app_list_model_builder.h
+++ b/chrome/browser/ui/views/aura/app_list/app_list_model_builder.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -7,6 +7,7 @@
#pragma once
#include "base/gtest_prod_util.h"
+#include "base/string16.h"
#include "ash/app_list/app_list_model.h"
class Profile;
@@ -17,13 +18,15 @@ class AppListModelBuilder {
virtual ~AppListModelBuilder();
// Populates the model.
- void Build();
+ void Build(const std::string& query);
private:
+ typedef std::vector<ash::AppListItemModel*> Items;
+
FRIEND_TEST_ALL_PREFIXES(AppListModelBuilderTest, GetExtensionApps);
- void GetExtensionApps();
- void GetBrowserCommands();
+ void GetExtensionApps(const string16& query, Items* items);
+ void GetBrowserCommands(const string16& query, Items* items);
Profile* profile_;
ash::AppListModel* model_;
« no previous file with comments | « ash/test/test_shell_delegate.cc ('k') | chrome/browser/ui/views/aura/app_list/app_list_model_builder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698