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

Unified Diff: ash/system/web_notification/ash_popup_alignment_delegate.h

Issue 2899253002: chromeos: Rename ash::WmShelf to Shelf (Closed)
Patch Set: rebase Created 3 years, 7 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/system/web_notification/ash_popup_alignment_delegate.h
diff --git a/ash/system/web_notification/ash_popup_alignment_delegate.h b/ash/system/web_notification/ash_popup_alignment_delegate.h
index 0bf17dcd5826c036288088ee3804282ba7f76801..009dfa0ca0a12833a2a0e733181cdfceacc58fe1 100644
--- a/ash/system/web_notification/ash_popup_alignment_delegate.h
+++ b/ash/system/web_notification/ash_popup_alignment_delegate.h
@@ -9,7 +9,7 @@
#include "ash/ash_export.h"
#include "ash/public/cpp/shelf_types.h"
-#include "ash/shelf/wm_shelf_observer.h"
+#include "ash/shelf/shelf_observer.h"
#include "ash/shell_observer.h"
#include "base/macros.h"
#include "ui/display/display_observer.h"
@@ -23,18 +23,18 @@ class Screen;
namespace ash {
class AshPopupAlignmentDelegateTest;
+class Shelf;
class WebNotificationTrayTest;
-class WmShelf;
// The PopupAlignmentDelegate subclass for Ash. It needs to handle alignment of
// the shelf and its autohide state.
class ASH_EXPORT AshPopupAlignmentDelegate
: public message_center::PopupAlignmentDelegate,
- public WmShelfObserver,
+ public ShelfObserver,
public ShellObserver,
public display::DisplayObserver {
public:
- explicit AshPopupAlignmentDelegate(WmShelf* shelf);
+ explicit AshPopupAlignmentDelegate(Shelf* shelf);
~AshPopupAlignmentDelegate() override;
// Start observing the system.
@@ -72,7 +72,7 @@ class ASH_EXPORT AshPopupAlignmentDelegate
// Compute the new work area.
void UpdateWorkArea();
- // WmShelfObserver:
+ // ShelfObserver:
void WillChangeVisibilityState(ShelfVisibilityState new_state) override;
void OnAutoHideStateChanged(ShelfAutoHideState new_state) override;
@@ -84,7 +84,7 @@ class ASH_EXPORT AshPopupAlignmentDelegate
display::Screen* screen_;
gfx::Rect work_area_;
- WmShelf* shelf_;
+ Shelf* shelf_;
int tray_bubble_height_;
DISALLOW_COPY_AND_ASSIGN(AshPopupAlignmentDelegate);
« no previous file with comments | « ash/system/virtual_keyboard/virtual_keyboard_tray.cc ('k') | ash/system/web_notification/ash_popup_alignment_delegate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698