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

Unified Diff: ui/aura/desktop/desktop_stacking_client.cc

Issue 11362216: reland of https://codereview.chromium.org/11364053/ w/o removing the per-rootwindow stacking client (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: fix dnwa Created 8 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/desktop_stacking_client.h ('k') | ui/aura/test/test_stacking_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/desktop/desktop_stacking_client.cc
diff --git a/ui/aura/desktop/desktop_stacking_client.cc b/ui/aura/desktop/desktop_stacking_client.cc
index ccc77954417ca4e1491a7b9aa739a4d437716ee2..6b79ea64cbd0a936f47da4f6e29ad030b031a223 100644
--- a/ui/aura/desktop/desktop_stacking_client.cc
+++ b/ui/aura/desktop/desktop_stacking_client.cc
@@ -17,7 +17,6 @@ namespace aura {
DesktopStackingClient::DesktopStackingClient()
: window_event_filter_(NULL) {
- client::SetStackingClient(this);
}
DesktopStackingClient::~DesktopStackingClient() {
@@ -27,7 +26,8 @@ DesktopStackingClient::~DesktopStackingClient() {
client::SetStackingClient(NULL);
}
-Window* DesktopStackingClient::GetDefaultParent(Window* window,
+Window* DesktopStackingClient::GetDefaultParent(Window* context,
+ Window* window,
const gfx::Rect& bounds) {
if (!null_parent_.get())
CreateNULLParent();
« no previous file with comments | « ui/aura/desktop/desktop_stacking_client.h ('k') | ui/aura/test/test_stacking_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698