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

Unified Diff: ash/wm_window.h

Issue 2908793002: [mus+ash] Removes WmWindow from ash/wm/overview and ash/wm/workspace (Closed)
Patch Set: Created 3 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
« no previous file with comments | « ash/wm/workspace_controller.cc ('k') | ash/wm_window.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm_window.h
diff --git a/ash/wm_window.h b/ash/wm_window.h
index e81d8566d2a3385f63c1dfc22057d5f3482abf34..2e6595a092ffc8fbf82717202c9399aba4adb567 100644
--- a/ash/wm_window.h
+++ b/ash/wm_window.h
@@ -31,7 +31,6 @@ class Transform;
}
namespace ui {
-class EventHandler;
class Layer;
}
@@ -249,10 +248,6 @@ class ASH_EXPORT WmWindow : public ::wm::TransientWindowObserver {
void Hide();
void Show();
- // Requests the window to close and destroy itself. This is intended to
- // forward to an associated widget.
- void CloseWidget();
-
void SetFocused();
bool IsFocused() const;
@@ -290,16 +285,6 @@ class ASH_EXPORT WmWindow : public ::wm::TransientWindowObserver {
void AddTransientWindowObserver(WmTransientWindowObserver* observer);
void RemoveTransientWindowObserver(WmTransientWindowObserver* observer);
- // 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 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);
- void RemoveLimitedPreTargetHandler(ui::EventHandler* handler);
-
private:
explicit WmWindow(aura::Window* window);
« no previous file with comments | « ash/wm/workspace_controller.cc ('k') | ash/wm_window.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698