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

Side by Side Diff: chrome/browser/ui/views/frame/immersive_context_mus.h

Issue 2577963006: Revert of Converts chrome to aura-mus (Closed)
Patch Set: Created 4 years 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
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 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 namespace aura {
12 namespace client {
13 class CaptureClient;
14 }
15 }
16
17 class ImmersiveContextMus : public ash::ImmersiveContext { 11 class ImmersiveContextMus : public ash::ImmersiveContext {
18 public: 12 public:
19 explicit ImmersiveContextMus(aura::client::CaptureClient* capture_client); 13 ImmersiveContextMus();
20 ~ImmersiveContextMus() override; 14 ~ImmersiveContextMus() override;
21 15
22 // ash::ImmersiveContext: 16 // ash::ImmersiveContext:
23 void InstallResizeHandleWindowTargeter( 17 void InstallResizeHandleWindowTargeter(
24 ash::ImmersiveFullscreenController* controller) override; 18 ash::ImmersiveFullscreenController* controller) override;
25 void OnEnteringOrExitingImmersive( 19 void OnEnteringOrExitingImmersive(
26 ash::ImmersiveFullscreenController* controller, 20 ash::ImmersiveFullscreenController* controller,
27 bool entering) override; 21 bool entering) override;
28 gfx::Rect GetDisplayBoundsInScreen(views::Widget* widget) override; 22 gfx::Rect GetDisplayBoundsInScreen(views::Widget* widget) override;
29 void AddPointerWatcher(views::PointerWatcher* watcher, 23 void AddPointerWatcher(views::PointerWatcher* watcher,
30 views::PointerWatcherEventTypes events) override; 24 views::PointerWatcherEventTypes events) override;
31 void RemovePointerWatcher(views::PointerWatcher* watcher) override; 25 void RemovePointerWatcher(views::PointerWatcher* watcher) override;
32 bool DoesAnyWindowHaveCapture() override; 26 bool DoesAnyWindowHaveCapture() override;
33 bool IsMouseEventsEnabled() override; 27 bool IsMouseEventsEnabled() override;
34 28
35 private: 29 private:
36 aura::client::CaptureClient* capture_client_;
37
38 DISALLOW_COPY_AND_ASSIGN(ImmersiveContextMus); 30 DISALLOW_COPY_AND_ASSIGN(ImmersiveContextMus);
39 }; 31 };
40 32
41 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_CONTEXT_MUS_H_ 33 #endif // CHROME_BROWSER_UI_VIEWS_FRAME_IMMERSIVE_CONTEXT_MUS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698