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

Unified Diff: chrome/browser/ui/ash/launcher/test/launcher_application_menu_item_model_test_api.h

Issue 2671923002: mash: Cleanup ash shelf application menu code. (Closed)
Patch Set: Add 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/test/launcher_application_menu_item_model_test_api.h
diff --git a/chrome/browser/ui/ash/launcher/test/launcher_application_menu_item_model_test_api.h b/chrome/browser/ui/ash/launcher/test/launcher_application_menu_item_model_test_api.h
deleted file mode 100644
index 33a33b56114adfcb6dd6464ac1b8f2773717a08a..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/ash/launcher/test/launcher_application_menu_item_model_test_api.h
+++ /dev/null
@@ -1,36 +0,0 @@
-// Copyright 2015 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_TEST_LAUNCHER_APPLICATION_MENU_ITEM_MODEL_TEST_API_H_
-#define CHROME_BROWSER_UI_ASH_LAUNCHER_TEST_LAUNCHER_APPLICATION_MENU_ITEM_MODEL_TEST_API_H_
-
-#include "chrome/browser/ui/ash/launcher/launcher_application_menu_item_model.h"
-#include "base/macros.h"
-
-// Test API to provide internal access to a LauncherApplicationMenuItemModel.
-class LauncherApplicationMenuItemModelTestAPI {
- public:
- // Creates a test api to access the internals of the |menu_item_model|.
- explicit LauncherApplicationMenuItemModelTestAPI(
- LauncherApplicationMenuItemModel* menu_item_model);
- ~LauncherApplicationMenuItemModelTestAPI();
-
- // Wrapper function for
- // LauncherApplicationMenuItemModel::GetNumMenuItemsEnabled.
- int GetNumMenuItemsEnabled() const;
-
- // Wrapper function for
- // LauncherApplicationMenuItemModel::RecordMenuItemSelectedMetrics.
- void RecordMenuItemSelectedMetrics(int command_id,
- int num_menu_items_enabled);
-
- private:
- // The LauncherApplicationMenuItemModel to provide internal access to.
- // Not owned.
- LauncherApplicationMenuItemModel* menu_item_model_;
-
- DISALLOW_COPY_AND_ASSIGN(LauncherApplicationMenuItemModelTestAPI);
-};
-
-#endif // CHROME_BROWSER_UI_ASH_LAUNCHER_TEST_LAUNCHER_APPLICATION_MENU_ITEM_MODEL_TEST_API_H_

Powered by Google App Engine
This is Rietveld 408576698