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

Unified Diff: ui/aura/window.cc

Issue 10905290: Keep a web dialog window centered over the content area (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add constrained window flag Created 8 years, 3 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
« ui/aura/window.h ('K') | « ui/aura/window.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index ae0778dd8989658a4cf77ceb1f65fd75e8ee6233..b00fd6b7dfd2b83ebb917c27d2d9786b66590b21 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -70,7 +70,8 @@ Window::Window(WindowDelegate* delegate)
// Don't notify newly added observers during notification. This causes
// problems for code that adds an observer as part of an observer
// notification (such as the workspace code).
- observers_(ObserverList<WindowObserver>::NOTIFY_EXISTING_ONLY) {
+ observers_(ObserverList<WindowObserver>::NOTIFY_EXISTING_ONLY),
+ is_constrained_window_(false) {
set_target_handler(delegate_);
}
« ui/aura/window.h ('K') | « ui/aura/window.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698