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

Side by Side Diff: ash/wm/immersive_handler_factory.h

Issue 2265563002: Shuffles around immersive related classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@immersive_pure_virtual
Patch Set: move comment 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 | « ash/wm/immersive_gesture_handler_aura.cc ('k') | ash/wm/immersive_handler_factory.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_WM_IMMERSIVE_HANDLER_FACTORY_H_
6 #define ASH_WM_IMMERSIVE_HANDLER_FACTORY_H_
7
8 #include <memory>
9
10 #include "ash/ash_export.h"
11
12 namespace ash {
13
14 class ImmersiveFocusWatcher;
15 class ImmersiveFullscreenController;
16 class ImmersiveGestureHandler;
17
18 // Used by ImmersiveFullscreenController to create event handlers/watchers.
19 class ASH_EXPORT ImmersiveHandlerFactory {
20 public:
21 static ImmersiveHandlerFactory* Get() { return instance_; }
22
23 virtual std::unique_ptr<ImmersiveFocusWatcher> CreateFocusWatcher(
24 ImmersiveFullscreenController* controller) = 0;
25
26 virtual std::unique_ptr<ImmersiveGestureHandler> CreateGestureHandler(
27 ImmersiveFullscreenController* controller) = 0;
28
29 protected:
30 ImmersiveHandlerFactory();
31 virtual ~ImmersiveHandlerFactory();
32
33 private:
34 static ImmersiveHandlerFactory* instance_;
35 };
36
37 } // namespace ash
38
39 #endif // ASH_WM_IMMERSIVE_HANDLER_FACTORY_H_
OLDNEW
« no previous file with comments | « ash/wm/immersive_gesture_handler_aura.cc ('k') | ash/wm/immersive_handler_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698