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

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

Issue 2626483002: Removes WmShelfAura and WmShelfMus (Closed)
Patch Set: merge Created 3 years, 11 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/aura/wm_root_window_controller_aura.cc ('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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef ASH_AURA_WM_SHELF_AURA_H_
6 #define ASH_AURA_WM_SHELF_AURA_H_
7
8 #include "ash/ash_export.h"
9 #include "ash/common/shelf/wm_shelf.h"
10 #include "base/macros.h"
11
12 namespace ash {
13
14 class ShelfBezelEventHandler;
15
16 // Aura implementation of WmShelf.
17 class ASH_EXPORT WmShelfAura : public WmShelf {
18 public:
19 WmShelfAura();
20 ~WmShelfAura() override;
21
22 // WmShelf:
23 void CreateShelfWidget(WmWindow* root) override;
24 void WillDeleteShelfLayoutManager() override;
25 void WillChangeVisibilityState(ShelfVisibilityState new_state) override;
26
27 private:
28 class AutoHideEventHandler;
29
30 // Forwards mouse and gesture events to ShelfLayoutManager for auto-hide.
31 // TODO(mash): Facilitate simliar functionality in mash: crbug.com/631216
32 std::unique_ptr<AutoHideEventHandler> auto_hide_event_handler_;
33
34 // Forwards touch gestures on a bezel sensor to the shelf.
35 // TODO(mash): Facilitate simliar functionality in mash: crbug.com/636647
36 std::unique_ptr<ShelfBezelEventHandler> bezel_event_handler_;
37
38 DISALLOW_COPY_AND_ASSIGN(WmShelfAura);
39 };
40
41 } // namespace ash
42
43 #endif // ASH_AURA_WM_SHELF_AURA_H_
OLDNEW
« no previous file with comments | « ash/aura/wm_root_window_controller_aura.cc ('k') | ash/aura/wm_shelf_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698