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

Unified Diff: chrome/browser/chromeos/login/lock_window_aura.cc

Issue 8771015: Rename Desktop->RootWindow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | « chrome/browser/chrome_browser_main_extra_parts_aura.cc ('k') | chrome/browser/fullscreen_aura.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/lock_window_aura.cc
===================================================================
--- chrome/browser/chromeos/login/lock_window_aura.cc (revision 113260)
+++ chrome/browser/chromeos/login/lock_window_aura.cc (working copy)
@@ -4,7 +4,7 @@
#include "chrome/browser/chromeos/login/lock_window_aura.h"
-#include "ui/aura/desktop.h"
+#include "ui/aura/root_window.h"
#include "ui/aura/window.h"
#include "ui/aura_shell/shell.h"
#include "ui/aura_shell/shell_window_ids.h"
@@ -40,7 +40,7 @@
void LockWindowAura::Init() {
views::Widget::InitParams params(
views::Widget::InitParams::TYPE_WINDOW_FRAMELESS);
- params.bounds = gfx::Rect(aura::Desktop::GetInstance()->GetHostSize());
+ params.bounds = gfx::Rect(aura::RootWindow::GetInstance()->GetHostSize());
// TODO(flackr): Use a property to specify this container rather than
// depending on shell implementation.
params.parent = aura_shell::Shell::GetInstance()->GetContainer(
« no previous file with comments | « chrome/browser/chrome_browser_main_extra_parts_aura.cc ('k') | chrome/browser/fullscreen_aura.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698