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

Unified Diff: ui/aura/desktop.cc

Issue 8555025: aura: Draw drop shadows under browsers and menus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: minor changes Created 9 years, 1 month 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 | « ui/aura/desktop.h ('k') | ui/aura/desktop_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/desktop.cc
diff --git a/ui/aura/desktop.cc b/ui/aura/desktop.cc
index 2f6bde8b8459871b0ce8203c41ff5e28c4619249..ffbf793e3d5f80ebe414725918318b8a736c7320 100644
--- a/ui/aura/desktop.cc
+++ b/ui/aura/desktop.cc
@@ -382,6 +382,10 @@ void Desktop::Deactivate(Window* window) {
SetActiveWindow(to_activate, NULL);
}
+void Desktop::WindowInitialized(Window* window) {
+ FOR_EACH_OBSERVER(DesktopObserver, observers_, OnWindowInitialized(window));
+}
+
void Desktop::WindowDestroying(Window* window) {
// Update the focused window state if the window was focused.
if (focused_window_ == window)
« no previous file with comments | « ui/aura/desktop.h ('k') | ui/aura/desktop_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698