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

Unified Diff: ui/wm/core/capture_controller.h

Issue 780273003: Fix releasing capture in Ozone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ui/wm/core/capture_controller.cc » ('j') | ui/wm/core/capture_controller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/wm/core/capture_controller.h
diff --git a/ui/wm/core/capture_controller.h b/ui/wm/core/capture_controller.h
index bd9beb922a803de2935ffe0a096c759a56417d5d..371c02a9554a2636eef54f4c9a9ac8a920b44e21 100644
--- a/ui/wm/core/capture_controller.h
+++ b/ui/wm/core/capture_controller.h
@@ -13,6 +13,12 @@
#include "ui/aura/window_observer.h"
#include "ui/wm/wm_export.h"
+namespace aura {
+namespace client {
+class CaptureDelegate;
+}
+}
+
namespace wm {
// Internal CaptureClient implementation. See ScopedCaptureClient for details.
@@ -44,6 +50,9 @@ class WM_EXPORT CaptureController : public aura::client::CaptureClient {
// The current capture window. NULL if there is no capture window.
aura::Window* capture_window_;
+ // The capture delegate with native capture.
+ aura::client::CaptureDelegate* capture_delegate_;
+
// Set of RootWindows notified when capture changes.
RootWindows root_windows_;
« no previous file with comments | « no previous file | ui/wm/core/capture_controller.cc » ('j') | ui/wm/core/capture_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698