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

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

Issue 2190773003: [ABANDONED] Simplify ash shelf dimmer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restore an EventHandler object; fix behavior tests. 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 unified diff | Download patch
« no previous file with comments | « no previous file | 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 29 matching lines...) Expand all
40 40
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;
51 bool IsShowingOverflowBubble() const override; 50 bool IsShowingOverflowBubble() const override;
52 void SchedulePaint() override; 51 void SchedulePaint() override;
53 bool IsVisible() const override; 52 bool IsVisible() const override;
54 void UpdateVisibilityState() override; 53 void UpdateVisibilityState() override;
55 ShelfVisibilityState GetVisibilityState() const override; 54 ShelfVisibilityState GetVisibilityState() const override;
56 gfx::Rect GetIdealBounds() override; 55 gfx::Rect GetIdealBounds() override;
57 gfx::Rect GetUserWorkAreaBounds() const override; 56 gfx::Rect GetUserWorkAreaBounds() const override;
58 void UpdateIconPositionForWindow(WmWindow* window) override; 57 void UpdateIconPositionForWindow(WmWindow* window) override;
59 gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window) override; 58 gfx::Rect GetScreenBoundsOfItemIconForWindow(WmWindow* window) override;
60 bool ProcessGestureEvent(const ui::GestureEvent& event, 59 bool ProcessGestureEvent(const ui::GestureEvent& event,
(...skipping 26 matching lines...) Expand all
87 ShelfGestureHandler gesture_handler_; 86 ShelfGestureHandler gesture_handler_;
88 87
89 base::ObserverList<WmShelfObserver> observers_; 88 base::ObserverList<WmShelfObserver> observers_;
90 89
91 DISALLOW_COPY_AND_ASSIGN(WmShelfAura); 90 DISALLOW_COPY_AND_ASSIGN(WmShelfAura);
92 }; 91 };
93 92
94 } // namespace ash 93 } // namespace ash
95 94
96 #endif // ASH_AURA_WM_SHELF_AURA_H_ 95 #endif // ASH_AURA_WM_SHELF_AURA_H_
OLDNEW
« no previous file with comments | « no previous file | ash/aura/wm_shelf_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698