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

Unified Diff: ui/views/widget/native_widget_private.h

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_private.h
diff --git a/ui/views/widget/native_widget_private.h b/ui/views/widget/native_widget_private.h
index 815ab8f8afe67c35f2d6a846ba305425117b302c..abb3953e4350e30dc06b29d2fa4232b8f97af738 100644
--- a/ui/views/widget/native_widget_private.h
+++ b/ui/views/widget/native_widget_private.h
@@ -73,6 +73,10 @@ class VIEWS_EXPORT NativeWidgetPrivate : public NativeWidget {
static gfx::FontList GetWindowTitleFontList();
+ // Returns the NativeView with capture, otherwise NULL if there is no current
+ // capture set, or if |native_view| has no root.
+ static gfx::NativeView GetCapture(gfx::NativeView native_view);
+
// Initializes the NativeWidget.
virtual void InitNativeWidget(const Widget::InitParams& params) = 0;

Powered by Google App Engine
This is Rietveld 408576698