| 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 #include "chrome/browser/ui/views/frame/immersive_context_mus.h" | 5 #include "chrome/browser/ui/views/frame/immersive_context_mus.h" |
| 6 | 6 |
| 7 #include "ui/aura/client/capture_client.h" | 7 #include "ui/aura/client/capture_client.h" |
| 8 #include "ui/views/mus/mus_client.h" | 8 #include "ui/views/mus/mus_client.h" |
| 9 #include "ui/views/mus/pointer_watcher_event_router2.h" | 9 #include "ui/views/mus/pointer_watcher_event_router.h" |
| 10 #include "ui/views/pointer_watcher.h" | 10 #include "ui/views/pointer_watcher.h" |
| 11 | 11 |
| 12 ImmersiveContextMus::ImmersiveContextMus( | 12 ImmersiveContextMus::ImmersiveContextMus( |
| 13 aura::client::CaptureClient* capture_client) | 13 aura::client::CaptureClient* capture_client) |
| 14 : capture_client_(capture_client) {} | 14 : capture_client_(capture_client) {} |
| 15 | 15 |
| 16 ImmersiveContextMus::~ImmersiveContextMus() {} | 16 ImmersiveContextMus::~ImmersiveContextMus() {} |
| 17 | 17 |
| 18 void ImmersiveContextMus::InstallResizeHandleWindowTargeter( | 18 void ImmersiveContextMus::InstallResizeHandleWindowTargeter( |
| 19 ash::ImmersiveFullscreenController* controller) { | 19 ash::ImmersiveFullscreenController* controller) { |
| (...skipping 30 matching lines...) Expand all Loading... |
| 50 | 50 |
| 51 bool ImmersiveContextMus::DoesAnyWindowHaveCapture() { | 51 bool ImmersiveContextMus::DoesAnyWindowHaveCapture() { |
| 52 return capture_client_->GetGlobalCaptureWindow() != nullptr; | 52 return capture_client_->GetGlobalCaptureWindow() != nullptr; |
| 53 } | 53 } |
| 54 | 54 |
| 55 bool ImmersiveContextMus::IsMouseEventsEnabled() { | 55 bool ImmersiveContextMus::IsMouseEventsEnabled() { |
| 56 // TODO: http://crbug.com/640374. | 56 // TODO: http://crbug.com/640374. |
| 57 NOTIMPLEMENTED(); | 57 NOTIMPLEMENTED(); |
| 58 return true; | 58 return true; |
| 59 } | 59 } |
| OLD | NEW |