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

Unified Diff: chrome/browser/ui/views/aura/app_list/browser_command_item.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/browser_command_item.h
diff --git a/chrome/browser/ui/views/aura/app_list/browser_command_item.h b/chrome/browser/ui/views/aura/app_list/browser_command_item.h
new file mode 100644
index 0000000000000000000000000000000000000000..26c896f044e3616003f6b8b28674350db51beda9
--- /dev/null
+++ b/chrome/browser/ui/views/aura/app_list/browser_command_item.h
@@ -0,0 +1,31 @@
+// 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_BROWSER_COMMAND_ITEM_H_
+#define CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_BROWSER_COMMAND_ITEM_H_
+#pragma once
+
+#include "chrome/browser/ui/views/aura/app_list/chrome_app_list_item.h"
+
+class Browser;
+
+class BrowserCommandItem : public ChromeAppListItem {
+ public:
+ BrowserCommandItem(Browser* browser,
+ int command_id,
+ int title_id,
+ int icon_id);
+ virtual ~BrowserCommandItem();
+
+ private:
+ // Overridden from ChromeAppListItem:
+ virtual void Activate(int event_flags) OVERRIDE;
+
+ Browser* browser_;
+ int command_id_;
+
+ DISALLOW_COPY_AND_ASSIGN(BrowserCommandItem);
+};
+
+#endif // CHROME_BROWSER_UI_VIEWS_AURA_APP_LIST_BROWSER_COMMAND_ITEM_H_

Powered by Google App Engine
This is Rietveld 408576698