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

Unified Diff: ash/common/wm_window.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/system/tray/system_tray.cc ('k') | ash/common/wm_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/wm_window.h
diff --git a/ash/common/wm_window.h b/ash/common/wm_window.h
index 8d7d716a5fdd678327305ef7067e59a828b28dfb..7428827ab38f6576fd13fa62c27d86fb32553de2 100644
--- a/ash/common/wm_window.h
+++ b/ash/common/wm_window.h
@@ -38,7 +38,6 @@ class Layer;
namespace views {
class View;
-class Widget;
}
namespace ash {
@@ -279,11 +278,6 @@ class ASH_EXPORT WmWindow : public aura::WindowObserver,
void Hide();
void Show();
- // Returns the widget associated with this window, or null if not associated
- // with a widget. Only ash system UI widgets are returned, not widgets created
- // by the mus window manager code to show a non-client frame.
- views::Widget* GetInternalWidget();
-
// Requests the window to close and destroy itself. This is intended to
// forward to an associated widget.
void CloseWidget();
@@ -336,7 +330,8 @@ class ASH_EXPORT WmWindow : public aura::WindowObserver,
// Adds or removes a handler to receive events targeted at this window, before
// this window handles the events itself; the handler does not recieve events
// from embedded windows. This only supports windows with internal widgets;
- // see GetInternalWidget(). Ownership of the handler is not transferred.
+ // see ash::GetInternalWidgetForWindow(). Ownership of the handler is not
+ // transferred.
//
// Also note that the target of these events is always an aura::Window.
void AddLimitedPreTargetHandler(ui::EventHandler* handler);
« no previous file with comments | « ash/common/system/tray/system_tray.cc ('k') | ash/common/wm_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698