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

Unified Diff: ui/views/widget/native_widget_aura.cc

Issue 1953753002: Turn RootWindowController Menus Async (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Testing Created 4 years, 7 months 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
Index: ui/views/widget/native_widget_aura.cc
diff --git a/ui/views/widget/native_widget_aura.cc b/ui/views/widget/native_widget_aura.cc
index 436eaae3667a78f15016519e18ef95148e5af427..aa509a128c1b6c94e1f8eac1c2278e0c350ec4df 100644
--- a/ui/views/widget/native_widget_aura.cc
+++ b/ui/views/widget/native_widget_aura.cc
@@ -10,6 +10,7 @@
#include "build/build_config.h"
#include "third_party/skia/include/core/SkRegion.h"
#include "ui/aura/client/aura_constants.h"
+#include "ui/aura/client/capture_client.h"
#include "ui/aura/client/cursor_client.h"
#include "ui/aura/client/focus_client.h"
#include "ui/aura/client/screen_position_client.h"
@@ -1184,5 +1185,10 @@ gfx::FontList NativeWidgetPrivate::GetWindowTitleFontList() {
#endif
}
+// static
+gfx::NativeView NativeWidgetPrivate::GetCapture(gfx::NativeView native_view) {
+ return aura::client::GetCaptureWindow(native_view);
+}
+
} // namespace internal
} // namespace views

Powered by Google App Engine
This is Rietveld 408576698