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

Side by Side Diff: ash/wm/widget_finder.h

Issue 2798333005: Moves WmWindow::GetInternalWidget() into a standalone function (Closed)
Patch Set: Created 3 years, 8 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 unified diff | Download patch
« no previous file with comments | « ash/common/wm_window.cc ('k') | ash/wm/widget_finder.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « ash/common/wm_window.cc ('k') | ash/wm/widget_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698