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

Unified Diff: ui/aura/desktop.cc

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.cc
diff --git a/ui/aura/desktop.cc b/ui/aura/desktop.cc
index 565628e5139741a1a1e3a37d23dfaed8377fe132..f5b8dbec2736f60ce77bb6cfd6d92a7dee04fa09 100644
--- a/ui/aura/desktop.cc
+++ b/ui/aura/desktop.cc
@@ -160,6 +160,16 @@ void Desktop::WindowDestroying(Window* window) {
SetActiveWindow(delegate_->GetTopmostWindowToActivate(window), NULL);
}
+void Desktop::WindowAdded(Window* window) {
+ if (delegate_.get())
+ delegate_->WindowAdded(window);
+}
+
+void Desktop::WillRemoveWindow(Window* window) {
+ if (delegate_.get())
+ delegate_->WillRemoveWindow(window);
+}
+
MessageLoop::Dispatcher* Desktop::GetDispatcher() {
return host_.get();
}
« no previous file with comments | « ui/aura/desktop.h ('k') | ui/aura/desktop_delegate.h » ('j') | ui/aura/window.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698