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

Unified Diff: ash/wm/aura/wm_shelf_aura.h

Issue 2035543004: Shuffles and renames ash/common/wm classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: random changes for chrome tests Created 4 years, 6 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: ash/wm/aura/wm_shelf_aura.h
diff --git a/ash/wm/aura/wm_shelf_aura.h b/ash/wm/aura/wm_shelf_aura.h
deleted file mode 100644
index e078e418b419f0f0cc4c5b3f21bacc1e4ac239e2..0000000000000000000000000000000000000000
--- a/ash/wm/aura/wm_shelf_aura.h
+++ /dev/null
@@ -1,65 +0,0 @@
-// Copyright 2016 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_WM_AURA_WM_SHELF_AURA_H_
-#define ASH_WM_AURA_WM_SHELF_AURA_H_
-
-#include "ash/ash_export.h"
-#include "ash/common/wm/shelf/wm_shelf.h"
-#include "ash/shelf/shelf_icon_observer.h"
-#include "ash/shelf/shelf_layout_manager_observer.h"
-#include "base/macros.h"
-#include "base/observer_list.h"
-
-namespace ash {
-
-class Shelf;
-class ShelfLayoutManager;
-
-namespace wm {
-
-// Aura implementation of WmShelf.
-class ASH_EXPORT WmShelfAura : public WmShelf,
- public ShelfLayoutManagerObserver,
- public ShelfIconObserver {
- public:
- explicit WmShelfAura(Shelf* shelf);
- ~WmShelfAura() override;
-
- static Shelf* GetShelf(WmShelf* shelf);
-
- private:
- // WmShelf:
- WmWindow* GetWindow() override;
- ShelfAlignment GetAlignment() const override;
- ShelfBackgroundType GetBackgroundType() const override;
- void UpdateVisibilityState() override;
- ShelfVisibilityState GetVisibilityState() const override;
- void UpdateIconPositionForWindow(WmWindow* window) override;
- gfx::Rect GetScreenBoundsOfItemIconForWindow(wm::WmWindow* window) override;
- void AddObserver(WmShelfObserver* observer) override;
- void RemoveObserver(WmShelfObserver* observer) override;
-
- // ShelfLayoutManagerObserver:
- void WillDeleteShelfLayoutManager() override;
- void OnBackgroundUpdated(wm::ShelfBackgroundType background_type,
- BackgroundAnimatorChangeType change_type) override;
- void WillChangeVisibilityState(ShelfVisibilityState new_state) override;
-
- // ShelfIconObserver:
- void OnShelfIconPositionsChanged() override;
-
- Shelf* shelf_;
- base::ObserverList<WmShelfObserver> observers_;
- // ShelfLayoutManager is cached separately as it may be destroyed before
- // WmShelfAura.
- ShelfLayoutManager* shelf_layout_manager_;
-
- DISALLOW_COPY_AND_ASSIGN(WmShelfAura);
-};
-
-} // namespace wm
-} // namespace ash
-
-#endif // ASH_WM_AURA_WM_SHELF_AURA_H_

Powered by Google App Engine
This is Rietveld 408576698