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

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

Issue 11364053: make StackingClient dispatch to either ash or desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase + disable prerender tests on win-aura 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 1ba464d137d878e458e88f19c4e25ec5314b3127..4409cd0acce12380926e716994c0e0d20607075e 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