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

Side by Side Diff: ash/aura/wm_shelf_aura.h

Issue 2164733002: mash: Convert ash shelf overflow bubble to wm common types (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 5 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 unified diff | Download patch
« no previous file with comments | « ash/ash.gyp ('k') | ash/aura/wm_shelf_aura.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_AURA_WM_SHELF_AURA_H_ 5 #ifndef ASH_AURA_WM_SHELF_AURA_H_
6 #define ASH_AURA_WM_SHELF_AURA_H_ 6 #define ASH_AURA_WM_SHELF_AURA_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 #include "ash/common/shelf/wm_shelf.h" 9 #include "ash/common/shelf/wm_shelf.h"
10 #include "ash/shelf/shelf_icon_observer.h" 10 #include "ash/shelf/shelf_icon_observer.h"
(...skipping 30 matching lines...) Expand all
41 // WmShelf: 41 // WmShelf:
42 WmWindow* GetWindow() override; 42 WmWindow* GetWindow() override;
43 ShelfAlignment GetAlignment() const override; 43 ShelfAlignment GetAlignment() const override;
44 void SetAlignment(ShelfAlignment alignment) override; 44 void SetAlignment(ShelfAlignment alignment) override;
45 ShelfAutoHideBehavior GetAutoHideBehavior() const override; 45 ShelfAutoHideBehavior GetAutoHideBehavior() const override;
46 void SetAutoHideBehavior(ShelfAutoHideBehavior behavior) override; 46 void SetAutoHideBehavior(ShelfAutoHideBehavior behavior) override;
47 ShelfAutoHideState GetAutoHideState() const override; 47 ShelfAutoHideState GetAutoHideState() const override;
48 void UpdateAutoHideState() override; 48 void UpdateAutoHideState() override;
49 ShelfBackgroundType GetBackgroundType() const override; 49 ShelfBackgroundType GetBackgroundType() const override;
50 bool IsDimmed() const override; 50 bool IsDimmed() const override;
51 bool IsShowingOverflowBubble() const override;
52 void SchedulePaint() override;
51 bool IsVisible() const override; 53 bool IsVisible() const override;
52 void UpdateVisibilityState() override; 54 void UpdateVisibilityState() override;
53 ShelfVisibilityState GetVisibilityState() const override; 55 ShelfVisibilityState GetVisibilityState() const override;
54 gfx::Rect GetIdealBounds() override; 56 gfx::Rect GetIdealBounds() override;
55 gfx::Rect GetUserWorkAreaBounds() const override; 57 gfx::Rect GetUserWorkAreaBounds() const override;
56 void UpdateIconPositionForWindow(WmWindow* window) override; 58 void UpdateIconPositionForWindow(WmWindow* window) override;
57 gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window) override; 59 gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window) override;
58 bool ProcessGestureEvent(const ui::GestureEvent& event, 60 bool ProcessGestureEvent(const ui::GestureEvent& event,
59 WmWindow* target_window) override; 61 WmWindow* target_window) override;
60 void UpdateAutoHideForMouseEvent(ui::MouseEvent* event) override; 62 void UpdateAutoHideForMouseEvent(ui::MouseEvent* event) override;
(...skipping 22 matching lines...) Expand all
83 ShelfGestureHandler gesture_handler_; 85 ShelfGestureHandler gesture_handler_;
84 86
85 base::ObserverList<WmShelfObserver> observers_; 87 base::ObserverList<WmShelfObserver> observers_;
86 88
87 DISALLOW_COPY_AND_ASSIGN(WmShelfAura); 89 DISALLOW_COPY_AND_ASSIGN(WmShelfAura);
88 }; 90 };
89 91
90 } // namespace ash 92 } // namespace ash
91 93
92 #endif // ASH_AURA_WM_SHELF_AURA_H_ 94 #endif // ASH_AURA_WM_SHELF_AURA_H_
OLDNEW
« no previous file with comments | « ash/ash.gyp ('k') | ash/aura/wm_shelf_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698