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

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

Issue 8890049: [Aura] Implement views-based applist. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix win_aura Created 9 years 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: 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
new file mode 100644
index 0000000000000000000000000000000000000000..b421825391539147b8ae94c81cd88af0dd3a3aaf
--- /dev/null
+++ b/chrome/browser/ui/views/aura/app_list/app_list_model_builder.h
@@ -0,0 +1,34 @@
+// Copyright (c) 2011 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.
+
+#ifndef CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_APP_LIST_MODEL_BUILDER_H_
+#define CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_APP_LIST_MODEL_BUILDER_H_
+#pragma once
+
+#include "base/gtest_prod_util.h"
+#include "ui/aura_shell/app_list/app_list_model.h"
+
+class Profile;
+
+class AppListModelBuilder {
+ public:
+ AppListModelBuilder(Profile* profile, aura_shell::AppListModel* model);
+ virtual ~AppListModelBuilder();
+
+ // Populates the model.
+ void Build();
+
+ private:
+ FRIEND_TEST_ALL_PREFIXES(AppListModelBuilderTest, GetExtensionApps);
+
+ void GetExtensionApps();
+ void GetBrowserCommands();
+
+ Profile* profile_;
+ aura_shell::AppListModel* model_;
+
+ DISALLOW_COPY_AND_ASSIGN(AppListModelBuilder);
+};
+
+#endif // CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_APP_LIST_MODEL_BUILDER_H_
« no previous file with comments | « chrome/browser/chromeos/drop_shadow_label.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