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

Unified Diff: chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.h

Issue 2716403005: mash: Remove shelf app menu item objects. (Closed)
Patch Set: Address comments. Created 3 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
Index: chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.h
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.h b/chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.h
deleted file mode 100644
index 82f2a82e8d4c94c1a084e89b2a081f131f3d095c..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_app_menu_item_v2app.h
+++ /dev/null
@@ -1,41 +0,0 @@
-// 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.
-
-#ifndef CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_V2APP_H_
-#define CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_V2APP_H_
-
-#include <string>
-
-#include "ash/public/cpp/shelf_application_menu_item.h"
-#include "base/macros.h"
-
-class ChromeLauncherController;
-
-// A shelf application menu item for a running V2 application.
-class ChromeLauncherAppMenuItemV2App : public ash::ShelfApplicationMenuItem {
- public:
- ChromeLauncherAppMenuItemV2App(const base::string16 title,
- const gfx::Image* icon,
- const std::string& app_id,
- ChromeLauncherController* launcher_controller,
- int app_index);
- ~ChromeLauncherAppMenuItemV2App() override;
-
- // ash::ShelfApplicationMenuItem:
- void Execute(int event_flags) override;
-
- private:
- // The owning class which can be used to validate the controller.
- ChromeLauncherController* launcher_controller_;
-
- // The application ID.
- const std::string app_id_;
-
- // The index for the given application.
- const int app_index_;
-
- DISALLOW_COPY_AND_ASSIGN(ChromeLauncherAppMenuItemV2App);
-};
-
-#endif // CHROME_BROWSER_UI_ASH_LAUNCHER_CHROME_LAUNCHER_APP_MENU_ITEM_V2APP_H_

Powered by Google App Engine
This is Rietveld 408576698