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

Unified Diff: ui/aura/desktop_delegate.h

Issue 8247012: Positions the launcher in the bottom left corner. Adds ShellDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix TestDesktopDelegate Created 9 years, 2 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/aura/desktop_delegate.h
diff --git a/ui/aura/desktop_delegate.h b/ui/aura/desktop_delegate.h
index 5438533e92572115e3d49354b7dc258c02635163..c09a6978f33a5d02e86a48dbc5ea3fdaee573cba 100644
--- a/ui/aura/desktop_delegate.h
+++ b/ui/aura/desktop_delegate.h
@@ -23,6 +23,14 @@ class AURA_EXPORT DesktopDelegate {
// Returns the window that should be activated other than |ignore|.
virtual Window* GetTopmostWindowToActivate(Window* ignore) const = 0;
+
+ // TODO(sky): convert these to DesktopObserver methods once Sadrul lands his
+ // patch.
+ // Invoked when a window is added.
+ virtual void WindowAdded(Window* window) = 0;
+
+ // Invoked before a window is removed.
+ virtual void WillRemoveWindow(Window* window) = 0;
};
} // namespace aura
« no previous file with comments | « ui/aura/desktop.cc ('k') | ui/aura/test/test_desktop_delegate.h » ('j') | ui/aura/window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698