OLD | NEW |
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_COMMON_WM_IMMERSIVE_CONTEXT_ASH_H_ | 5 #ifndef ASH_WM_IMMERSIVE_CONTEXT_ASH_H_ |
6 #define ASH_COMMON_WM_IMMERSIVE_CONTEXT_ASH_H_ | 6 #define ASH_WM_IMMERSIVE_CONTEXT_ASH_H_ |
7 | 7 |
8 #include "ash/shared/immersive_context.h" | 8 #include "ash/shared/immersive_context.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 | 10 |
11 namespace ash { | 11 namespace ash { |
12 | 12 |
13 class ASH_EXPORT ImmersiveContextAsh : public ImmersiveContext { | 13 class ASH_EXPORT ImmersiveContextAsh : public ImmersiveContext { |
14 public: | 14 public: |
15 ImmersiveContextAsh(); | 15 ImmersiveContextAsh(); |
16 ~ImmersiveContextAsh() override; | 16 ~ImmersiveContextAsh() override; |
17 | 17 |
18 // ImmersiveContext: | 18 // ImmersiveContext: |
19 void InstallResizeHandleWindowTargeter( | 19 void InstallResizeHandleWindowTargeter( |
20 ImmersiveFullscreenController* controller) override; | 20 ImmersiveFullscreenController* controller) override; |
21 void OnEnteringOrExitingImmersive(ImmersiveFullscreenController* controller, | 21 void OnEnteringOrExitingImmersive(ImmersiveFullscreenController* controller, |
22 bool entering) override; | 22 bool entering) override; |
23 gfx::Rect GetDisplayBoundsInScreen(views::Widget* widget) override; | 23 gfx::Rect GetDisplayBoundsInScreen(views::Widget* widget) override; |
24 void AddPointerWatcher(views::PointerWatcher* watcher, | 24 void AddPointerWatcher(views::PointerWatcher* watcher, |
25 views::PointerWatcherEventTypes events) override; | 25 views::PointerWatcherEventTypes events) override; |
26 void RemovePointerWatcher(views::PointerWatcher* watcher) override; | 26 void RemovePointerWatcher(views::PointerWatcher* watcher) override; |
27 bool DoesAnyWindowHaveCapture() override; | 27 bool DoesAnyWindowHaveCapture() override; |
28 bool IsMouseEventsEnabled() override; | 28 bool IsMouseEventsEnabled() override; |
29 | 29 |
30 private: | 30 private: |
31 DISALLOW_COPY_AND_ASSIGN(ImmersiveContextAsh); | 31 DISALLOW_COPY_AND_ASSIGN(ImmersiveContextAsh); |
32 }; | 32 }; |
33 | 33 |
34 } // namespace ash | 34 } // namespace ash |
35 | 35 |
36 #endif // ASH_COMMON_WM_IMMERSIVE_CONTEXT_ASH_H_ | 36 #endif // ASH_WM_IMMERSIVE_CONTEXT_ASH_H_ |
OLD | NEW |