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

Unified Diff: ash/shell/shelf_delegate_impl.h

Issue 2279533002: ash: Convert ShelfDelegate to use WmShelf* instead of Shelf* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: curlies Created 4 years, 4 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/shelf/shelf_widget_unittest.cc ('k') | ash/shell/shelf_delegate_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/shelf_delegate_impl.h
diff --git a/ash/shell/shelf_delegate_impl.h b/ash/shell/shelf_delegate_impl.h
deleted file mode 100644
index f957b6271ae0dc5ea32723055914c6004d43d7d4..0000000000000000000000000000000000000000
--- a/ash/shell/shelf_delegate_impl.h
+++ /dev/null
@@ -1,43 +0,0 @@
-// Copyright 2013 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 ASH_SHELL_SHELF_DELEGATE_IMPL_H_
-#define ASH_SHELL_SHELF_DELEGATE_IMPL_H_
-
-#include "ash/common/shelf/shelf_delegate.h"
-#include "base/compiler_specific.h"
-#include "base/macros.h"
-
-namespace ash {
-namespace shell {
-
-// TODO(jamescook): Replace with TestShelfDelegate so we don't have to maintain
-// two stub implementations.
-class ShelfDelegateImpl : public ShelfDelegate {
- public:
- ShelfDelegateImpl();
- ~ShelfDelegateImpl() override;
-
- // ShelfDelegate overrides:
- void OnShelfCreated(Shelf* shelf) override;
- void OnShelfDestroyed(Shelf* shelf) override;
- void OnShelfAlignmentChanged(Shelf* shelf) override;
- void OnShelfAutoHideBehaviorChanged(Shelf* shelf) override;
- void OnShelfAutoHideStateChanged(Shelf* shelf) override;
- void OnShelfVisibilityStateChanged(Shelf* shelf) override;
- ShelfID GetShelfIDForAppID(const std::string& app_id) override;
- bool HasShelfIDToAppIDMapping(ShelfID id) const override;
- const std::string& GetAppIDForShelfID(ShelfID id) override;
- void PinAppWithID(const std::string& app_id) override;
- bool IsAppPinned(const std::string& app_id) override;
- void UnpinAppWithID(const std::string& app_id) override;
-
- private:
- DISALLOW_COPY_AND_ASSIGN(ShelfDelegateImpl);
-};
-
-} // namespace shell
-} // namespace ash
-
-#endif // ASH_SHELL_SHELF_DELEGATE_IMPL_H_
« no previous file with comments | « ash/shelf/shelf_widget_unittest.cc ('k') | ash/shell/shelf_delegate_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698