OLD | NEW |
(Empty) | |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ASH_WIDGET_FINDER_H_ |
| 6 #define ASH_WIDGET_FINDER_H_ |
| 7 |
| 8 #include "ash/ash_export.h" |
| 9 |
| 10 namespace aura { |
| 11 class Window; |
| 12 } |
| 13 |
| 14 namespace views { |
| 15 class Widget; |
| 16 } |
| 17 |
| 18 namespace ash { |
| 19 |
| 20 // Returns the widget associated with |window|, or null if not associated with |
| 21 // a widget. Only ash system UI widgets are returned, not widgets created |
| 22 // by the mus window manager code to show a non-client frame. |
| 23 ASH_EXPORT views::Widget* GetInternalWidgetForWindow(aura::Window* window); |
| 24 |
| 25 } // namespace ash |
| 26 |
| 27 #endif // ASH_WIDGET_FINDER_H_ |
OLD | NEW |