| 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 CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_CONTEXT_MUS_H_ | 5 #ifndef CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_CONTEXT_MUS_H_ |
| 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_CONTEXT_MUS_H_ | 6 #define CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_CONTEXT_MUS_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 class ImmersiveContextMus : public ash::ImmersiveContext { | 11 class ImmersiveContextMus : public ash::ImmersiveContext { |
| 12 public: | 12 public: |
| 13 ImmersiveContextMus(); | 13 ImmersiveContextMus(); |
| 14 ~ImmersiveContextMus() override; | 14 ~ImmersiveContextMus() override; |
| 15 | 15 |
| 16 // ash::ImmersiveContext: | 16 // ash::ImmersiveContext: |
| 17 void InstallResizeHandleWindowTargeter( | 17 void InstallResizeHandleWindowTargeter( |
| 18 ash::ImmersiveFullscreenController* controller) override; | 18 ash::ImmersiveFullscreenController* controller) override; |
| 19 void OnEnteringOrExitingImmersive( | 19 void OnEnteringOrExitingImmersive( |
| 20 ash::ImmersiveFullscreenController* controller, | 20 ash::ImmersiveFullscreenController* controller, |
| 21 bool entering) override; | 21 bool entering) override; |
| 22 gfx::Rect GetDisplayBoundsInScreen(views::Widget* widget) override; | 22 gfx::Rect GetDisplayBoundsInScreen(views::Widget* widget) override; |
| 23 void AddPointerWatcher(views::PointerWatcher* watcher, | 23 void AddPointerWatcher(views::PointerWatcher* watcher, |
| 24 bool wants_moves) override; | 24 views::PointerWatcherEventTypes events) override; |
| 25 void RemovePointerWatcher(views::PointerWatcher* watcher) override; | 25 void RemovePointerWatcher(views::PointerWatcher* watcher) override; |
| 26 bool DoesAnyWindowHaveCapture() override; | 26 bool DoesAnyWindowHaveCapture() override; |
| 27 bool IsMouseEventsEnabled() override; | 27 bool IsMouseEventsEnabled() override; |
| 28 | 28 |
| 29 private: | 29 private: |
| 30 DISALLOW_COPY_AND_ASSIGN(ImmersiveContextMus); | 30 DISALLOW_COPY_AND_ASSIGN(ImmersiveContextMus); |
| 31 }; | 31 }; |
| 32 | 32 |
| 33 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_CONTEXT_MUS_H_ | 33 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_CONTEXT_MUS_H_ |
| OLD | NEW |